Searched refs:RESOLVE_BY_FONT_TABLE (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 155 public static final int RESOLVE_BY_FONT_TABLE = -1; field in Typeface 199 RESOLVE_BY_FONT_TABLE /* weight */, RESOLVE_BY_FONT_TABLE /* italic */, in createFromResources() 207 0 /* ttcIndex */, RESOLVE_BY_FONT_TABLE /* weight */, in createFromResources() 208 RESOLVE_BY_FONT_TABLE /* italic */, null /* axes */)) { in createFromResources() 214 RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE); in createFromResources() 272 RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE); in createFromResources() 275 null /* axes */, RESOLVE_BY_FONT_TABLE /* weight */, in createFromResources() 276 RESOLVE_BY_FONT_TABLE /* italic */, DEFAULT_FAMILY); in createFromResources() 289 RESOLVE_BY_FONT_TABLE /* weight */, RESOLVE_BY_FONT_TABLE /* italic */, in findFromCache() 351 private int mWeight = RESOLVE_BY_FONT_TABLE; [all …]
|
/frameworks/support/compat/src/main/java/androidx/core/graphics/ |
D | TypefaceCompatApi28Impl.java | 41 private static final int RESOLVE_BY_FONT_TABLE = -1; field in TypefaceCompatApi28Impl 54 familyArray, DEFAULT_FAMILY, RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE); in createFromFamiliesWithDefault()
|
D | TypefaceCompatApi26Impl.java | 64 private static final int RESOLVE_BY_FONT_TABLE = -1; field in TypefaceCompatApi26Impl 173 familyArray, RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE); in createFromFamiliesWithDefault() 289 0 /* ttcIndex */, RESOLVE_BY_FONT_TABLE /* weight */, in createFromResourcesFontFile() 290 RESOLVE_BY_FONT_TABLE /* italic */, null /* axes */)) { in createFromResourcesFontFile()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 70 makeSingleFamlyVector(kRobotoRegular), RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE)); in TEST() 392 makeSingleFamlyVector(kRobotoRegular), RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE)); in TEST() 399 makeSingleFamlyVector(kRobotoBold), RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE)); in TEST() 406 makeSingleFamlyVector(kRobotoItalic), RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE)); in TEST() 414 RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE)); in TEST() 425 std::move(families), RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE)); in TEST() 434 std::move(families), RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE)); in TEST()
|
/frameworks/base/libs/hwui/hwui/ |
D | Typeface.cpp | 130 if (weight == RESOLVE_BY_FONT_TABLE || italic == RESOLVE_BY_FONT_TABLE) { in createFromFamilies() 148 if (weight == RESOLVE_BY_FONT_TABLE) { in createFromFamilies() 151 if (italic == RESOLVE_BY_FONT_TABLE) { in createFromFamilies()
|
D | Typeface.h | 31 constexpr int RESOLVE_BY_FONT_TABLE = -1; variable
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | FontFamily_Delegate.java | 48 import static android.graphics.Typeface.RESOLVE_BY_FONT_TABLE; 408 if (weight == RESOLVE_BY_FONT_TABLE) { 413 fontInfo.mIsItalic = isItalic == RESOLVE_BY_FONT_TABLE ? font.isItalic() : 473 … addFont(path, DEFAULT_FONT_WEIGHT, path.endsWith(FONT_SUFFIX_ITALIC) ? 1 : RESOLVE_BY_FONT_TABLE); 490 fontInfo.mIsItalic = italic == RESOLVE_BY_FONT_TABLE ? font.isItalic() : italic == 1;
|
D | Typeface_Delegate.java | 186 if (weight == Typeface.RESOLVE_BY_FONT_TABLE) { in nativeCreateFromArray() 189 if (italic == Typeface.RESOLVE_BY_FONT_TABLE) { in nativeCreateFromArray()
|
/frameworks/base/core/java/android/content/res/ |
D | FontResourcesParser.java | 217 Typeface.RESOLVE_BY_FONT_TABLE); in readFont() 219 Typeface.RESOLVE_BY_FONT_TABLE); in readFont()
|
/frameworks/base/core/jni/android/graphics/ |
D | FontFamily.cpp | 136 if (weight != RESOLVE_BY_FONT_TABLE) { in addSkTypeface() 139 if (italic != RESOLVE_BY_FONT_TABLE) { in addSkTypeface()
|