/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 111 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, italic->fStyle.slant()); in TEST() 117 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, boldItalic->fStyle.slant()); in TEST() 142 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, italic->fStyle.slant()); in TEST() 150 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, boldItalic->fStyle.slant()); in TEST() 175 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, italic->fStyle.slant()); in TEST() 183 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, boldItalic->fStyle.slant()); in TEST() 208 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, italic->fStyle.slant()); in TEST() 217 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, boldItalic->fStyle.slant()); in TEST() 244 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, italic->fStyle.slant()); in TEST() 253 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, boldItalic->fStyle.slant()); in TEST() [all …]
|
/frameworks/minikin/tests/unittest/ |
D | FontFamilyTest.cpp | 635 if (slant == FontStyle::Slant::ITALIC) { in slantToString() 660 constexpr FontStyle::Slant ITALIC = FontStyle::Slant::ITALIC; in TEST_F() local 665 FontStyle(NORMAL, ITALIC), // 2 in TEST_F() 666 FontStyle(BOLD, ITALIC), // 3 in TEST_F() 676 FontStyle(THIN, ITALIC), // 6 in TEST_F() 677 FontStyle(LIGHT, ITALIC), // 7 in TEST_F() 678 FontStyle(NORMAL, ITALIC), // 8 in TEST_F() 679 FontStyle(MEDIUM, ITALIC), // 9 in TEST_F() 680 FontStyle(BOLD, ITALIC), // 10 in TEST_F() 681 FontStyle(BLACK, ITALIC), // 11 in TEST_F() [all …]
|
/frameworks/support/core/ktx/src/main/java/androidx/core/text/ |
D | SpannableStringBuilder.kt | 20 import android.graphics.Typeface.ITALIC 92 inSpans(StyleSpan(ITALIC), builderAction = builderAction)
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | TestFontsProvider.java | 41 static final boolean ITALIC = false; field in TestFontsProvider 85 FontsContract.Columns.WEIGHT, FontsContract.Columns.ITALIC, in query()
|
D | FontsContractTest.java | 87 assertEquals(TestFontsProvider.ITALIC, font.isItalic()); in testGetFontFromProvider_resultOK() 136 assertEquals(TestFontsProvider.ITALIC, font.isItalic()); in testGetFontFromProvider_resultFontUnavailable() 156 assertEquals(TestFontsProvider.ITALIC, font.isItalic()); in testGetFontFromProvider_resultMalformedQuery() 164 FontsContract.Columns.WEIGHT, FontsContract.Columns.ITALIC, in testGetFontFromProvider_resultFontNotFoundSecondRow() 196 FontsContract.Columns.WEIGHT, FontsContract.Columns.ITALIC, in testGetFontFromProvider_resultFontNotFoundOtherRow()
|
D | MockFontProvider.java | 179 Columns.ITALIC, Columns.RESULT_CODE, Columns.FILE_ID}); in buildCursor() 187 builder.add(Columns.ITALIC, font.getItalic()); in buildCursor()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Font.java | 88 ITALIC, enumConstant 141 case ITALIC: in getFontFileName()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Typeface_Delegate.java | 142 (italic ? Typeface.ITALIC : Typeface.NORMAL); in nativeCreateFromTypefaceWithExactStyle() 193 (italic == 1 ? Typeface.ITALIC : Typeface.NORMAL); in nativeCreateFromArray() 339 final boolean isItalic = (inputStyle & Font.ITALIC) != 0; in computeFonts() 412 this.isItalic = (style & Font.ITALIC) != 0;
|
/frameworks/support/compat/src/main/java/androidx/core/provider/ |
D | FontsContractCompat.java | 118 public static final String ITALIC = android.provider.FontsContract.Columns.ITALIC; field in FontsContractCompat.Columns 829 Columns.VARIATION_SETTINGS, Columns.WEIGHT, Columns.ITALIC, in getFontFromProvider() 836 Columns.VARIATION_SETTINGS, Columns.WEIGHT, Columns.ITALIC, in getFontFromProvider() 847 final int italicColumnIndex = cursor.getColumnIndex(Columns.ITALIC); in getFontFromProvider()
|
/frameworks/minikin/include/minikin/ |
D | FontStyle.h | 39 ITALIC = true, enumerator
|
/frameworks/support/compat/src/androidTest/java/androidx/core/graphics/ |
D | TypefaceCompatTest.java | 191 R.font.styletest_async_providerfont, Typeface.ITALIC, callback2, in testCreateFromResourcesFamilyXml_resourceFont_asyncloading() 328 R.font.styletestfont, Typeface.ITALIC, null /* callback */, null /* handler */, in testCreateFromResourcesFamilyXml_resourceFont() 331 mResources, R.font.styletestfont, Typeface.ITALIC); in testCreateFromResourcesFamilyXml_resourceFont() 334 typeface = Typeface.create(typeface, Typeface.ITALIC); in testCreateFromResourcesFamilyXml_resourceFont()
|
/frameworks/base/core/java/android/text/style/ |
D | StyleSpan.java | 138 if ((fake & Typeface.ITALIC) != 0) { in apply()
|
D | TypefaceSpan.java | 178 if ((fake & Typeface.ITALIC) != 0) { in applyFontFamily()
|
D | TextAppearanceSpan.java | 276 if ((fake & Typeface.ITALIC) != 0) { in updateMeasureState()
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | TextPerfUtils.java | 55 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/text/ |
D | SpannableStringBuilderTest.kt | 22 import android.graphics.Typeface.ITALIC 96 assertEquals(ITALIC, italic.style) in builderItalic()
|
/frameworks/support/compat/src/main/java/androidx/core/content/res/ |
D | FontResourcesParserCompat.java | 52 private static final int ITALIC = 1; field in FontResourcesParserCompat 275 boolean isItalic = ITALIC == array.getInt(styleAttr, 0); in readFont()
|
/frameworks/base/core/java/android/text/ |
D | Html.java | 518 if ((s & Typeface.ITALIC) != 0) { in withinParagraph() 623 if ((s & Typeface.ITALIC) != 0) { in withinParagraph() 860 end(mSpannableStringBuilder, Italic.class, new StyleSpan(Typeface.ITALIC)); in handleEndTag() 862 end(mSpannableStringBuilder, Italic.class, new StyleSpan(Typeface.ITALIC)); in handleEndTag() 864 end(mSpannableStringBuilder, Italic.class, new StyleSpan(Typeface.ITALIC)); in handleEndTag() 866 end(mSpannableStringBuilder, Italic.class, new StyleSpan(Typeface.ITALIC)); in handleEndTag()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 131 @IntDef(value = {NORMAL, BOLD, ITALIC, BOLD_ITALIC}) 138 public static final int ITALIC = 2; field in Typeface 187 return (mStyle & ITALIC) != 0; in isItalic() 573 (mItalic == RESOLVE_BY_FONT_TABLE) ? (base.mStyle & ITALIC) != 0 : mItalic == 1; in resolveFallbackTypeface() 1151 create((String) null, Typeface.ITALIC),
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 123 public static final String ITALIC = "font_italic"; field in FontsContract.Columns 776 Columns.WEIGHT, Columns.ITALIC, Columns.RESULT_CODE }, in getFontFromProvider() argument 788 final int italicColumnIndex = cursor.getColumnIndex(Columns.ITALIC); in getFontFromProvider()
|
/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
D | TextViewOnMeasurePerfTest.java | 79 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC
|
/frameworks/support/compat/src/main/java/androidx/core/graphics/ |
D | TypefaceCompatBaseImpl.java | 53 final boolean isTargetItalic = (style & Typeface.ITALIC) != 0; in findBestFont()
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/ |
D | AppCompatTextViewTest.java | 279 assertEquals(Typeface.ITALIC, textView.getTypeface().getStyle()); in testTextStyle_setTextStyleInStyle() 286 assertEquals(Typeface.ITALIC, textView.getTypeface().getStyle()); in testTextStyle_setTextStyleDirectly()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | TypefaceTest.java | 82 assertTrue("style", mFaces[4].getStyle() == Typeface.ITALIC); in testStyles()
|
/frameworks/minikin/libs/minikin/ |
D | FontFamily.cpp | 138 bool isFakeItalic = wanted.slant() == FontStyle::Slant::ITALIC && in computeFakery()
|