/frameworks/base/core/java/android/text/style/ |
D | SpanUtils.java | 58 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()
|
D | StyleSpan.java | 165 if ((style & Typeface.BOLD) != 0) { in apply() 178 if ((fake & Typeface.BOLD) != 0) { in apply()
|
D | TypefaceSpan.java | 174 if ((fake & Typeface.BOLD) != 0) { in applyFontFamily()
|
/frameworks/minikin/tests/unittest/ |
D | FontFamilyTest.cpp | 793 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 …]
|
D | FontCollectionItemizeTest.cpp | 129 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/ |
D | TypefaceTest.java | 63 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/ |
D | Font.java | 86 BOLD, enumConstant 142 case BOLD: in getFontFileName()
|
/frameworks/base/services/core/java/com/android/server/input/debug/ |
D | RotaryInputValueView.java | 68 setTypeface(null, Typeface.BOLD); in RotaryInputValueView()
|
/frameworks/base/startop/apps/test/src/ |
D | InteractiveMicrobenchmarkActivity.java | 57 header.setTypeface(header.getTypeface(), Typeface.BOLD); in addHeader()
|
/frameworks/minikin/include/minikin/ |
D | FontStyle.h | 36 BOLD = 700, enumerator
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/ |
D | BenchmarkListAdapter.java | 94 title.setTypeface(null, Typeface.BOLD); in getGroupView()
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | TextPerfUtils.java | 50 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/ |
D | AnnotatedStringResource.kt | 74 Typeface.BOLD -> addStyle( in AnnotatedString()
|
/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
D | TextViewOnMeasurePerfTest.java | 75 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | RSTestCore.java | 99 mFont = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8); in init()
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | RSTestCore.java | 103 mFont = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8); in init()
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
D | RSTestCore.java | 103 mFont = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8); in init()
|
/frameworks/base/core/java/android/text/ |
D | Html.java | 519 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/ |
D | Watermark.java | 89 mTextPaint.setTypeface(Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD)); in Watermark()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 203 @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/ |
D | SpannedTest.java | 76 CharacterStyle mark = new StyleSpan(Typeface.BOLD); in testWrapParcel()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | BatteryMeterDrawableBase.java | 142 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/ |
D | BatteryLayersDrawable.kt | 295 private val PercentFont = Typeface.create("google-sans", Typeface.BOLD)
|
/frameworks/base/core/java/android/app/ |
D | ProgressDialog.java | 222 tmp.setSpan(new StyleSpan(android.graphics.Typeface.BOLD), in onCreate()
|
/frameworks/base/core/tests/InputMethodCoreTests/src/android/view/inputmethod/ |
D | TextAppearanceInfoTest.java | 156 StyleSpan styleSpan = new StyleSpan(Typeface.BOLD); in testCreateFromTextView_withSpan2()
|