Loading graphics/java/android/graphics/Typeface.java +9 −0 Original line number Diff line number Diff line Loading @@ -882,6 +882,15 @@ public class Typeface { ptrArray, RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE)); } /** * This method is used by supportlib-v27. * TODO: Remove private API use in supportlib: http://b/72665240 */ private static Typeface createFromFamiliesWithDefault(FontFamily[] families, int weight, int italic) { return createFromFamiliesWithDefault(families, DEFAULT_FAMILY, weight, italic); } /** * Create a new typeface from an array of font families, including * also the font families in the fallback list. Loading Loading
graphics/java/android/graphics/Typeface.java +9 −0 Original line number Diff line number Diff line Loading @@ -882,6 +882,15 @@ public class Typeface { ptrArray, RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE)); } /** * This method is used by supportlib-v27. * TODO: Remove private API use in supportlib: http://b/72665240 */ private static Typeface createFromFamiliesWithDefault(FontFamily[] families, int weight, int italic) { return createFromFamiliesWithDefault(families, DEFAULT_FAMILY, weight, italic); } /** * Create a new typeface from an array of font families, including * also the font families in the fallback list. Loading