Searched refs:RESOLVE_BY_FONT_TABLE (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 172 public static final int RESOLVE_BY_FONT_TABLE = -1; field in Typeface 256 if (fontFile.getWeight() != Typeface.RESOLVE_BY_FONT_TABLE) { in createFromResources() 259 if (fontFile.getItalic() != Typeface.RESOLVE_BY_FONT_TABLE) { in createFromResources() 298 null /* axes */, RESOLVE_BY_FONT_TABLE /* weight */, in createFromResources() 299 RESOLVE_BY_FONT_TABLE /* italic */, DEFAULT_FAMILY); in createFromResources() 312 RESOLVE_BY_FONT_TABLE /* weight */, RESOLVE_BY_FONT_TABLE /* italic */, in findFromCache() 370 private int mWeight = RESOLVE_BY_FONT_TABLE; 371 private int mItalic = RESOLVE_BY_FONT_TABLE; 576 if (mWeight == RESOLVE_BY_FONT_TABLE && mItalic == RESOLVE_BY_FONT_TABLE) { in resolveFallbackTypeface() 580 final int weight = (mWeight == RESOLVE_BY_FONT_TABLE) ? base.mWeight : mWeight; in resolveFallbackTypeface() [all …]
|
/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 71 makeSingleFamlyVector(kRobotoRegular), RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE)); in TEST() 393 makeSingleFamlyVector(kRobotoRegular), RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE)); in TEST() 400 makeSingleFamlyVector(kRobotoBold), RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE)); in TEST() 407 makeSingleFamlyVector(kRobotoItalic), RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE)); in TEST() 415 RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE)); in TEST() 426 std::move(families), RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE)); in TEST() 435 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() 150 if (weight == RESOLVE_BY_FONT_TABLE) { in createFromFamilies() 153 if (italic == RESOLVE_BY_FONT_TABLE) { in createFromFamilies()
|
D | Typeface.h | 31 constexpr int RESOLVE_BY_FONT_TABLE = -1; variable
|
/frameworks/base/core/java/android/content/res/ |
D | FontResourcesParser.java | 79 public static final int RESOLVE_BY_FONT_TABLE = Typeface.RESOLVE_BY_FONT_TABLE; field in FontResourcesParser.FontFileResourceEntry 221 Typeface.RESOLVE_BY_FONT_TABLE); in readFont() 223 FontFileResourceEntry.RESOLVE_BY_FONT_TABLE); in readFont()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | FontFamily_Delegate.java | 52 import static android.graphics.Typeface.RESOLVE_BY_FONT_TABLE; 416 if (weight == RESOLVE_BY_FONT_TABLE) { 421 if (isItalic == RESOLVE_BY_FONT_TABLE) { 487 … addFont(path, DEFAULT_FONT_WEIGHT, path.endsWith(FONT_SUFFIX_ITALIC) ? 1 : RESOLVE_BY_FONT_TABLE); 505 fontInfo.mIsItalic = italic == RESOLVE_BY_FONT_TABLE ? font.isItalic() : italic == 1;
|
D | Typeface_Delegate.java | 185 if (weight == Typeface.RESOLVE_BY_FONT_TABLE) { in nativeCreateFromArray() 188 if (italic == Typeface.RESOLVE_BY_FONT_TABLE) { in nativeCreateFromArray()
|
/frameworks/base/core/jni/android/graphics/ |
D | FontFamily.cpp | 137 if (weight != RESOLVE_BY_FONT_TABLE) { in addSkTypeface() 140 if (italic != RESOLVE_BY_FONT_TABLE) { in addSkTypeface()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | Bridge.java | 68 import static android.graphics.Typeface.RESOLVE_BY_FONT_TABLE; 689 0, null, RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE, DEFAULT_FAMILY); in clearFontCache()
|