Home
last modified time | relevance | path

Searched defs:typeface (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DTypefaceTest.java61 private static float measureText(String text, Typeface typeface) { in measureText()
105 Typeface typeface = createTypeface(Typeface.BOLD); in testIsBold() local
136 Typeface typeface = Typeface.create(DEFAULT, Typeface.NORMAL); in testCreate() local
151 Typeface typeface = Typeface.defaultFromStyle(Typeface.NORMAL); in testDefaultFromStyle() local
190 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), in testCreateFromAsset() local
204 Typeface typeface = Typeface.createFromFile(file); in testCreateFromFileByFileReference() local
228 Typeface typeface = Typeface.createFromFile(obtainPath()); in testCreateFromFileByFileName() local
255 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), in testInvalidCmapFont() local
266 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), in testInvalidCmapFont2() local
286 final Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), file); in testInvalidCmapFont_tooLargeCodePoints() local
[all …]
DTypefaceCustomFallbackBuilderTest.java115 final Typeface typeface = createFullFamilyTypeface(); in testFamily_defaultStyle() local
123 final Typeface typeface = createFullFamilyTypeface(); in testFamily_selectStyle() local
149 final Typeface typeface = new Typeface.CustomFallbackBuilder(b.build()) in testFamily_selectStyleByBuilder() local
166 final Typeface typeface = new Typeface.CustomFallbackBuilder(b.build()).build(); in testFamily_closestDefault() local
187 final Typeface typeface = new Typeface.CustomFallbackBuilder(baseFamily) in testUserFallback() local
244 final Typeface typeface = new Typeface.CustomFallbackBuilder(baseFamily) in testUserFallbackOverLocaleFallback() local
/cts/tests/tests/graphics/src/android/graphics/fonts/
DFontTestUtil.java223 private static float measureChar(Typeface typeface, char c) { in measureChar()
299 private static int getSelectedFontStyle(Typeface typeface) { in getSelectedFontStyle()
316 public static Pair<Integer, Boolean> getSelectedStyle(Typeface typeface) { in getSelectedStyle()
326 public static String getSelectedFontPathInAsset(Typeface typeface) { in getSelectedFontPathInAsset()
336 public static int getSelectedTtcIndex(Typeface typeface) { in getSelectedTtcIndex()
346 public static String getSelectedVariationSettings(Typeface typeface) { in getSelectedVariationSettings()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewFontWeightTest.java103 Typeface typeface = tv.getTypeface(); in assertFontSelected() local
DTextViewTest.java3603 Typeface typeface = Typeface.createFromAsset(context.getAssets(), "multiaxis.ttf"); in testSetGetFontVariationSettings() local
/cts/tests/tests/text/src/android/text/style/cts/
DTypefaceSpanTest.java41 Typeface typeface = Typeface.create(FAMILY, Typeface.BOLD); in testConstructorFromTypeface() local
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DFontRenderingTests.java56 final Typeface typeface = Typeface.create(family, style); in fontTestBody() local
/cts/tests/tests/provider/src/android/provider/cts/
DFontsContractTest.java110 public void onTypefaceRetrieved(Typeface typeface) { in onTypefaceRetrieved()