Home
last modified time | relevance | path

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

12

/frameworks/support/compat/src/main/java/androidx/core/graphics/
DTypefaceCompatBaseImpl.java48 boolean isItalic(T t); in isItalic() method
60 + (extractor.isItalic(font) == isTargetItalic ? 0 : 1); in findBestFont()
78 public boolean isItalic(FontInfo info) { in findBestInfo() method in TypefaceCompatBaseImpl
79 return info.isItalic(); in findBestInfo()
131 public boolean isItalic(FontFileResourceEntry entry) {
132 return entry.isItalic();
DTypefaceCompatApi24Impl.java145 font.isItalic())) { in createFromFontInfo()
163 if (!addFontWeightStyle(family, buffer, e.getTtcIndex(), e.getWeight(), e.isItalic())) { in createFromFontFamilyFilesResourceEntry()
DTypefaceCompatApi26Impl.java212 fontFile.getTtcIndex(), fontFile.getWeight(), fontFile.isItalic() ? 1 : 0, in createFromFontFamilyFilesResourceEntry()
243 .setItalic(bestFont.isItalic()) in createFromFontInfo()
259 font.getTtcIndex(), font.getWeight(), font.isItalic() ? 1 : 0); in createFromFontInfo()
/frameworks/support/compat/src/androidTest/java/androidx/core/content/res/
DFontResourcesParserCompatTest.java77 assertEquals(false, font1.isItalic()); in testParse()
83 assertEquals(true, font2.isItalic()); in testParse()
89 assertEquals(false, font3.isItalic()); in testParse()
95 assertEquals(true, font4.isItalic()); in testParse()
120 assertEquals(false, font1.isItalic()); in testParseAndroidAttrs()
126 assertEquals(true, font2.isItalic()); in testParseAndroidAttrs()
132 assertEquals(false, font3.isItalic()); in testParseAndroidAttrs()
138 assertEquals(true, font4.isItalic()); in testParseAndroidAttrs()
/frameworks/layoutlib/bridge/src/android/graphics/
DFontFamily_Delegate.java203 public Font getFont(int desiredWeight, boolean isItalic) { in getFont() argument
206 desiredStyle.mIsItalic = isItalic; in getFont()
334 int weight, int isItalic) {
341 int ttcIndex, int weight, int isItalic) {
352 final boolean isItalic) {
354 int italic = isItalic ? 1 : 0;
367 int cookie, boolean isAsset, int ttcIndex, int weight, int isItalic) {
413 fontInfo.mIsItalic = isItalic == RESOLVE_BY_FONT_TABLE ? font.isItalic() :
414 isItalic == 1;
490 fontInfo.mIsItalic = italic == RESOLVE_BY_FONT_TABLE ? font.isItalic() : italic == 1;
DTypeface_Delegate.java241 font.isItalic()); in createFontFamily()
323 /*package*/ static Typeface create(Typeface family, int style, boolean isItalic) { in create() argument
324 return Typeface.create_Original(family, style, isItalic); in create()
339 final boolean isItalic = (inputStyle & Font.ITALIC) != 0; in computeFonts()
344 Font font = ffd.getFont(weight, isItalic); in computeFonts()
358 Font font2 = ffd2.getFont(weight, isItalic); in computeFonts()
401 private final boolean isItalic;
412 this.isItalic = (style & Font.ITALIC) != 0;
430 Font font = ffd.getFont(weight, isItalic);
456 Font font2 = ffd2.getFont(weight, isItalic);
/frameworks/base/graphics/java/android/graphics/
DFontFamily.java151 boolean isAsset, int ttcIndex, int weight, int isItalic, in addFontFromAssetManager() argument
162 isItalic); in addFontFromAssetManager()
183 int weight, int isItalic); in nAddFont() argument
185 int ttcIndex, int weight, int isItalic); in nAddFontWeightStyle() argument
187 String path, int cookie, boolean isAsset, int ttcIndex, int weight, int isItalic); in nAddFontFromAssetManager() argument
DFontListParser.java111 boolean isItalic = "italic".equals(parser.getAttributeValue(null, "style")); in readFont()
128 axes.toArray(new FontVariationAxis[axes.size()]), weight, isItalic, fallbackFor); in readFont()
DTypeface.java186 public final boolean isItalic() { in isItalic() method in Typeface
647 font.isItalic() ? STYLE_ITALIC : STYLE_NORMAL); in build()
983 font.getWeight(), font.isItalic() ? STYLE_ITALIC : STYLE_NORMAL)) { in createFontFamily()
/frameworks/base/media/java/android/media/
DTimedText.java196 public final boolean isItalic; field in TimedText.Style
226 boolean isBold, boolean isItalic, boolean isUnderlined, in Style() argument
232 this.isItalic = isItalic; in Style()
537 boolean isItalic = false; in readStyle()
561 isItalic = ((flags % 4) >= 2); in readStyle()
584 isItalic, isUnderlined, fontSize, colorRGBA); in readStyle()
/frameworks/base/core/jni/android/graphics/
DFontFamily.cpp171 jint ttcIndex, jint weight, jint isItalic) { in FontFamily_addFont() argument
189 return addSkTypeface(builder, std::move(data), ttcIndex, weight, isItalic); in FontFamily_addFont()
193 jobject font, jint ttcIndex, jint weight, jint isItalic) { in FontFamily_addFontWeightStyle() argument
211 return addSkTypeface(builder, std::move(data), ttcIndex, weight, isItalic); in FontFamily_addFontWeightStyle()
220 jint weight, jint isItalic) { in FontFamily_addFontFromAssetManager() argument
264 return addSkTypeface(builder, std::move(data), ttcIndex, weight, isItalic); in FontFamily_addFontFromAssetManager()
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractTest.java87 assertEquals(TestFontsProvider.ITALIC, font.isItalic()); in testGetFontFromProvider_resultOK()
103 assertFalse(font.isItalic()); in testGetFontFromProvider_providerDoesntReturnAllFields()
136 assertEquals(TestFontsProvider.ITALIC, font.isItalic()); in testGetFontFromProvider_resultFontUnavailable()
156 assertEquals(TestFontsProvider.ITALIC, font.isItalic()); in testGetFontFromProvider_resultMalformedQuery()
180 assertFalse(font.isItalic()); in testGetFontFromProvider_resultFontNotFoundSecondRow()
188 assertFalse(font.isItalic()); in testGetFontFromProvider_resultFontNotFoundSecondRow()
213 assertFalse(font.isItalic()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
221 assertFalse(font.isItalic()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
229 assertFalse(font.isItalic()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
/frameworks/base/core/java/android/text/
DFontConfig.java73 int weight, boolean isItalic, String fallbackFor) { in Font() argument
78 mIsItalic = isItalic; in Font()
113 public boolean isItalic() { in isItalic() method in FontConfig.Font
/frameworks/support/compat/src/main/java/androidx/core/content/res/
DFontResourcesParserCompat.java128 public boolean isItalic() { in isItalic() method in FontResourcesParserCompat.FontFileResourceEntry
275 boolean isItalic = ITALIC == array.getInt(styleAttr, 0); in readFont()
294 return new FontFileResourceEntry(filename, weight, isItalic, variationSettings, ttcIndex, in readFont()
/frameworks/base/core/tests/coretests/src/android/graphics/
DTypefaceTest.java149 assertEquals(italic, result.isItalic()); in testMultithreadCacheStressTest()
/frameworks/support/compat/src/androidTest/java/androidx/core/provider/
DFontsContractCompatTest.java150 assertTrue(font.isItalic()); in testGetFontFromProvider_resultOK()
/frameworks/base/core/java/android/provider/
DFontsContract.java241 public boolean isItalic() { in isItalic() method in FontsContract.FontInfo
/frameworks/support/compat/src/main/java/androidx/core/provider/
DFontsContractCompat.java379 public boolean isItalic() { in isItalic() method in FontsContractCompat.FontInfo
/frameworks/support/compat/src/androidTest/java/androidx/core/widget/
DTextViewCompatTest.java160 mTextView.getTypeface().isItalic() || (mTextView.getPaint().getTextSkewX() < 0)); in testStyle()
/frameworks/support/compat/api_legacy/
D28.0.0-alpha1.txt1198 method public boolean isItalic();
D26.1.0.txt978 method public boolean isItalic();
Dcurrent.txt1200 method public boolean isItalic();
D27.1.0.txt1014 method public boolean isItalic();
D27.0.0.txt966 method public boolean isItalic();
D26.0.0.txt978 method public boolean isItalic();

12