Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp77 makeSingleFamlyVector(kRobotoVariable), RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE, in TEST()
400 Typeface::createFromFamilies(makeSingleFamlyVector(kRegularFont), RESOLVE_BY_FONT_TABLE, in TEST()
401 RESOLVE_BY_FONT_TABLE, nullptr /* fallback */)); in TEST()
408 Typeface::createFromFamilies(makeSingleFamlyVector(kBoldFont), RESOLVE_BY_FONT_TABLE, in TEST()
409 RESOLVE_BY_FONT_TABLE, nullptr /* fallback */)); in TEST()
416 Typeface::createFromFamilies(makeSingleFamlyVector(kItalicFont), RESOLVE_BY_FONT_TABLE, in TEST()
417 RESOLVE_BY_FONT_TABLE, nullptr /* fallback */)); in TEST()
424 makeSingleFamlyVector(kBoldItalicFont), RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE, in TEST()
436 Typeface::createFromFamilies(std::move(families), RESOLVE_BY_FONT_TABLE, in TEST()
437 RESOLVE_BY_FONT_TABLE, nullptr /* fallback */)); in TEST()
[all …]
DUnderlineTest.cpp86 RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE, nullptr /* fallback */); in makeTypeface()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java222 public static final int RESOLVE_BY_FONT_TABLE = -1; field in Typeface
347 if (fontFile.getWeight() != Typeface.RESOLVE_BY_FONT_TABLE) { in createFromResources()
350 if (fontFile.getItalic() != Typeface.RESOLVE_BY_FONT_TABLE) { in createFromResources()
389 null /* axes */, RESOLVE_BY_FONT_TABLE /* weight */, in createFromResources()
390 RESOLVE_BY_FONT_TABLE /* italic */, DEFAULT_FAMILY); in createFromResources()
403 RESOLVE_BY_FONT_TABLE /* weight */, RESOLVE_BY_FONT_TABLE /* italic */, in findFromCache()
461 private int mWeight = RESOLVE_BY_FONT_TABLE;
462 private int mItalic = RESOLVE_BY_FONT_TABLE;
667 if (mWeight == RESOLVE_BY_FONT_TABLE && mItalic == RESOLVE_BY_FONT_TABLE) { in resolveFallbackTypeface()
671 final int weight = (mWeight == RESOLVE_BY_FONT_TABLE) ? base.mWeight : mWeight; in resolveFallbackTypeface()
[all …]
/frameworks/base/libs/hwui/hwui/
DTypeface.cpp138 if (weight == RESOLVE_BY_FONT_TABLE || italic == RESOLVE_BY_FONT_TABLE) { in createFromFamilies()
157 if (weight == RESOLVE_BY_FONT_TABLE) { in createFromFamilies()
160 if (italic == RESOLVE_BY_FONT_TABLE) { in createFromFamilies()
DTypeface.h31 constexpr int RESOLVE_BY_FONT_TABLE = -1; variable
/frameworks/base/core/java/android/content/res/
DFontResourcesParser.java86 public static final int RESOLVE_BY_FONT_TABLE = Typeface.RESOLVE_BY_FONT_TABLE; field in FontResourcesParser.FontFileResourceEntry
237 Typeface.RESOLVE_BY_FONT_TABLE); in readFont()
239 FontFileResourceEntry.RESOLVE_BY_FONT_TABLE); in readFont()
/frameworks/base/libs/hwui/jni/
DFontFamily.cpp141 if (weight != RESOLVE_BY_FONT_TABLE) { in addSkTypeface()
144 if (italic != RESOLVE_BY_FONT_TABLE) { in addSkTypeface()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java82 import static android.graphics.Typeface.RESOLVE_BY_FONT_TABLE;
833 0, null, RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE, DEFAULT_FAMILY); in clearFontCache()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt18490 Landroid/graphics/Typeface;->RESOLVE_BY_FONT_TABLE:I