Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/
DTypefaceTest.java69 private static float measureText(String text, Typeface typeface) { in measureText()
113 Typeface typeface = createTypeface(Typeface.BOLD); in testIsBold() local
180 Typeface typeface = Typeface.create(DEFAULT, Typeface.NORMAL); in testCreate() local
195 Typeface typeface = Typeface.defaultFromStyle(Typeface.NORMAL); in testDefaultFromStyle() local
234 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), in testCreateFromAsset() local
248 Typeface typeface = Typeface.createFromFile(file); in testCreateFromFileByFileReference() local
272 Typeface typeface = Typeface.createFromFile(obtainPath()); in testCreateFromFileByFileName() local
299 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), in testInvalidCmapFont() local
310 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), in testInvalidCmapFont2() local
330 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/text/src/android/text/cts/
DBoringLayoutFallbackLineSpacingTest.java55 Typeface typeface = new Typeface.CustomFallbackBuilder( in testFallbackSpacing_Metrics() local
89 Typeface typeface = new Typeface.CustomFallbackBuilder( in testFallbackSpacing_Layout() local
DStaticLayoutFallbackLineSpacingTest.java52 Typeface typeface = new Typeface.CustomFallbackBuilder( in testFallbackSpacing() local
DFallbackLineSpacingTest.java50 Typeface typeface = new Typeface.CustomFallbackBuilder( in testFallbackSpacing() local
DTextRunAdvancesTest.java40 Typeface typeface = Typeface.createFromAsset(am, "fonts/textrunadvances.ttf"); in getPaint() local
DPrecomputedTextTest.java785 Typeface typeface = new Typeface.CustomFallbackBuilder( in getTestPaint() 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/uirendering/src/android/uirendering/cts/testclasses/
DPathTests.java38 Typeface typeface = paint.getTypeface(); in testTextPathWithOffset() local
DFontRenderingTests.java58 final Typeface typeface = Typeface.create(family, style); in fontTestBody() local
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewFontWeightTest.java103 Typeface typeface = tv.getTypeface(); in assertFontSelected() local
DTextViewHandwritingGestureTest.java115 Typeface typeface = Typeface.createFromAsset( in setup() local
DTextViewTest.java3778 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/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.java201 Typeface typeface = Typeface.createFromAsset(am, "fonts/measurement/bbox.ttf"); in testGetBounds_RTL() local
/cts/tests/tests/content/src/android/content/res/cts/
DResourcesTest.java1169 Typeface typeface = mResources.getFont(R.font.sample_downloadable_font); in testSystemFontFamilyReturnsSystemFont() local