/frameworks/support/compat/src/main/java/androidx/core/graphics/ |
D | TypefaceCompatBaseImpl.java | 48 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();
|
D | TypefaceCompatApi24Impl.java | 145 font.isItalic())) { in createFromFontInfo() 163 if (!addFontWeightStyle(family, buffer, e.getTtcIndex(), e.getWeight(), e.isItalic())) { in createFromFontFamilyFilesResourceEntry()
|
D | TypefaceCompatApi26Impl.java | 212 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/ |
D | FontResourcesParserCompatTest.java | 77 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/ |
D | FontFamily_Delegate.java | 203 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;
|
D | Typeface_Delegate.java | 241 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/ |
D | FontFamily.java | 151 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
|
D | FontListParser.java | 111 boolean isItalic = "italic".equals(parser.getAttributeValue(null, "style")); in readFont() 128 axes.toArray(new FontVariationAxis[axes.size()]), weight, isItalic, fallbackFor); in readFont()
|
D | Typeface.java | 186 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/ |
D | TimedText.java | 196 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/ |
D | FontFamily.cpp | 171 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/ |
D | FontsContractTest.java | 87 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/ |
D | FontConfig.java | 73 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/ |
D | FontResourcesParserCompat.java | 128 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/ |
D | TypefaceTest.java | 149 assertEquals(italic, result.isItalic()); in testMultithreadCacheStressTest()
|
/frameworks/support/compat/src/androidTest/java/androidx/core/provider/ |
D | FontsContractCompatTest.java | 150 assertTrue(font.isItalic()); in testGetFontFromProvider_resultOK()
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 241 public boolean isItalic() { in isItalic() method in FontsContract.FontInfo
|
/frameworks/support/compat/src/main/java/androidx/core/provider/ |
D | FontsContractCompat.java | 379 public boolean isItalic() { in isItalic() method in FontsContractCompat.FontInfo
|
/frameworks/support/compat/src/androidTest/java/androidx/core/widget/ |
D | TextViewCompatTest.java | 160 mTextView.getTypeface().isItalic() || (mTextView.getPaint().getTextSkewX() < 0)); in testStyle()
|
/frameworks/support/compat/api_legacy/ |
D | 28.0.0-alpha1.txt | 1198 method public boolean isItalic();
|
D | 26.1.0.txt | 978 method public boolean isItalic();
|
D | current.txt | 1200 method public boolean isItalic();
|
D | 27.1.0.txt | 1014 method public boolean isItalic();
|
D | 27.0.0.txt | 966 method public boolean isItalic();
|
D | 26.0.0.txt | 978 method public boolean isItalic();
|