Home
last modified time | relevance | path

Searched refs:mItalic (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/graphics/java/android/graphics/fonts/
DFont.java68 private @IntRange(from = -1, to = 1) int mItalic = NOT_SPECIFIED; field in Font.Builder
358 mItalic = slant == FontStyle.FONT_SLANT_UPRIGHT ? STYLE_NORMAL : STYLE_ITALIC; in setSlant()
406 if (mWeight == NOT_SPECIFIED || mItalic == NOT_SPECIFIED) { in build()
412 if (mItalic == NOT_SPECIFIED) { in build()
413 mItalic = FontFileUtil.unpackItalic(packed) ? STYLE_ITALIC : STYLE_NORMAL; in build()
417 mItalic = STYLE_NORMAL; in build()
422 final boolean italic = (mItalic == STYLE_ITALIC); in build()
423 final int slant = (mItalic == STYLE_ITALIC) in build()
/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DFont_Builder_Delegate.java55 protected boolean mItalic; field in Font_Builder_Delegate
97 font.mItalic = italic; in nBuild()
DFontFamily_Builder_Delegate.java94 familyBuilder.addFont(font, fontBuilder.mWeight, fontBuilder.mItalic); in nAddFont()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java371 private int mItalic = RESOLVE_BY_FONT_TABLE; field in Typeface.Builder
464 mItalic = italic ? FontStyle.FONT_SLANT_ITALIC : FontStyle.FONT_SLANT_UPRIGHT; in setItalic()
465 mFontBuilder.setSlant(mItalic); in setItalic()
576 if (mWeight == RESOLVE_BY_FONT_TABLE && mItalic == RESOLVE_BY_FONT_TABLE) { in resolveFallbackTypeface()
582 (mItalic == RESOLVE_BY_FONT_TABLE) ? (base.mStyle & ITALIC) != 0 : mItalic == 1; in resolveFallbackTypeface()
599 mWeight, mItalic, in build()
613 final int slant = mItalic == RESOLVE_BY_FONT_TABLE in build()
614 ? font.getStyle().getSlant() : mItalic; in build()
/frameworks/base/core/tests/coretests/src/android/provider/
DMockFontProvider.java104 mItalic = italic; in Font()
125 return mItalic; in getItalic()
141 private int mItalic; field in MockFontProvider.Font
/frameworks/base/core/java/android/content/res/
DFontResourcesParser.java85 private int mItalic; field in FontResourcesParser.FontFileResourceEntry
94 mItalic = italic; in FontFileResourceEntry()
108 return mItalic; in getItalic()
/frameworks/base/native/android/
Dsystem_fonts.cpp69 bool mItalic; member
143 out->mItalic = styleStr ? xmlStrEqual(styleStr.get(), ITALIC_ATTR_VALUE) : false; in copyFont()
273 result->mItalic = font->style().slant() == minikin::FontStyle::Slant::ITALIC; in AFontMatcher_match()
358 return font->mItalic; in AFont_isItalic()
/frameworks/base/core/java/android/provider/
DFontsContract.java183 private final boolean mItalic; field in FontsContract.FontInfo
203 mItalic = italic; in FontInfo()
239 return mItalic; in isItalic()