/frameworks/support/core/ktx/src/androidTest/java/androidx/core/text/ |
D | SpannableStringTest.kt | 19 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()
|
D | SpannedStringTest.kt | 19 import android.graphics.Typeface.BOLD 34 val bold = StyleSpan(BOLD) in toSpanned()
|
D | SpannableStringBuilderTest.kt | 21 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/ |
D | FontFamilyTest.cpp | 656 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/ |
D | SpannableStringBuilder.kt | 19 import android.graphics.Typeface.BOLD 84 inSpans(StyleSpan(BOLD), builderAction = builderAction)
|
/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/ |
D | NotificationTests.java | 177 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/ |
D | Font.java | 84 BOLD, enumConstant 139 case BOLD: in getFontFileName()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Typeface_Delegate.java | 141 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/ |
D | TypefaceTest.java | 79 assertTrue("style", mFaces[1].getStyle() == Typeface.BOLD); in testStyles() 81 assertTrue("style", mFaces[3].getStyle() == Typeface.BOLD); in testStyles()
|
/frameworks/minikin/include/minikin/ |
D | FontStyle.h | 32 BOLD = 700, enumerator
|
/frameworks/support/compat/src/androidTest/java/androidx/core/graphics/ |
D | TypefaceCompatTest.java | 205 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/ |
D | StyleSpan.java | 134 if ((fake & Typeface.BOLD) != 0) { in apply()
|
D | TypefaceSpan.java | 174 if ((fake & Typeface.BOLD) != 0) { in applyFontFamily()
|
D | TextAppearanceSpan.java | 272 if ((fake & Typeface.BOLD) != 0) { in updateMeasureState()
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | TextPerfUtils.java | 55 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC
|
/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/core/java/android/text/ |
D | Html.java | 515 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/ |
D | TextViewOnMeasurePerfTest.java | 79 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/support/compat/src/main/java/androidx/core/graphics/ |
D | TypefaceCompatBaseImpl.java | 52 final int targetWeight = (style & Typeface.BOLD) == 0 ? 400 : 700; in findBestFont()
|
/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/graphics/java/android/graphics/ |
D | Typeface.java | 131 @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/ |
D | Watermark.java | 91 mTextPaint.setTypeface(Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD)); in Watermark()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaProjectionPermissionActivity.java | 135 message.setSpan(new StyleSpan(Typeface.BOLD), in onCreate()
|