Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/core/java/android/text/style/
H A 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()
H A DStyleSpan.java165 if ((style & Typeface.BOLD) != 0) { in apply()
178 if ((fake & Typeface.BOLD) != 0) { in apply()
H A DTypefaceSpan.java174 if ((fake & Typeface.BOLD) != 0) { in applyFontFamily()
H A DTextAppearanceSpan.java510 if ((fake & Typeface.BOLD) != 0) { in updateMeasureState()
/aosp14/frameworks/base/core/tests/coretests/src/android/graphics/
H A 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()
/aosp14/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/
H A 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()
/aosp14/frameworks/base/rs/java/android/renderscript/
H A DFont.java86 BOLD, enumConstant
142 case BOLD: in getFontFileName()
/aosp14/frameworks/base/startop/apps/test/src/
H A DInteractiveMicrobenchmarkActivity.java57 header.setTypeface(header.getTypeface(), Typeface.BOLD); in addHeader()
/aosp14/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
H A DBenchmarkListAdapter.java94 title.setTypeface(null, Typeface.BOLD); in getGroupView()
/aosp14/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/
H A DAnnotatedStringResource.kt70 Typeface.BOLD -> addStyle(
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/text/
H A DTextPerfUtils.java50 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/widget/
H A DTextViewOnMeasurePerfTest.java75 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC
/aosp14/frameworks/base/core/java/android/text/
H A 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()
/aosp14/frameworks/base/graphics/java/android/graphics/
H A 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));
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DWatermark.java89 mTextPaint.setTypeface(Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD)); in Watermark()
/aosp14/frameworks/base/core/tests/coretests/src/android/text/
H A DSpannedTest.java76 CharacterStyle mark = new StyleSpan(Typeface.BOLD); in testWrapParcel()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
H A DBatteryMeterDrawableBase.java141 Typeface font = Typeface.create("sans-serif-condensed", Typeface.BOLD); in BatteryMeterDrawableBase()
146 font = Typeface.create("sans-serif", Typeface.BOLD); in BatteryMeterDrawableBase()
/aosp14/frameworks/base/core/java/android/app/
H A DProgressDialog.java222 tmp.setSpan(new StyleSpan(android.graphics.Typeface.BOLD), in onCreate()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DMediaProjectionPermissionActivity.java205 message.setSpan(new StyleSpan(Typeface.BOLD), in onCreate()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
H A DTextAppearanceInfoTest.java156 StyleSpan styleSpan = new StyleSpan(Typeface.BOLD); in testCreateFromTextView_withSpan2()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DNotificationSnooze.java260 string.setSpan(new StyleSpan(Typeface.BOLD, res.getConfiguration().fontWeightAdjustment), in createOption()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardSliceProvider.java86 private static final StyleSpan BOLD_STYLE = new StyleSpan(Typeface.BOLD);
/aosp14/frameworks/base/core/java/android/content/res/
H A DStringBlock.java246 buffer.setSpan(new StyleSpan(Typeface.BOLD, fontWeightAdjustment), in applyStyles()
/aosp14/frameworks/base/core/java/android/widget/
H A DSwitch.java423 mTextPaint.setFakeBoldText((need & Typeface.BOLD) != 0); in setSwitchTypeface()
/aosp14/frameworks/base/core/tests/coretests/src/android/app/
H A DNotificationTest.java1375 new StyleSpan(Typeface.BOLD), in testActionsDifferentSpannables()

12