Searched refs:SERIF (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/graphics/
H A DTypefaceTest.java47 Typeface.create(Typeface.SERIF, 0),
48 Typeface.create(Typeface.SERIF, 1),
49 Typeface.create(Typeface.SERIF, 2),
50 Typeface.create(Typeface.SERIF, 3),
60 assertTrue("basic", Typeface.SERIF != null);
119 Typeface.SERIF,
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/
H A DAppCompatTextViewTest.java321 assertEquals(Typeface.SERIF, textView.getTypeface());
339 assertEquals(Typeface.SERIF, textView.getTypeface());
356 assertEquals(Typeface.SERIF, textView.getTypeface());
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DAppCompatTextHelper.java46 private static final int SERIF = 2; field in class:AppCompatTextHelper
284 case SERIF:
285 mFontTypeface = Typeface.SERIF;
H A DSwitchCompat.java95 private static final int SERIF = 2; field in class:SwitchCompat
342 case SERIF:
343 tf = Typeface.SERIF;
/frameworks/layoutlib/bridge/src/android/graphics/
H A DBidiRenderer.java325 return Font.getFont(Font.SERIF);
/frameworks/base/core/java/android/widget/
H A DSwitch.java93 private static final int SERIF = 2; field in class:Switch
361 case SERIF:
362 tf = Typeface.SERIF;
H A DTextView.java330 @IntDef(value = {DEFAULT_TYPEFACE, SANS, SERIF, MONOSPACE})
335 private static final int SERIF = 2; field in class:TextView
1998 * @param typefaceIndex an index of the typeface enum, e.g. SANS, SERIF.
2016 case SERIF:
2017 resolveStyleAndSetTypeface(Typeface.SERIF, style, weight);
/frameworks/base/graphics/java/android/graphics/
H A DTypeface.java92 public static final Typeface SERIF; field in class:Typeface
1145 SERIF = create("serif", 0);

Completed in 350 milliseconds