Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp112 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, italic->fStyle.slant()); in TEST()
118 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, boldItalic->fStyle.slant()); in TEST()
143 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, italic->fStyle.slant()); in TEST()
151 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, boldItalic->fStyle.slant()); in TEST()
176 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, italic->fStyle.slant()); in TEST()
184 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, boldItalic->fStyle.slant()); in TEST()
209 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, italic->fStyle.slant()); in TEST()
218 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, boldItalic->fStyle.slant()); in TEST()
245 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, italic->fStyle.slant()); in TEST()
254 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, boldItalic->fStyle.slant()); in TEST()
[all …]
/frameworks/minikin/tests/unittest/
DFontFamilyTest.cpp647 if (slant == FontStyle::Slant::ITALIC) { in slantToString()
672 constexpr FontStyle::Slant ITALIC = FontStyle::Slant::ITALIC; in TEST_F() local
677 FontStyle(NORMAL, ITALIC), // 2 in TEST_F()
678 FontStyle(BOLD, ITALIC), // 3 in TEST_F()
688 FontStyle(THIN, ITALIC), // 6 in TEST_F()
689 FontStyle(LIGHT, ITALIC), // 7 in TEST_F()
690 FontStyle(NORMAL, ITALIC), // 8 in TEST_F()
691 FontStyle(MEDIUM, ITALIC), // 9 in TEST_F()
692 FontStyle(BOLD, ITALIC), // 10 in TEST_F()
693 FontStyle(BLACK, ITALIC), // 11 in TEST_F()
[all …]
DFontCollectionItemizeTest.cpp119 const FontStyle kItalicStyle = FontStyle(FontStyle::Slant::ITALIC); in TEST()
121 const FontStyle kBoldItalicStyle = FontStyle(FontStyle::Weight::BOLD, FontStyle::Slant::ITALIC); in TEST()
691 FontStyle kItalicStyle(FontStyle::Slant::ITALIC); in TEST()
692 FontStyle kBoldItalicStyle(FontStyle::Weight::BOLD, FontStyle::Slant::ITALIC); in TEST()
/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.java89 assertEquals(TestFontsProvider.ITALIC, font.isItalic()); in testGetFontFromProvider_resultOK()
138 assertEquals(TestFontsProvider.ITALIC, font.isItalic()); in testGetFontFromProvider_resultFontUnavailable()
158 assertEquals(TestFontsProvider.ITALIC, font.isItalic()); in testGetFontFromProvider_resultMalformedQuery()
166 FontsContract.Columns.WEIGHT, FontsContract.Columns.ITALIC, in testGetFontFromProvider_resultFontNotFoundSecondRow()
198 FontsContract.Columns.WEIGHT, FontsContract.Columns.ITALIC, in testGetFontFromProvider_resultFontNotFoundOtherRow()
DMockFontProvider.java175 Columns.ITALIC, Columns.RESULT_CODE, Columns.FILE_ID}); in buildCursor()
183 builder.add(Columns.ITALIC, font.getItalic()); in buildCursor()
/frameworks/base/rs/java/android/renderscript/
DFont.java89 ITALIC, enumConstant
142 case ITALIC: in getFontFileName()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java153 @IntDef(value = {NORMAL, BOLD, ITALIC, BOLD_ITALIC})
160 public static final int ITALIC = 2; field in Typeface
210 return (mStyle & ITALIC) != 0; in isItalic()
260 fontBuilder.setSlant(fontFile.getItalic() == FontFileResourceEntry.ITALIC in createFromResources()
582 (mItalic == RESOLVE_BY_FONT_TABLE) ? (base.mStyle & ITALIC) != 0 : mItalic == 1; in resolveFallbackTypeface()
1160 create((String) null, Typeface.ITALIC),
/frameworks/minikin/include/minikin/
DFontStyle.h39 ITALIC = true, enumerator
/frameworks/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java133 (italic ? Typeface.ITALIC : Typeface.NORMAL); in nativeCreateFromTypefaceWithExactStyle()
192 (italic == 1 ? Typeface.ITALIC : Typeface.NORMAL); in nativeCreateFromArray()
351 this.isItalic = (style & Font.ITALIC) != 0; in FontsIterator()
DFontFamily_Delegate.java423 (FontUtilities.getFont2D(font).getStyle() & Font.ITALIC) != 0;
546 derivedStyle |= Font.ITALIC;
/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.java494 final boolean italic = (style & Typeface.ITALIC) != 0; in updateMeasureState()
506 if ((fake & Typeface.ITALIC) != 0) { in updateMeasureState()
/frameworks/base/core/java/android/text/
DHtml.java519 if ((s & Typeface.ITALIC) != 0) { in withinParagraph()
624 if ((s & Typeface.ITALIC) != 0) { in withinParagraph()
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()
868 end(mSpannableStringBuilder, Italic.class, new StyleSpan(Typeface.ITALIC)); in handleEndTag()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DTextPerfUtils.java50 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC
/frameworks/base/core/java/android/provider/
DFontsContract.java120 public static final String ITALIC = "font_italic"; field in FontsContract.Columns
819 Columns.WEIGHT, Columns.ITALIC, Columns.RESULT_CODE }, in getFontFromProvider() argument
831 final int italicColumnIndex = cursor.getColumnIndex(Columns.ITALIC); in getFontFromProvider()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewOnMeasurePerfTest.java75 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC
/frameworks/base/core/tests/coretests/src/android/graphics/
DTypefaceTest.java81 assertTrue("style", mFaces[4].getStyle() == Typeface.ITALIC); in testStyles()
/frameworks/base/core/java/android/content/res/
DFontResourcesParser.java81 public static final int ITALIC = 1; field in FontResourcesParser.FontFileResourceEntry
DStringBlock.java221 buffer.setSpan(new StyleSpan(Typeface.ITALIC), in applyStyles()
/frameworks/minikin/libs/minikin/
DFontFamily.cpp141 bool isFakeItalic = wanted.slant() == FontStyle::Slant::ITALIC && in computeFakery()
/frameworks/base/native/android/
Dsystem_fonts.cpp262 result->mItalic = font->style().slant() == minikin::FontStyle::Slant::ITALIC; in AFontMatcher_match()
/frameworks/base/media/java/android/media/
DClosedCaptionRenderer.java697 new StyleSpan(android.graphics.Typeface.ITALIC), in applyStyleSpan()
/frameworks/base/core/java/android/widget/
DSwitch.java407 mTextPaint.setTextSkewX((need & Typeface.ITALIC) != 0 ? -0.25f : 0); in setSwitchTypeface()

12