Home
last modified time | relevance | path

Searched refs:RESOLVE_BY_FONT_TABLE (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DTypeface.java155 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/
DTypefaceCompatApi28Impl.java41 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()
DTypefaceCompatApi26Impl.java64 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/
DTypefaceTests.cpp70 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/
DTypeface.cpp130 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()
DTypeface.h31 constexpr int RESOLVE_BY_FONT_TABLE = -1; variable
/frameworks/layoutlib/bridge/src/android/graphics/
DFontFamily_Delegate.java48 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;
DTypeface_Delegate.java186 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/
DFontResourcesParser.java217 Typeface.RESOLVE_BY_FONT_TABLE); in readFont()
219 Typeface.RESOLVE_BY_FONT_TABLE); in readFont()
/frameworks/base/core/jni/android/graphics/
DFontFamily.cpp136 if (weight != RESOLVE_BY_FONT_TABLE) { in addSkTypeface()
139 if (italic != RESOLVE_BY_FONT_TABLE) { in addSkTypeface()