Home
last modified time | relevance | path

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

12

/frameworks/layoutlib/bridge/src/android/graphics/
DFontFamily_Delegate.java178 public Font getFont(int desiredWeight, boolean isItalic) { in getFont() argument
181 desiredStyle.mIsItalic = isItalic; in getFont()
294 int weight, int isItalic) {
301 int ttcIndex, int weight, int isItalic) {
312 final boolean isItalic) {
314 int italic = isItalic ? 1 : 0;
327 int cookie, boolean isAsset, int ttcIndex, int weight, int isItalic) {
373 fontInfo.mIsItalic = isItalic == RESOLVE_BY_FONT_TABLE ? font.isItalic() :
374 isItalic == 1;
458 fontInfo.mIsItalic = italic == RESOLVE_BY_FONT_TABLE ? font.isItalic() : italic == 1;
[all …]
DTypeface_Delegate.java100 final boolean isItalic = (mStyle & Font.ITALIC) != 0; in getFonts()
105 Font font = ffd.getFont(weight, isItalic); in getFonts()
119 Font font2 = ffd2.getFont(weight, isItalic); in getFonts()
276 font.getWeight(), font.isItalic()); in makeFamilyFromParsed()
/frameworks/support/compat/java/android/support/v4/graphics/
DTypefaceCompatBaseImpl.java49 boolean isItalic(T t); in isItalic() method
61 + (extractor.isItalic(font) == isTargetItalic ? 0 : 1); in findBestFont()
79 public boolean isItalic(FontInfo info) { in findBestInfo() method in TypefaceCompatBaseImpl
80 return info.isItalic(); in findBestInfo()
133 public boolean isItalic(FontFileResourceEntry entry) {
134 return entry.isItalic();
DTypefaceCompatApi26Impl.java219 0 /* ttcIndex */, fontFile.getWeight(), fontFile.isItalic() ? 1 : 0)) { in createFromFontFamilyFilesResourceEntry()
246 .setItalic(bestFont.isItalic()) in createFromFontInfo()
262 font.getTtcIndex(), font.getWeight(), font.isItalic() ? 1 : 0); in createFromFontInfo()
DTypefaceCompatApi24Impl.java144 font.isItalic())) { in createFromFontInfo()
162 if (!addFontWeightStyle(family, buffer, 0, e.getWeight(), e.isItalic())) { in createFromFontFamilyFilesResourceEntry()
/frameworks/base/graphics/java/android/graphics/
DFontFamily.java139 boolean isAsset, int ttcIndex, int weight, int isItalic, in addFontFromAssetManager() argument
150 isItalic); in addFontFromAssetManager()
193 int weight, int isItalic); in nAddFont() argument
195 int ttcIndex, int weight, int isItalic); in nAddFontWeightStyle() argument
197 String path, int cookie, boolean isAsset, int ttcIndex, int weight, int isItalic); in nAddFontFromAssetManager() argument
DFontListParser.java113 boolean isItalic = "italic".equals(parser.getAttributeValue(null, "style")); in readFont()
129 axes.toArray(new FontVariationAxis[axes.size()]), weight, isItalic); in readFont()
DTypeface.java156 public final boolean isItalic() { in isItalic() method in Typeface
641 font.isItalic() ? STYLE_ITALIC : STYLE_NORMAL); in build()
906 font.getWeight(), font.isItalic() ? STYLE_ITALIC : STYLE_NORMAL)) { in makeFamilyFromParsed()
/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
258 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.java72 int weight, boolean isItalic) { in Font() argument
77 mIsItalic = isItalic; in Font()
111 public boolean isItalic() { in isItalic() method in FontConfig.Font
/frameworks/support/compat/tests/java/android/support/v4/content/res/
DFontResourcesParserCompatTest.java75 assertEquals(false, font1.isItalic()); in testParse()
79 assertEquals(true, font2.isItalic()); in testParse()
83 assertEquals(false, font3.isItalic()); in testParse()
87 assertEquals(true, font4.isItalic()); in testParse()
/frameworks/support/compat/java/android/support/v4/content/res/
DFontResourcesParserCompat.java123 public boolean isItalic() { in isItalic() method in FontResourcesParserCompat.FontFileResourceEntry
256 boolean isItalic = ITALIC == array.getInt(R.styleable.FontFamilyFont_fontStyle, 0); in readFont()
263 return new FontFileResourceEntry(filename, weight, isItalic, resourceId); in readFont()
/frameworks/support/compat/tests/java/android/support/v4/provider/
DFontsContractCompatTest.java173 assertTrue(font.isItalic()); in testGetFontFromProvider_resultOK()
/frameworks/support/compat/tests/java/android/support/v4/widget/
DTextViewCompatTest.java132 mTextView.getTypeface().isItalic() || (mTextView.getPaint().getTextSkewX() < 0)); in testStyle()
/frameworks/base/core/java/android/provider/
DFontsContract.java241 public boolean isItalic() { in isItalic() method in FontsContract.FontInfo
/frameworks/support/compat/java/android/support/v4/provider/
DFontsContractCompat.java332 public boolean isItalic() { in isItalic() method in FontsContractCompat.FontInfo
/frameworks/support/compat/api/
Dcurrent.txt953 method public boolean isItalic();
D26.0.0.txt978 method public boolean isItalic();
/frameworks/support/api/
D26.1.0.txt8071 method public boolean isItalic();
D26.0.0-beta1.txt7911 method public boolean isItalic();
D26.0.0-beta2.txt8051 method public boolean isItalic();
/frameworks/base/api/
Dcurrent.txt13845 method public final boolean isItalic();
34457 method public boolean isItalic();
Dtest-current.txt13934 method public final boolean isItalic();
34646 method public boolean isItalic();

12