Home
last modified time | relevance | path

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

12

/frameworks/minikin/tests/unittest/
DFontFamilyTest.cpp668 constexpr FontStyle::Weight BOLD = FontStyle::Weight::BOLD; in TEST_F() local
676 FontStyle(BOLD, UPRIGHT), // 1 in TEST_F()
678 FontStyle(BOLD, ITALIC), // 3 in TEST_F()
686 FontStyle(BOLD, UPRIGHT), // 4 in TEST_F()
692 FontStyle(BOLD, ITALIC), // 10 in TEST_F()
703 {FontStyle(BOLD), {FontStyle(NORMAL), FontStyle(BOLD)}, 1}, in TEST_F()
704 {FontStyle(BOLD), {FontStyle(LIGHT), FontStyle(BOLD)}, 1}, in TEST_F()
706 {FontStyle(LIGHT), {FontStyle(BOLD), FontStyle(LIGHT)}, 1}, in TEST_F()
708 {FontStyle(NORMAL), {FontStyle(NORMAL), FontStyle(BOLD)}, 0}, in TEST_F()
709 {FontStyle(LIGHT), {FontStyle(LIGHT), FontStyle(NORMAL), FontStyle(BOLD)}, 0}, in TEST_F()
[all …]
DFontCollectionItemizeTest.cpp120 const FontStyle kBoldStyle = FontStyle(FontStyle::Weight::BOLD); in TEST()
121 const FontStyle kBoldItalicStyle = FontStyle(FontStyle::Weight::BOLD, FontStyle::Slant::ITALIC); in TEST()
690 FontStyle kBoldStyle(FontStyle::Weight::BOLD); in TEST()
692 FontStyle kBoldItalicStyle(FontStyle::Weight::BOLD, FontStyle::Slant::ITALIC); in TEST()
/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.java84 BOLD, enumConstant
140 case BOLD: in getFontFileName()
/frameworks/base/core/tests/coretests/src/android/graphics/
DTypefaceTest.java78 assertTrue("style", mFaces[1].getStyle() == Typeface.BOLD); in testStyles()
80 assertTrue("style", mFaces[3].getStyle() == Typeface.BOLD); in testStyles()
/frameworks/minikin/include/minikin/
DFontStyle.h32 BOLD = 700, enumerator
/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()
349 ((style & Font.BOLD) == 0 ? 0 : FontFamily_Delegate.BOLD_FONT_WEIGHT_DELTA); in FontsIterator()
DFontFamily_Delegate.java541 derivedStyle |= Font.BOLD;
/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/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/graphics/java/android/graphics/
DTypeface.java153 @IntDef(value = {NORMAL, BOLD, ITALIC, BOLD_ITALIC})
159 public static final int BOLD = 1; field in Typeface
205 return (mStyle & BOLD) != 0; in isBold()
1152 DEFAULT_BOLD = create((String) null, Typeface.BOLD);
/frameworks/base/core/java/android/text/
DHtml.java516 if ((s & Typeface.BOLD) != 0) { in withinParagraph()
621 if ((s & Typeface.BOLD) != 0) { in withinParagraph()
858 end(mSpannableStringBuilder, Bold.class, new StyleSpan(Typeface.BOLD)); in handleEndTag()
860 end(mSpannableStringBuilder, Bold.class, new StyleSpan(Typeface.BOLD)); in handleEndTag()
1029 new StyleSpan(Typeface.BOLD)); in endHeading()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewOnMeasurePerfTest.java75 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC
/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.java90 mTextPaint.setTypeface(Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD)); in Watermark()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java137 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardSliceProvider.java77 private static final StyleSpan BOLD_STYLE = new StyleSpan(Typeface.BOLD);

12