Home
last modified time | relevance | path

Searched refs:BOLD (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/minikin/tests/unittest/
DFontFamilyTest.cpp706 constexpr FontStyle::Weight BOLD = FontStyle::Weight::BOLD; in TEST_F() local
714 FontStyle(BOLD, UPRIGHT), // 1 in TEST_F()
716 FontStyle(BOLD, ITALIC), // 3 in TEST_F()
724 FontStyle(BOLD, UPRIGHT), // 4 in TEST_F()
730 FontStyle(BOLD, ITALIC), // 10 in TEST_F()
741 {FontStyle(BOLD), {FontStyle(NORMAL), FontStyle(BOLD)}, 1}, in TEST_F()
742 {FontStyle(BOLD), {FontStyle(LIGHT), FontStyle(BOLD)}, 1}, in TEST_F()
744 {FontStyle(LIGHT), {FontStyle(BOLD), FontStyle(LIGHT)}, 1}, in TEST_F()
746 {FontStyle(NORMAL), {FontStyle(NORMAL), FontStyle(BOLD)}, 0}, in TEST_F()
747 {FontStyle(LIGHT), {FontStyle(LIGHT), FontStyle(NORMAL), FontStyle(BOLD)}, 0}, in TEST_F()
[all …]
DFontCollectionItemizeTest.cpp129 const FontStyle kBoldStyle = FontStyle(FontStyle::Weight::BOLD); in TEST()
130 const FontStyle kBoldItalicStyle = FontStyle(FontStyle::Weight::BOLD, FontStyle::Slant::ITALIC); in TEST()
699 FontStyle kBoldStyle(FontStyle::Weight::BOLD); in TEST()
701 FontStyle kBoldItalicStyle(FontStyle::Weight::BOLD, FontStyle::Slant::ITALIC); in TEST()
/frameworks/base/core/tests/coretests/src/android/graphics/
DTypefaceTest.java62 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC,
100 assertTrue("style", mFaces[1].getStyle() == Typeface.BOLD); in testStyles()
102 assertTrue("style", mFaces[3].getStyle() == Typeface.BOLD); in testStyles()
233 assertEquals(Typeface.BOLD, Typeface.DEFAULT_BOLD.getStyle()); in testSetSystemFontMap()
/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/
DNotificationTests.java177 static SpannableStringBuilder BOLD(CharSequence str) { in BOLD() method in NotificationTests
179 ssb.setSpan(new StyleSpan(Typeface.BOLD), 0, ssb.length(), 0); in BOLD()
362 .addLine(BOLD("Alice:").append(" hey there!")) in testCreate()
363 .addLine(BOLD("Bob:").append(" hi there!")) in testCreate()
364 .addLine(BOLD("Charlie:").append(" Iz IN UR EMAILZ!!")) in testCreate()
/frameworks/base/rs/java/android/renderscript/
DFont.java86 BOLD, enumConstant
142 case BOLD: in getFontFileName()
/frameworks/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java132 int style = weight >= 600 ? (italic ? Typeface.BOLD_ITALIC : Typeface.BOLD) : in nativeCreateFromTypefaceWithExactStyle()
191 int style = weight >= 600 ? (italic == 1 ? Typeface.BOLD_ITALIC : Typeface.BOLD) : in nativeCreateFromArray()
350 ((style & Font.BOLD) == 0 ? 0 : FontFamily_Delegate.BOLD_FONT_WEIGHT_DELTA); in FontsIterator()
DFontFamily_Delegate.java447 derivedStyle |= Font.BOLD;
/frameworks/minikin/include/minikin/
DFontStyle.h34 BOLD = 700, enumerator
/frameworks/base/core/java/android/text/style/
DStyleSpan.java134 if ((fake & Typeface.BOLD) != 0) { in apply()
DTypefaceSpan.java174 if ((fake & Typeface.BOLD) != 0) { in applyFontFamily()
DTextAppearanceSpan.java502 if ((fake & Typeface.BOLD) != 0) { in updateMeasureState()
/frameworks/base/startop/apps/test/src/
DInteractiveMicrobenchmarkActivity.java57 header.setTypeface(header.getTypeface(), Typeface.BOLD); in addHeader()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DBenchmarkListAdapter.java94 title.setTypeface(null, Typeface.BOLD); in getGroupView()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DTextPerfUtils.java50 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewOnMeasurePerfTest.java75 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC
/frameworks/base/core/java/android/text/
DHtml.java519 if ((s & Typeface.BOLD) != 0) { in withinParagraph()
624 if ((s & Typeface.BOLD) != 0) { in withinParagraph()
861 end(mSpannableStringBuilder, Bold.class, new StyleSpan(Typeface.BOLD)); in handleEndTag()
863 end(mSpannableStringBuilder, Bold.class, new StyleSpan(Typeface.BOLD)); in handleEndTag()
1032 new StyleSpan(Typeface.BOLD)); in endHeading()
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
DRSTestCore.java99 mFont = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8); in init()
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
DRSTestCore.java103 mFont = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8); in init()
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
DRSTestCore.java103 mFont = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8); in init()
/frameworks/base/services/core/java/com/android/server/wm/
DWatermark.java88 mTextPaint.setTypeface(Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD)); in Watermark()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java199 @IntDef(value = {NORMAL, BOLD, ITALIC, BOLD_ITALIC})
205 public static final int BOLD = 1; field in Typeface
264 return (mStyle & BOLD) != 0; in isBold()
1363 nativeForceSetStaticFinalField("DEFAULT_BOLD", create(sDefaultTypeface, Typeface.BOLD));
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java139 message.setSpan(new StyleSpan(Typeface.BOLD), in onCreate()
/frameworks/base/core/tests/coretests/src/android/text/
DSpannedTest.java76 CharacterStyle mark = new StyleSpan(Typeface.BOLD); in testWrapParcel()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java141 Typeface font = Typeface.create("sans-serif-condensed", Typeface.BOLD); in BatteryMeterDrawableBase()
146 font = Typeface.create("sans-serif", Typeface.BOLD); in BatteryMeterDrawableBase()
/frameworks/base/core/java/android/app/
DProgressDialog.java222 tmp.setSpan(new StyleSpan(android.graphics.Typeface.BOLD), in onCreate()

12