Home
last modified time | relevance | path

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

12

/frameworks/support/core/ktx/src/androidTest/java/androidx/core/text/
DSpannableStringTest.kt19 import android.graphics.Typeface.BOLD
34 val bold = StyleSpan(BOLD) in toSpannableString()
42 val bold = StyleSpan(BOLD) in minusAssign()
51 s += StyleSpan(BOLD) in clearSpans()
60 s[0, 5] = StyleSpan(BOLD) in setIndices()
76 s[0..5] = StyleSpan(BOLD) in setRange()
DSpannedStringTest.kt19 import android.graphics.Typeface.BOLD
34 val bold = StyleSpan(BOLD) in toSpanned()
DSpannableStringBuilderTest.kt21 import android.graphics.Typeface.BOLD
47 val bold = StyleSpan(BOLD) in builderInSpan()
78 assertEquals(BOLD, bold.style) in builderBold()
277 assertEquals(BOLD, bold.style) in nested()
/frameworks/minikin/tests/unittest/
DFontFamilyTest.cpp656 constexpr FontStyle::Weight BOLD = FontStyle::Weight::BOLD; in TEST_F() local
664 FontStyle(BOLD, UPRIGHT), // 1 in TEST_F()
666 FontStyle(BOLD, ITALIC), // 3 in TEST_F()
674 FontStyle(BOLD, UPRIGHT), // 4 in TEST_F()
680 FontStyle(BOLD, ITALIC), // 10 in TEST_F()
691 {FontStyle(BOLD), {FontStyle(NORMAL), FontStyle(BOLD)}, 1}, in TEST_F()
692 {FontStyle(BOLD), {FontStyle(LIGHT), FontStyle(BOLD)}, 1}, in TEST_F()
694 {FontStyle(LIGHT), {FontStyle(BOLD), FontStyle(LIGHT)}, 1}, in TEST_F()
696 {FontStyle(NORMAL), {FontStyle(NORMAL), FontStyle(BOLD)}, 0}, in TEST_F()
697 {FontStyle(LIGHT), {FontStyle(LIGHT), FontStyle(NORMAL), FontStyle(BOLD)}, 0}, in TEST_F()
[all …]
/frameworks/support/core/ktx/src/main/java/androidx/core/text/
DSpannableStringBuilder.kt19 import android.graphics.Typeface.BOLD
84 inSpans(StyleSpan(BOLD), builderAction = builderAction)
/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
139 case BOLD: in getFontFileName()
/frameworks/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java141 int style = weight >= 600 ? (italic ? Typeface.BOLD_ITALIC : Typeface.BOLD) : in nativeCreateFromTypefaceWithExactStyle()
192 int style = weight >= 600 ? (italic == 1 ? Typeface.BOLD_ITALIC : Typeface.BOLD) : in nativeCreateFromArray()
333 ((inputStyle & Font.BOLD) == 0 ? 0 : FontFamily_Delegate.BOLD_FONT_WEIGHT_DELTA); in computeFonts()
410 ((style & Font.BOLD) == 0 ? 0 : FontFamily_Delegate.BOLD_FONT_WEIGHT_DELTA);
/frameworks/base/core/tests/coretests/src/android/graphics/
DTypefaceTest.java79 assertTrue("style", mFaces[1].getStyle() == Typeface.BOLD); in testStyles()
81 assertTrue("style", mFaces[3].getStyle() == Typeface.BOLD); in testStyles()
/frameworks/minikin/include/minikin/
DFontStyle.h32 BOLD = 700, enumerator
/frameworks/support/compat/src/androidTest/java/androidx/core/graphics/
DTypefaceCompatTest.java205 R.font.styletest_async_providerfont, Typeface.BOLD, callback3, in testCreateFromResourcesFamilyXml_resourceFont_asyncloading()
339 R.font.styletestfont, Typeface.BOLD, null /* callback */, null /* handler */, in testCreateFromResourcesFamilyXml_resourceFont()
342 mResources, R.font.styletestfont, Typeface.BOLD); in testCreateFromResourcesFamilyXml_resourceFont()
345 typeface = Typeface.create(typeface, Typeface.BOLD); in testCreateFromResourcesFamilyXml_resourceFont()
/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.java272 if ((fake & Typeface.BOLD) != 0) { in updateMeasureState()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DTextPerfUtils.java55 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DBenchmarkListAdapter.java94 title.setTypeface(null, Typeface.BOLD); in getGroupView()
/frameworks/base/core/java/android/text/
DHtml.java515 if ((s & Typeface.BOLD) != 0) { in withinParagraph()
620 if ((s & Typeface.BOLD) != 0) { in withinParagraph()
856 end(mSpannableStringBuilder, Bold.class, new StyleSpan(Typeface.BOLD)); in handleEndTag()
858 end(mSpannableStringBuilder, Bold.class, new StyleSpan(Typeface.BOLD)); in handleEndTag()
1027 new StyleSpan(Typeface.BOLD)); in endHeading()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewOnMeasurePerfTest.java79 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/support/compat/src/main/java/androidx/core/graphics/
DTypefaceCompatBaseImpl.java52 final int targetWeight = (style & Typeface.BOLD) == 0 ? 400 : 700; in findBestFont()
/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/graphics/java/android/graphics/
DTypeface.java131 @IntDef(value = {NORMAL, BOLD, ITALIC, BOLD_ITALIC})
137 public static final int BOLD = 1; field in Typeface
182 return (mStyle & BOLD) != 0; in isBold()
1143 DEFAULT_BOLD = create((String) null, Typeface.BOLD);
/frameworks/base/services/core/java/com/android/server/wm/
DWatermark.java91 mTextPaint.setTypeface(Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD)); in Watermark()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java135 message.setSpan(new StyleSpan(Typeface.BOLD), in onCreate()

12