Searched defs:typeface (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | TypefaceTest.java | 61 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 …]
|
D | TypefaceCustomFallbackBuilderTest.java | 115 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/ |
D | FontTestUtil.java | 223 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/ |
D | TextViewFontWeightTest.java | 103 Typeface typeface = tv.getTypeface(); in assertFontSelected() local
|
D | TextViewTest.java | 3603 Typeface typeface = Typeface.createFromAsset(context.getAssets(), "multiaxis.ttf"); in testSetGetFontVariationSettings() local
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | TypefaceSpanTest.java | 41 Typeface typeface = Typeface.create(FAMILY, Typeface.BOLD); in testConstructorFromTypeface() local
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | FontRenderingTests.java | 56 final Typeface typeface = Typeface.create(family, style); in fontTestBody() local
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | FontsContractTest.java | 110 public void onTypefaceRetrieved(Typeface typeface) { in onTypefaceRetrieved()
|