Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/text/style/
DSpanUtils.java58 if ((span.getStyle() & Typeface.BOLD) == Typeface.BOLD) { in toggleBold()
66 new StyleSpan(Typeface.BOLD), min, max, Spanned.SPAN_INCLUSIVE_EXCLUSIVE); in toggleBold()
164 final boolean needBoldSpan = (span.getStyle() & Typeface.BOLD) == Typeface.BOLD; in toggleItalic()
174 spannable.setSpan(new StyleSpan(Typeface.BOLD), min, max, flag); in toggleItalic()
182 spannable.setSpan(new StyleSpan(Typeface.BOLD), min, end, flag); in toggleItalic()
192 spannable.setSpan(new StyleSpan(Typeface.BOLD), max, end, flag); in toggleItalic()
200 spannable.setSpan(new StyleSpan(Typeface.BOLD), start, end, flag); in toggleItalic()
DStyleSpan.java165 if ((style & Typeface.BOLD) != 0) { in apply()
178 if ((fake & Typeface.BOLD) != 0) { in apply()
DTypefaceSpan.java174 if ((fake & Typeface.BOLD) != 0) { in applyFontFamily()
/frameworks/minikin/tests/unittest/
DFontFamilyTest.cpp793 constexpr FontStyle::Weight BOLD = FontStyle::Weight::BOLD; in TEST_F() local
801 FontStyle(BOLD, UPRIGHT), // 1 in TEST_F()
803 FontStyle(BOLD, ITALIC), // 3 in TEST_F()
811 FontStyle(BOLD, UPRIGHT), // 4 in TEST_F()
817 FontStyle(BOLD, ITALIC), // 10 in TEST_F()
828 {FontStyle(BOLD), {FontStyle(NORMAL), FontStyle(BOLD)}, 1}, in TEST_F()
829 {FontStyle(BOLD), {FontStyle(LIGHT), FontStyle(BOLD)}, 1}, in TEST_F()
831 {FontStyle(LIGHT), {FontStyle(BOLD), FontStyle(LIGHT)}, 1}, in TEST_F()
833 {FontStyle(NORMAL), {FontStyle(NORMAL), FontStyle(BOLD)}, 0}, in TEST_F()
834 {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.java63 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC,
101 assertTrue("style", mFaces[1].getStyle() == Typeface.BOLD); in testStyles()
103 assertTrue("style", mFaces[3].getStyle() == Typeface.BOLD); in testStyles()
246 assertEquals(Typeface.BOLD, Typeface.DEFAULT_BOLD.getStyle()); in testSetSystemFontMap()
/frameworks/base/rs/java/android/renderscript/
DFont.java86 BOLD, enumConstant
142 case BOLD: in getFontFileName()
/frameworks/base/services/core/java/com/android/server/input/debug/
DRotaryInputValueView.java68 setTypeface(null, Typeface.BOLD); in RotaryInputValueView()
/frameworks/base/startop/apps/test/src/
DInteractiveMicrobenchmarkActivity.java57 header.setTypeface(header.getTypeface(), Typeface.BOLD); in addHeader()
/frameworks/minikin/include/minikin/
DFontStyle.h36 BOLD = 700, enumerator
/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/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/
DAnnotatedStringResource.kt74 Typeface.BOLD -> addStyle( in AnnotatedString()
/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/core/java/android/text/
DHtml.java519 if ((s & Typeface.BOLD) != 0) { in withinParagraph()
624 if ((s & Typeface.BOLD) != 0) { in withinParagraph()
864 end(mSpannableStringBuilder, Bold.class, new StyleSpan(Typeface.BOLD, in handleEndTag()
870 end(mSpannableStringBuilder, Bold.class, new StyleSpan(Typeface.BOLD, in handleEndTag()
1043 new StyleSpan(Typeface.BOLD, fontWeightAdjustment)); in endHeading()
/frameworks/base/services/core/java/com/android/server/wm/
DWatermark.java89 mTextPaint.setTypeface(Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD)); in Watermark()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java203 @IntDef(value = {NORMAL, BOLD, ITALIC, BOLD_ITALIC})
209 public static final int BOLD = 1; field in Typeface
268 return (mStyle & BOLD) != 0; in isBold()
1411 nativeForceSetStaticFinalField("DEFAULT_BOLD", create(sDefaultTypeface, Typeface.BOLD));
/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.java142 Typeface font = Typeface.create("sans-serif-condensed", Typeface.BOLD); in BatteryMeterDrawableBase()
147 font = Typeface.create("sans-serif", Typeface.BOLD); in BatteryMeterDrawableBase()
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/unified/
DBatteryLayersDrawable.kt295 private val PercentFont = Typeface.create("google-sans", Typeface.BOLD)
/frameworks/base/core/java/android/app/
DProgressDialog.java222 tmp.setSpan(new StyleSpan(android.graphics.Typeface.BOLD), in onCreate()
/frameworks/base/core/tests/InputMethodCoreTests/src/android/view/inputmethod/
DTextAppearanceInfoTest.java156 StyleSpan styleSpan = new StyleSpan(Typeface.BOLD); in testCreateFromTextView_withSpan2()

12