Home
last modified time | relevance | path

Searched refs:FONT_SLANT_UPRIGHT (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/graphics/
DFontListParserTest.java20 import static android.graphics.fonts.FontStyle.FONT_SLANT_UPRIGHT;
71 new FontStyle(FONT_WEIGHT_NORMAL, FONT_SLANT_UPRIGHT), 0, "", null, in named()
88 new FontStyle(FONT_WEIGHT_NORMAL, FONT_SLANT_UPRIGHT), in fallback()
91 new FontStyle(FONT_WEIGHT_NORMAL, FONT_SLANT_UPRIGHT), in fallback()
108 new FontStyle(FONT_WEIGHT_NORMAL, FONT_SLANT_UPRIGHT), in compact()
125 new FontStyle(FONT_WEIGHT_NORMAL, FONT_SLANT_UPRIGHT), in elegant()
144 new FontStyle(FONT_WEIGHT_NORMAL, FONT_SLANT_UPRIGHT), 0, "", null, in styles()
147 new FontStyle(100, FONT_SLANT_UPRIGHT), 0, "", null, in styles()
173 new FontStyle(FONT_WEIGHT_NORMAL, FONT_SLANT_UPRIGHT), in variable()
177 new FontStyle(FONT_WEIGHT_NORMAL, FONT_SLANT_UPRIGHT), in variable()
[all …]
/frameworks/base/graphics/java/android/graphics/fonts/
DFontStyle.java112 public static final int FONT_SLANT_UPRIGHT = 0; field in FontStyle
123 FONT_SLANT_UPRIGHT,
135 mSlant = FONT_SLANT_UPRIGHT; in FontStyle()
214 Preconditions.checkArgument(slant == FONT_SLANT_UPRIGHT || slant == FONT_SLANT_ITALIC, in FontStyle()
DFont.java404 mItalic = slant == FontStyle.FONT_SLANT_UPRIGHT ? STYLE_NORMAL : STYLE_ITALIC; in setSlant()
470 ? FontStyle.FONT_SLANT_ITALIC : FontStyle.FONT_SLANT_UPRIGHT; in build()
599 ? FontStyle.FONT_SLANT_ITALIC : FontStyle.FONT_SLANT_UPRIGHT); in getStyle()
/frameworks/base/tests/UpdatableSystemFontTest/src/com/android/updatablesystemfont/
DUpdatableSystemFontTest.java19 import static android.graphics.fonts.FontStyle.FONT_SLANT_UPRIGHT;
398 new FontStyle(FONT_WEIGHT_NORMAL, FONT_SLANT_UPRIGHT)).build(), in updateNotoSerifAs()
400 new FontStyle(FONT_WEIGHT_BOLD, FONT_SLANT_UPRIGHT)).build()); in updateNotoSerifAs()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java352 ? FontStyle.FONT_SLANT_ITALIC : FontStyle.FONT_SLANT_UPRIGHT); in createFromResources()
366 FontStyle.FONT_SLANT_UPRIGHT); in createFromResources()
555 mItalic = italic ? FontStyle.FONT_SLANT_ITALIC : FontStyle.FONT_SLANT_UPRIGHT; in setItalic()
881 (mStyle == null || mStyle.getSlant() == FontStyle.FONT_SLANT_UPRIGHT) ? 0 : 1;
DFontListParser.java440 isItalic ? FontStyle.FONT_SLANT_ITALIC : FontStyle.FONT_SLANT_UPRIGHT in readFont()
/frameworks/base/core/java/android/provider/
DFontsContract.java678 ? FontStyle.FONT_SLANT_ITALIC : FontStyle.FONT_SLANT_UPRIGHT) in buildTypeface()
702 FontStyle.FONT_SLANT_UPRIGHT); in buildTypeface()
/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/
DUpdatableFontDirTest.java335 new FontStyle(400, FontStyle.FONT_SLANT_UPRIGHT), 0, null, null, in construct_olderThanPreinstalledFont()
339 new FontStyle(400, FontStyle.FONT_SLANT_UPRIGHT), 0, null, null, in construct_olderThanPreinstalledFont()
503 file, null, "bar", new FontStyle(400, FontStyle.FONT_SLANT_UPRIGHT), in installFontFile_systemFontHasPSNameDifferentFromFileName()
657 file, null, "test", new FontStyle(400, FontStyle.FONT_SLANT_UPRIGHT), 0, null, in installFontFile_preinstalled_downgrade()
/frameworks/base/core/java/android/graphics/fonts/
DFontUpdateRequest.java155 int slant = getAttributeValueInt(parser, ATTR_SLANT, FontStyle.FONT_SLANT_UPRIGHT); in readFromXml()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt17995 field public static final int FONT_SLANT_UPRIGHT = 0; // 0x0