Home
last modified time | relevance | path

Searched refs:isItalic (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DFontFamily.java186 boolean isAsset, int ttcIndex, int weight, int isItalic, in addFontFromAssetManager() argument
197 isItalic); in addFontFromAssetManager()
218 int weight, int isItalic); in nAddFont() argument
220 int ttcIndex, int weight, int isItalic); in nAddFontWeightStyle() argument
222 String path, int cookie, boolean isAsset, int ttcIndex, int weight, int isItalic); in nAddFontFromAssetManager() argument
DFontListParser.java123 boolean isItalic = "italic".equals(parser.getAttributeValue(null, "style")); in readFont()
140 new FontVariationAxis[axes.size()]), weight, isItalic, fallbackFor); in readFont()
DTypeface.java209 public final boolean isItalic() { in isItalic() method in Typeface
/frameworks/layoutlib/bridge/src/android/graphics/
DFontFamily_Delegate.java208 public Font getFont(int desiredWeight, boolean isItalic) { in getFont() argument
211 desiredStyle.mIsItalic = isItalic; in getFont()
342 int weight, int isItalic) {
349 int ttcIndex, int weight, int isItalic) {
360 final boolean isItalic) {
362 int italic = isItalic ? 1 : 0;
375 int cookie, boolean isAsset, int ttcIndex, int weight, int isItalic) {
421 if (isItalic == RESOLVE_BY_FONT_TABLE) {
425 fontInfo.mIsItalic = isItalic == 1;
505 fontInfo.mIsItalic = italic == RESOLVE_BY_FONT_TABLE ? font.isItalic() : italic == 1;
DTypeface_Delegate.java302 /*package*/ static Typeface create(Typeface family, int style, boolean isItalic) { in create() argument
303 return Typeface.create_Original(family, style, isItalic); in create()
339 private final boolean isItalic; field in Typeface_Delegate.FontsIterator
351 this.isItalic = (style & Font.ITALIC) != 0; in FontsIterator()
372 font = ffd.getFont(weight, isItalic); in next()
379 font = ffd.getFont(weight, isItalic); in next()
403 return ffd2.getFont(weight, isItalic); in next()
409 return ffd2.getFont(weight, isItalic); in next()
/frameworks/base/core/jni/android/graphics/
DFontFamily.cpp172 jint ttcIndex, jint weight, jint isItalic) { in FontFamily_addFont() argument
190 return addSkTypeface(builder, std::move(data), ttcIndex, weight, isItalic); in FontFamily_addFont()
194 jobject font, jint ttcIndex, jint weight, jint isItalic) { in FontFamily_addFontWeightStyle() argument
212 return addSkTypeface(builder, std::move(data), ttcIndex, weight, isItalic); in FontFamily_addFontWeightStyle()
221 jint weight, jint isItalic) { in FontFamily_addFontFromAssetManager() argument
265 return addSkTypeface(builder, std::move(data), ttcIndex, weight, isItalic); in FontFamily_addFontFromAssetManager()
/frameworks/base/media/java/android/media/
DTimedText.java198 public final boolean isItalic; field in TimedText.Style
228 boolean isBold, boolean isItalic, boolean isUnderlined, in Style() argument
234 this.isItalic = isItalic; in Style()
549 boolean isItalic = false; in readStyle()
573 isItalic = ((flags % 4) >= 2); in readStyle()
596 isItalic, isUnderlined, fontSize, colorRGBA); in readStyle()
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractTest.java89 assertEquals(TestFontsProvider.ITALIC, font.isItalic()); in testGetFontFromProvider_resultOK()
105 assertFalse(font.isItalic()); in testGetFontFromProvider_providerDoesntReturnAllFields()
138 assertEquals(TestFontsProvider.ITALIC, font.isItalic()); in testGetFontFromProvider_resultFontUnavailable()
158 assertEquals(TestFontsProvider.ITALIC, font.isItalic()); in testGetFontFromProvider_resultMalformedQuery()
182 assertFalse(font.isItalic()); in testGetFontFromProvider_resultFontNotFoundSecondRow()
190 assertFalse(font.isItalic()); in testGetFontFromProvider_resultFontNotFoundSecondRow()
215 assertFalse(font.isItalic()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
223 assertFalse(font.isItalic()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
231 assertFalse(font.isItalic()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
/frameworks/base/core/java/android/text/
DFontConfig.java75 int weight, boolean isItalic, String fallbackFor) { in Font() argument
80 mIsItalic = isItalic; in Font()
119 public boolean isItalic() { in isItalic() method in FontConfig.Font
/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DFontFamily_Builder_Delegate.java115 public Font getFont(int desiredWeight, boolean isItalic) {
118 desiredStyle.mIsItalic = isItalic;
/frameworks/base/core/tests/coretests/src/android/graphics/
DTypefaceTest.java148 assertEquals(italic, result.isItalic()); in testMultithreadCacheStressTest()
/frameworks/base/core/java/android/provider/
DFontsContract.java238 public boolean isItalic() { in isItalic() method in FontsContract.FontInfo
646 .setSlant(fontInfo.isItalic() in buildTypeface()
/frameworks/base/graphics/java/android/graphics/fonts/
DSystemFonts.java195 .setSlant(fontConfig.isItalic() ? FontStyle.FONT_SLANT_ITALIC in createFontFamily()
/frameworks/base/non-updatable-api/
Dcurrent.txt15153 method public final boolean isItalic();
38521 method public boolean isItalic();
/frameworks/base/api/
Dcurrent.txt15153 method public final boolean isItalic();
38665 method public boolean isItalic();
/frameworks/base/config/
Dboot-image-profile.txt12737 HSPLandroid/provider/FontsContract$FontInfo;->isItalic()Z
Dhiddenapi-greylist-max-o.txt40860 Landroid/media/TimedText$Style;->isItalic:Z
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt11543 method public final boolean isItalic();