Home
last modified time | relevance | path

Searched refs:ITALIC (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp111 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/
DFontFamilyTest.cpp635 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/
DSpannableStringBuilder.kt20 import android.graphics.Typeface.ITALIC
92 inSpans(StyleSpan(ITALIC), builderAction = builderAction)
/frameworks/base/core/tests/coretests/src/android/provider/
DTestFontsProvider.java41 static final boolean ITALIC = false; field in TestFontsProvider
85 FontsContract.Columns.WEIGHT, FontsContract.Columns.ITALIC, in query()
DFontsContractTest.java87 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()
DMockFontProvider.java179 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/
DFont.java88 ITALIC, enumConstant
141 case ITALIC: in getFontFileName()
/frameworks/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java142 (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/
DFontsContractCompat.java118 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/
DFontStyle.h39 ITALIC = true, enumerator
/frameworks/support/compat/src/androidTest/java/androidx/core/graphics/
DTypefaceCompatTest.java191 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/
DStyleSpan.java138 if ((fake & Typeface.ITALIC) != 0) { in apply()
DTypefaceSpan.java178 if ((fake & Typeface.ITALIC) != 0) { in applyFontFamily()
DTextAppearanceSpan.java276 if ((fake & Typeface.ITALIC) != 0) { in updateMeasureState()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DTextPerfUtils.java55 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/text/
DSpannableStringBuilderTest.kt22 import android.graphics.Typeface.ITALIC
96 assertEquals(ITALIC, italic.style) in builderItalic()
/frameworks/support/compat/src/main/java/androidx/core/content/res/
DFontResourcesParserCompat.java52 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/
DHtml.java518 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/
DTypeface.java131 @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/
DFontsContract.java123 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/
DTextViewOnMeasurePerfTest.java79 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC
/frameworks/support/compat/src/main/java/androidx/core/graphics/
DTypefaceCompatBaseImpl.java53 final boolean isTargetItalic = (style & Typeface.ITALIC) != 0; in findBestFont()
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/
DAppCompatTextViewTest.java279 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/
DTypefaceTest.java82 assertTrue("style", mFaces[4].getStyle() == Typeface.ITALIC); in testStyles()
/frameworks/minikin/libs/minikin/
DFontFamily.cpp138 bool isFakeItalic = wanted.slant() == FontStyle::Slant::ITALIC && in computeFakery()

12