/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 112 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/ |
D | FontFamilyTest.cpp | 647 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 …]
|
D | FontCollectionItemizeTest.cpp | 119 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/ |
D | TestFontsProvider.java | 41 static final boolean ITALIC = false; field in TestFontsProvider 85 FontsContract.Columns.WEIGHT, FontsContract.Columns.ITALIC, in query()
|
D | FontsContractTest.java | 89 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()
|
D | MockFontProvider.java | 175 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/ |
D | Font.java | 89 ITALIC, enumConstant 142 case ITALIC: in getFontFileName()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 153 @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/ |
D | FontStyle.h | 39 ITALIC = true, enumerator
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Typeface_Delegate.java | 133 (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()
|
D | FontFamily_Delegate.java | 423 (FontUtilities.getFont2D(font).getStyle() & Font.ITALIC) != 0; 546 derivedStyle |= Font.ITALIC;
|
/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 | 494 final boolean italic = (style & Typeface.ITALIC) != 0; in updateMeasureState() 506 if ((fake & Typeface.ITALIC) != 0) { in updateMeasureState()
|
/frameworks/base/core/java/android/text/ |
D | Html.java | 519 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/ |
D | TextPerfUtils.java | 50 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 120 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/ |
D | TextViewOnMeasurePerfTest.java | 75 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | TypefaceTest.java | 81 assertTrue("style", mFaces[4].getStyle() == Typeface.ITALIC); in testStyles()
|
/frameworks/base/core/java/android/content/res/ |
D | FontResourcesParser.java | 81 public static final int ITALIC = 1; field in FontResourcesParser.FontFileResourceEntry
|
D | StringBlock.java | 221 buffer.setSpan(new StyleSpan(Typeface.ITALIC), in applyStyles()
|
/frameworks/minikin/libs/minikin/ |
D | FontFamily.cpp | 141 bool isFakeItalic = wanted.slant() == FontStyle::Slant::ITALIC && in computeFakery()
|
/frameworks/base/native/android/ |
D | system_fonts.cpp | 262 result->mItalic = font->style().slant() == minikin::FontStyle::Slant::ITALIC; in AFontMatcher_match()
|
/frameworks/base/media/java/android/media/ |
D | ClosedCaptionRenderer.java | 697 new StyleSpan(android.graphics.Typeface.ITALIC), in applyStyleSpan()
|
/frameworks/base/core/java/android/widget/ |
D | Switch.java | 407 mTextPaint.setTextSkewX((need & Typeface.ITALIC) != 0 ? -0.25f : 0); in setSwitchTypeface()
|