/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 114 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, italic->fStyle.slant()); in TEST() 120 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, boldItalic->fStyle.slant()); in TEST() 145 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, italic->fStyle.slant()); in TEST() 153 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, boldItalic->fStyle.slant()); in TEST() 178 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, italic->fStyle.slant()); in TEST() 186 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, boldItalic->fStyle.slant()); in TEST() 211 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, italic->fStyle.slant()); in TEST() 220 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, boldItalic->fStyle.slant()); in TEST() 247 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, italic->fStyle.slant()); in TEST() 256 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, boldItalic->fStyle.slant()); in TEST() [all …]
|
/frameworks/minikin/tests/unittest/ |
D | FontFamilyTest.cpp | 712 if (slant == FontStyle::Slant::ITALIC) { in slantToString() 737 constexpr FontStyle::Slant ITALIC = FontStyle::Slant::ITALIC; in TEST_F() local 742 FontStyle(NORMAL, ITALIC), // 2 in TEST_F() 743 FontStyle(BOLD, ITALIC), // 3 in TEST_F() 753 FontStyle(THIN, ITALIC), // 6 in TEST_F() 754 FontStyle(LIGHT, ITALIC), // 7 in TEST_F() 755 FontStyle(NORMAL, ITALIC), // 8 in TEST_F() 756 FontStyle(MEDIUM, ITALIC), // 9 in TEST_F() 757 FontStyle(BOLD, ITALIC), // 10 in TEST_F() 758 FontStyle(BLACK, ITALIC), // 11 in TEST_F() [all …]
|
D | FontCollectionItemizeTest.cpp | 128 const FontStyle kItalicStyle = FontStyle(FontStyle::Slant::ITALIC); in TEST() 130 const FontStyle kBoldItalicStyle = FontStyle(FontStyle::Weight::BOLD, FontStyle::Slant::ITALIC); in TEST() 700 FontStyle kItalicStyle(FontStyle::Slant::ITALIC); in TEST() 701 FontStyle kBoldItalicStyle(FontStyle::Weight::BOLD, FontStyle::Slant::ITALIC); in TEST()
|
/frameworks/base/core/java/android/text/style/ |
D | StyleSpan.java | 171 boolean italic = (want & Typeface.ITALIC) != 0; in apply() 182 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/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/core/tests/coretests/src/android/graphics/ |
D | TypefaceTest.java | 62 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC, 103 assertTrue("style", mFaces[4].getStyle() == Typeface.ITALIC); in testStyles() 228 "sample-italic", Typeface.create(res.getFont(R.font.samplefont4), Typeface.ITALIC)); in testSetSystemFontMap() 249 fontMap.get("sample-italic"), Typeface.create("sample-italic", Typeface.ITALIC)); in testSetSystemFontMap()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Font.java | 91 ITALIC, enumConstant 144 case ITALIC: in getFontFileName()
|
/frameworks/minikin/include/minikin/ |
D | FontStyle.h | 41 ITALIC = true, enumerator
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 199 @IntDef(value = {NORMAL, BOLD, ITALIC, BOLD_ITALIC}) 206 public static final int ITALIC = 2; field in Typeface 269 return (mStyle & ITALIC) != 0; in isItalic() 339 fontBuilder.setSlant(fontFile.getItalic() == FontFileResourceEntry.ITALIC in createFromResources() 661 (mItalic == RESOLVE_BY_FONT_TABLE) ? (base.mStyle & ITALIC) != 0 : mItalic == 1; in resolveFallbackTypeface() 1371 create((String) null, Typeface.ITALIC),
|
/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/text/ |
D | Html.java | 522 if ((s & Typeface.ITALIC) != 0) { in withinParagraph() 627 if ((s & Typeface.ITALIC) != 0) { in withinParagraph() 873 end(mSpannableStringBuilder, Italic.class, new StyleSpan(Typeface.ITALIC)); in handleEndTag() 875 end(mSpannableStringBuilder, Italic.class, new StyleSpan(Typeface.ITALIC)); in handleEndTag() 877 end(mSpannableStringBuilder, Italic.class, new StyleSpan(Typeface.ITALIC)); in handleEndTag() 879 end(mSpannableStringBuilder, Italic.class, new StyleSpan(Typeface.ITALIC)); in handleEndTag()
|
/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/java/android/provider/ |
D | FontsContract.java | 128 public static final String ITALIC = "font_italic"; field in FontsContract.Columns 850 Columns.WEIGHT, Columns.ITALIC, Columns.RESULT_CODE }, in getFontFromProvider() argument 862 final int italicColumnIndex = cursor.getColumnIndex(Columns.ITALIC); in getFontFromProvider()
|
/frameworks/base/native/android/ |
D | system_fonts.cpp | 268 font->style().slant() == minikin::FontStyle::Slant::ITALIC, in ASystemFontIterator_open() 340 result->mItalic = font->style().slant() == minikin::FontStyle::Slant::ITALIC; in AFontMatcher_match()
|
/frameworks/base/core/java/android/content/res/ |
D | FontResourcesParser.java | 88 public static final int ITALIC = 1; field in FontResourcesParser.FontFileResourceEntry
|
D | StringBlock.java | 249 buffer.setSpan(new StyleSpan(Typeface.ITALIC), in applyStyles()
|
/frameworks/minikin/libs/minikin/ |
D | FontFamily.cpp | 148 bool isFakeItalic = wanted.slant() == FontStyle::Slant::ITALIC && in computeFakery()
|
/frameworks/base/libs/hwui/jni/fonts/ |
D | Font.cpp | 262 uint32_t isItalic = font->font->style().slant() == minikin::FontStyle::Slant::ITALIC ? 1 : 0; in Font_getPackedStyle()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 608 spannableString.setSpan(new StyleSpan(Typeface.ITALIC), start, end, in applyStyles()
|
/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 | 424 mTextPaint.setTextSkewX((need & Typeface.ITALIC) != 0 ? -0.25f : 0); in setSwitchTypeface()
|