Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java303 /*package*/ static Typeface create(Typeface family, int style, boolean isItalic) { in create() argument
304 return Typeface.create_Original(family, style, isItalic); in create()
340 private final boolean isItalic; field in Typeface_Delegate.FontsIterator
352 this.isItalic = (style & Font.ITALIC) != 0; in FontsIterator()
373 font = ffd.getFont(weight, isItalic); in next()
380 font = ffd.getFont(weight, isItalic); in next()
404 return ffd2.getFont(weight, isItalic); in next()
410 return ffd2.getFont(weight, isItalic); in next()
DFontFamily_Delegate.java202 public Font getFont(int desiredWeight, boolean isItalic) { in getFont() argument
205 desiredStyle.mIsItalic = isItalic; in getFont()
336 int weight, int isItalic) {
343 int ttcIndex, int weight, int isItalic) {
354 final boolean isItalic) {
356 int italic = isItalic ? 1 : 0;
411 fontInfo.mIsItalic = italic == RESOLVE_BY_FONT_TABLE ? font.isItalic() : italic == 1;
/frameworks/base/graphics/java/android/graphics/
DFontFamily.java194 boolean isAsset, int ttcIndex, int weight, int isItalic, in addFontFromAssetManager() argument
202 return addFontFromBuffer(buffer, ttcIndex, axes, weight, isItalic); in addFontFromAssetManager()
221 int weight, int isItalic); in nAddFont() argument
223 int ttcIndex, int weight, int isItalic); in nAddFontWeightStyle() argument
DFontListParser.java230 boolean isItalic = STYLE_ITALIC.equals(parser.getAttributeValue(null, ATTR_STYLE)); in readFont()
284 isItalic ? FontStyle.FONT_SLANT_ITALIC : FontStyle.FONT_SLANT_UPRIGHT in readFont()
DTypeface.java268 public final boolean isItalic() { in isItalic() method in Typeface
/frameworks/base/media/java/android/media/
DTimedText.java199 public final boolean isItalic; field in TimedText.Style
229 boolean isBold, boolean isItalic, boolean isUnderlined, in Style() argument
235 this.isItalic = isItalic; in Style()
550 boolean isItalic = false; in readStyle()
574 isItalic = ((flags % 4) >= 2); in readStyle()
597 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/libs/hwui/jni/
DFontFamily.cpp170 jint ttcIndex, jint weight, jint isItalic) { in FontFamily_addFont() argument
188 return addSkTypeface(builder, std::move(data), ttcIndex, weight, isItalic); in FontFamily_addFont()
192 jobject font, jint ttcIndex, jint weight, jint isItalic) { in FontFamily_addFontWeightStyle() argument
210 return addSkTypeface(builder, std::move(data), ttcIndex, weight, isItalic); in FontFamily_addFontWeightStyle()
/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DFontFamily_Builder_Delegate.java126 public Font getFont(int desiredWeight, boolean isItalic) {
129 desiredStyle.mIsItalic = isItalic;
/frameworks/base/libs/hwui/jni/fonts/
DFont.cpp262 uint32_t isItalic = font->font->style().slant() == minikin::FontStyle::Slant::ITALIC ? 1 : 0; in Font_getPackedStyle() local
263 return (isItalic << 16) | weight; in Font_getPackedStyle()
/frameworks/base/core/java/android/provider/
DFontsContract.java250 public boolean isItalic() { in isItalic() method in FontsContract.FontInfo
677 .setSlant(fontInfo.isItalic() in buildTypeface()
/frameworks/base/core/tests/coretests/src/android/graphics/
DTypefaceTest.java170 assertEquals(italic, result.isItalic()); in testMultithreadCacheStressTest()
/frameworks/base/core/java/android/text/
DFontConfig.java356 public boolean isItalic() { in isItalic() method in FontConfig.Font
/frameworks/base/config/
Dboot-profile.txt31 Landroid/text/FontConfig$Font;->isItalic()Z
Dboot-image-profile.txt13804 HSPLandroid/provider/FontsContract$FontInfo;->isItalic()Z
15222 HSPLandroid/text/FontConfig$Font;->isItalic()Z
/frameworks/base/boot/
Dboot-image-profile.txt13814 HSPLandroid/provider/FontsContract$FontInfo;->isItalic()Z
15173 HSPLandroid/text/FontConfig$Font;->isItalic()Z
/frameworks/base/core/api/
Dcurrent.txt16270 method public final boolean isItalic();
35066 method @Deprecated public boolean isItalic();
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt11543 method public final boolean isItalic();
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt33603 Landroid/media/TimedText$Style;->isItalic:Z