Home
last modified time | relevance | path

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

123

/aosp12/frameworks/minikin/tests/unittest/
H A DFontFamilyTest.cpp706 constexpr FontStyle::Weight BOLD = FontStyle::Weight::BOLD; in TEST_F() local
714 FontStyle(BOLD, UPRIGHT), // 1 in TEST_F()
716 FontStyle(BOLD, ITALIC), // 3 in TEST_F()
724 FontStyle(BOLD, UPRIGHT), // 4 in TEST_F()
730 FontStyle(BOLD, ITALIC), // 10 in TEST_F()
741 {FontStyle(BOLD), {FontStyle(NORMAL), FontStyle(BOLD)}, 1}, in TEST_F()
742 {FontStyle(BOLD), {FontStyle(LIGHT), FontStyle(BOLD)}, 1}, in TEST_F()
749 {FontStyle(BOLD), {FontStyle(LIGHT), FontStyle(NORMAL), FontStyle(BOLD)}, 2}, in TEST_F()
757 {FontStyle(BOLD, ITALIC), STANDARD_SET, 3}, in TEST_F()
760 {FontStyle(BOLD, UPRIGHT), FULL_SET, 4}, in TEST_F()
[all …]
/aosp12/frameworks/base/core/tests/coretests/src/android/graphics/
H A DTypefaceTest.java62 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC,
100 assertTrue("style", mFaces[1].getStyle() == Typeface.BOLD); in testStyles()
102 assertTrue("style", mFaces[3].getStyle() == Typeface.BOLD); in testStyles()
233 assertEquals(Typeface.BOLD, Typeface.DEFAULT_BOLD.getStyle()); in testSetSystemFontMap()
/aosp12/frameworks/base/core/java/android/text/style/
H A DStyleSpan.java163 if ((style & Typeface.BOLD) != 0) { in apply()
176 if ((fake & Typeface.BOLD) != 0) { in apply()
H A DTypefaceSpan.java174 if ((fake & Typeface.BOLD) != 0) { in applyFontFamily()
/aosp12/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()
/aosp12/packages/apps/Dialer/java/com/android/dialer/searchfragment/common/
H A DQueryBoldingUtil.java106 new StyleSpan(Typeface.BOLD), in getNameWithInitialsBolded()
164 new StyleSpan(Typeface.BOLD), index, index + numBolded, Spanned.SPAN_INCLUSIVE_EXCLUSIVE); in getBoldedString()
/aosp12/frameworks/base/rs/java/android/renderscript/
H A DFont.java86 BOLD, enumConstant
142 case BOLD: in getFontFileName()
/aosp12/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
H A DJobInfoRowArrayAdapter.java18 import static android.graphics.Typeface.BOLD;
136 sb.setSpan(new StyleSpan(BOLD), start, end, Spannable.SPAN_INCLUSIVE_INCLUSIVE); in applyColorAndBoldness()
/aosp12/packages/apps/Messaging/src/com/android/messaging/util/
H A DTypefaces.java33 sRobotoBold = Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD); in getRobotoBold()
/aosp12/frameworks/layoutlib/bridge/src/android/graphics/
H A DTypeface_Delegate.java132 int style = weight >= 600 ? (italic ? Typeface.BOLD_ITALIC : Typeface.BOLD) : in nativeCreateFromTypefaceWithExactStyle()
191 int style = weight >= 600 ? (italic == 1 ? Typeface.BOLD_ITALIC : Typeface.BOLD) : in nativeCreateFromArray()
350 ((style & Font.BOLD) == 0 ? 0 : FontFamily_Delegate.BOLD_FONT_WEIGHT_DELTA); in FontsIterator()
/aosp12/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
H A DNewVoicemailViewHolder.java204 primaryTextView.setTypeface(Typeface.DEFAULT, Typeface.BOLD); in boldViewHolderIfUnread()
205 secondaryTextView.setTypeface(Typeface.DEFAULT, Typeface.BOLD); in boldViewHolderIfUnread()
206 transcriptionTextView.setTypeface(Typeface.DEFAULT, Typeface.BOLD); in boldViewHolderIfUnread()
/aosp12/frameworks/minikin/include/minikin/
H A DFontStyle.h34 BOLD = 700, enumerator
/aosp12/frameworks/base/startop/apps/test/src/
H A DInteractiveMicrobenchmarkActivity.java57 header.setTypeface(header.getTypeface(), Typeface.BOLD); in addHeader()
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/
H A DTextInfoCompatUtilsTests.java46 final private static StyleSpan TEST_STYLE_SPAN = new StyleSpan(Typeface.BOLD);
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DStringTexture.java63 paint.setTypeface(Typeface.defaultFromStyle(Typeface.BOLD)); in newInstance()
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/format/
H A DTextHighlighterTest.java38 mTextHighlighter = new TextHighlighter(Typeface.BOLD); in setUp()
/aosp12/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/
H A DContactListActivity.java151 t1.setTypeface(null, Typeface.BOLD); in initListView()
152 t2.setTypeface(null, Typeface.BOLD); in initListView()
/aosp12/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
H A DBenchmarkListAdapter.java94 title.setTypeface(null, Typeface.BOLD); in getGroupView()
/aosp12/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastListItem.java86 messageText.setSpan(new StyleSpan(Typeface.BOLD), 0, messageText.length(), in bind()
/aosp12/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()
861 end(mSpannableStringBuilder, Bold.class, new StyleSpan(Typeface.BOLD)); in handleEndTag()
863 end(mSpannableStringBuilder, Bold.class, new StyleSpan(Typeface.BOLD)); in handleEndTag()
1032 new StyleSpan(Typeface.BOLD)); in endHeading()
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/text/
H A DTextPerfUtils.java50 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/widget/
H A DTextViewOnMeasurePerfTest.java75 Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC
/aosp12/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
H A DRSTestCore.java99 mFont = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8); in init()
/aosp12/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
H A DRSTestCore.java103 mFont = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8); in init()
/aosp12/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
H A DRSTestCore.java103 mFont = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8); in init()

123