Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/
DTypefaceTest.java66 private static float measureText(String text, Typeface typeface) { in measureText()
110 Typeface typeface = createTypeface(Typeface.BOLD); in testIsBold() local
141 Typeface typeface = Typeface.create(DEFAULT, Typeface.NORMAL); in testCreate() local
156 Typeface typeface = Typeface.defaultFromStyle(Typeface.NORMAL); in testDefaultFromStyle() local
195 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), in testCreateFromAsset() local
209 Typeface typeface = Typeface.createFromFile(file); in testCreateFromFileByFileReference() local
233 Typeface typeface = Typeface.createFromFile(obtainPath()); in testCreateFromFileByFileName() local
260 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), in testInvalidCmapFont() local
271 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), in testInvalidCmapFont2() local
291 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
DPaint_TextBoundsTest.java65 Typeface typeface = Typeface.createFromAsset(am, "fonts/measurement/bbox.ttf"); in getPaint() 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()
DFontTest.java1182 Typeface typeface = new Typeface.CustomFallbackBuilder( in fontIdentifier() local
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewFontWeightTest.java103 Typeface typeface = tv.getTypeface(); in assertFontSelected() local
DTextViewTest.java3743 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()
/cts/tests/tests/graphics/src/android/graphics/text/cts/
DTextRunShaperTest.java190 Typeface typeface = new Typeface.CustomFallbackBuilder( in shapeText_FontCreateFromNative() local
DMeasuredTextTest.java194 Typeface typeface = Typeface.createFromAsset(am, "fonts/measurement/bbox.ttf"); in testGetBounds_RTL() local
/cts/tests/tests/content/src/android/content/res/cts/
DResourcesTest.java1043 Typeface typeface = mResources.getFont(R.font.sample_downloadable_font); in testSystemFontFamilyReturnsSystemFont() local