Home
last modified time | relevance | path

Searched refs:typeface (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DTypefaceTest.java83 Typeface typeface = createTypeface(Typeface.BOLD); in testIsBold() local
84 if (typeface != null) { in testIsBold()
85 assertEquals(Typeface.BOLD, typeface.getStyle()); in testIsBold()
86 assertTrue(typeface.isBold()); in testIsBold()
87 assertFalse(typeface.isItalic()); in testIsBold()
90 typeface = createTypeface(Typeface.ITALIC); in testIsBold()
91 if (typeface != null) { in testIsBold()
92 assertEquals(Typeface.ITALIC, typeface.getStyle()); in testIsBold()
93 assertFalse(typeface.isBold()); in testIsBold()
94 assertTrue(typeface.isItalic()); in testIsBold()
[all …]
DPaintTest.java415 for (Typeface typeface : TYPEFACES) { in testGetFontSpacing()
416 p.setTypeface(typeface); in testGetFontSpacing()
493 for (Typeface typeface : TYPEFACES) { in testAscent()
494 p.setTypeface(typeface); in testAscent()
764 for (Typeface typeface : TYPEFACES) {
765 p.setTypeface(typeface);
783 for (Typeface typeface : TYPEFACES) {
784 p.setTypeface(typeface);
844 for (Typeface typeface : TYPEFACES) {
845 p.setTypeface(typeface);
[all …]
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DFontRenderingTests.java55 final Typeface typeface = Typeface.create(family, style); in fontTestBody() local
62 p.setTypeface(typeface); in fontTestBody()
/cts/tests/tests/provider/src/android/provider/cts/
DFontsContractTest.java111 public void onTypefaceRetrieved(Typeface typeface) { in onTypefaceRetrieved() argument
113 mTypeface = typeface; in onTypefaceRetrieved()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java3490 Typeface typeface = Typeface.createFromAsset(context.getAssets(), "multiaxis.ttf"); in testSetGetFontVariationSettings() local
3491 mTextView.setTypeface(typeface); in testSetGetFontVariationSettings()
/cts/tools/dex-tools/dex/
Dclasses.out.dex1286 public static final int typeface
110536 public static final int typeface