Searched refs:typeface (Results 1 – 6 of 6) sorted by relevance
83 Typeface typeface = createTypeface(Typeface.BOLD); in testIsBold() local84 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 …]
415 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 …]
55 final Typeface typeface = Typeface.create(family, style); in fontTestBody() local62 p.setTypeface(typeface); in fontTestBody()
111 public void onTypefaceRetrieved(Typeface typeface) { in onTypefaceRetrieved() argument113 mTypeface = typeface; in onTypefaceRetrieved()
3490 Typeface typeface = Typeface.createFromAsset(context.getAssets(), "multiaxis.ttf"); in testSetGetFontVariationSettings() local3491 mTextView.setTypeface(typeface); in testSetGetFontVariationSettings()
1286 public static final int typeface110536 public static final int typeface