Home
last modified time | relevance | path

Searched refs:setTypeface (Results 1 – 25 of 92) sorted by relevance

1234

/aosp12/frameworks/base/core/tests/coretests/src/android/graphics/
H A DTypefaceSystemFallbackTest.java277 paint.setTypeface(testTypeface); in testBuildSystemFallback_NamedFamily()
284 paint.setTypeface(test2Typeface); in testBuildSystemFallback_NamedFamily()
323 paint.setTypeface(testTypeface); in testBuildSystemFallback_defaultFallback()
368 paint.setTypeface(testTypeface); in testBuildSystemFallback_namedFallbackFamily()
418 paint.setTypeface(testTypeface); in testBuildSystemFallback_namedFallbackFamily2()
457 paint.setTypeface(testTypeface); in testBuildSystemFallback_ImplicitSansSerifFallback()
496 paint.setTypeface(testTypeface); in testBuildSystemFallback_ElegantFallback()
535 paint.setTypeface(testTypeface); in testBuildSystemFallback_ElegantFallback_customFallback()
548 paint.setTypeface(testTypeface); in testBuildSystemFallback_ElegantFallback_customFallback()
625 paint.setTypeface(testTypeface); in testBuildSystemFallback_ElegantFallback_customFallback_missingFile()
[all …]
H A DPaintTest.java82 paint.setTypeface(fontTypeface); in testHintingWidth()
125 p.setTypeface(fontTypeface); in testHasGlyph_variationSelectors()
349 p.setTypeface(fontTypeface); in testGetUnderlinePositionAndThickness()
H A DTypefaceTest.java118 p.setTypeface(mFaces[j]); in testUniformY()
254 paint.setTypeface(typeface); in measureText()
/aosp12/frameworks/base/core/tests/coretests/src/android/text/
H A DTextLineTest.java131 paint.setTypeface(TYPEFACE); in testMeasure_LTR()
144 paint.setTypeface(TYPEFACE); in testMeasure_RTL()
157 paint.setTypeface(TYPEFACE); in testMeasure_BiDi()
174 paint.setTypeface(TYPEFACE); in testMeasure_BiDi2()
187 paint.setTypeface(TYPEFACE); in testMeasure_BiDi3()
202 paint.setTypeface(TYPEFACE); in testMeasure_Tab_LTR()
217 paint.setTypeface(TYPEFACE); in testMeasure_Tab_RTL()
232 paint.setTypeface(TYPEFACE); in testMeasure_Tab_BiDi()
247 paint.setTypeface(TYPEFACE); in testMeasure_Tab_BiDi2()
260 paint.setTypeface(TYPEFACE); in testMeasure_wordSpacing()
/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()
240 primaryTextView.setTypeface(null, Typeface.NORMAL); in reset()
241 secondaryTextView.setTypeface(null, Typeface.NORMAL); in reset()
242 transcriptionTextView.setTypeface(null, Typeface.NORMAL); in reset()
295 primaryTextView.setTypeface(Typeface.DEFAULT, Typeface.NORMAL); in expandAndBindViewHolderAndMediaPlayerViewWithAdapterValues()
296 secondaryTextView.setTypeface(Typeface.DEFAULT, Typeface.NORMAL); in expandAndBindViewHolderAndMediaPlayerViewWithAdapterValues()
297 transcriptionTextView.setTypeface(Typeface.DEFAULT, Typeface.NORMAL); in expandAndBindViewHolderAndMediaPlayerViewWithAdapterValues()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
H A DMediaOutputBaseAdapter.java165 mTitleText.setTypeface(Typeface.create(mContext.getString( in setSingleLineLayout()
169 mTitleText.setTypeface(Typeface.create(mContext.getString( in setSingleLineLayout()
200 mTwoLineTitleText.setTypeface(Typeface.create(mContext.getString( in setTwoLineLayout()
204 mTwoLineTitleText.setTypeface(Typeface.create(mContext.getString( in setTwoLineLayout()
280 toTitleText.setTypeface(Typeface.create(mContext.getString( in playSwitchingAnim()
306 fromTitleText.setTypeface(Typeface.create(mContext.getString( in playSwitchingAnim()
/aosp12/packages/apps/TV/src/com/android/tv/dvr/ui/
H A DDvrPrioritySettingsFragment.java246 titleView.setTypeface(titleView.getTypeface(), Typeface.ITALIC);
254 titleView.setTypeface(titleView.getTypeface(), Typeface.NORMAL);
262 titleView.setTypeface(titleView.getTypeface(), Typeface.NORMAL);
269 titleView.setTypeface(titleView.getTypeface(), Typeface.NORMAL);
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSDualTileLabel.java141 public void setTypeface(Typeface tf) { in setTypeface() method in QSDualTileLabel
142 mFirstLine.setTypeface(tf); in setTypeface()
143 mSecondLine.setTypeface(tf); in setTypeface()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
H A DConversationListItemView.java195 mConversationNameView.setTypeface(mListItemReadTypeface); in setConversationName()
198 mConversationNameView.setTypeface(mListItemUnreadTypeface); in setConversationName()
393 mSnippetTextView.setTypeface(typeface, typefaceStyle); in bind()
395 mSubjectTextView.setTypeface(typeface, typefaceStyle); in bind()
408 mTimestampTextView.setTypeface(mListItemReadTypeface, typefaceStyle); in bind()
422 mTimestampTextView.setTypeface(mListItemReadTypeface, typefaceStyle); in bind()
427 mTimestampTextView.setTypeface(mListItemReadTypeface, typefaceStyle); in bind()
/aosp12/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
H A DThemeInfoView.java63 mTitle.setTypeface(previewInfo.headlineFontFamily); in populateThemeInfo()
64 mFontPreviewTextView.setTypeface(previewInfo.headlineFontFamily); in populateThemeInfo()
H A DThemeOptionPreviewer.java256 mStatusBarClock.setTypeface(headlineFont); in setHeadlineFont()
257 mSmartSpaceDate.setTypeface(headlineFont); in setHeadlineFont()
261 colorIconsSectionTitle.setTypeface(headlineFont); in setHeadlineFont()
268 appName.setTypeface(bodyFont); in setBodyFont()
/aosp12/frameworks/base/core/java/android/text/style/
H A DTypefaceSpan.java157 paint.setTypeface(mTypeface); in updateTypeface()
181 paint.setTypeface(styledTypeface); in applyFontFamily()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKeyboardView.java398 paint.setTypeface(key.selectTypeface(params)); in onDrawKeyTopVisuals()
452 paint.setTypeface(Typeface.DEFAULT_BOLD); in onDrawKeyTopVisuals()
520 paint.setTypeface(params.mTypeface); in drawKeyPopupHint()
542 paint.setTypeface(mKeyDrawParams.mTypeface); in newLabelPaint()
546 paint.setTypeface(key.selectTypeface(mKeyDrawParams)); in newLabelPaint()
/aosp12/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/widgets/countdown/
H A DCountDownRenderer.java61 mTimerTextPaint.setTypeface(Typeface.SANS_SERIF); in CountDownRenderer()
65 mUnitTextPaint.setTypeface(Typeface.SANS_SERIF); in CountDownRenderer()
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/
H A DSubtitleView.java177 setTypeface(style.typeface); in setStyle()
190 private void setTypeface(Typeface typeface) { in setTypeface() method in SubtitleView
192 mTextPaint.setTypeface(typeface); in setTypeface()
/aosp12/packages/apps/Dialer/java/com/android/dialer/app/calllog/
H A DPhoneCallDetailsHelper.java278 views.nameView.setTypeface(typeface); in setPhoneCallDetails()
279 views.voicemailTranscriptionView.setTypeface(typeface); in setPhoneCallDetails()
280 views.voicemailTranscriptionBrandingView.setTypeface(typeface); in setPhoneCallDetails()
281 views.callLocationAndDate.setTypeface(typeface); in setPhoneCallDetails()
388 title.setTypeface(Typeface.create("sans-serif-medium", Typeface.NORMAL)); in showVoicemailDonationPromo()
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DSubtitleView.java196 public void setTypeface(Typeface typeface) { in setTypeface() method in SubtitleView
198 mTextPaint.setTypeface(typeface); in setTypeface()
288 setTypeface(typeface); in setStyle()
/aosp12/packages/apps/Contacts/src/com/android/contacts/lettertiles/
H A DLetterTileDrawable.java90 sPaint.setTypeface(Typeface.create( in LetterTileDrawable()
161 sPaint.setTypeface(Typeface.create("sans-serif", Typeface.NORMAL)); in drawLetterTile()
/aosp12/packages/apps/Calendar/src/com/android/calendar/
H A DDayOfMonthDrawable.java44 mPaint.setTypeface(Typeface.DEFAULT_BOLD); in DayOfMonthDrawable()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
H A DAudioRecordView.java197 mHintTextView.setTypeface(null, Typeface.NORMAL); in updateVisualState()
282 mHintTextView.setTypeface(null, Typeface.BOLD); in onRecordButtonTouchUp()
/aosp12/frameworks/base/startop/apps/test/src/
H A DInteractiveMicrobenchmarkActivity.java57 header.setTypeface(header.getTypeface(), Typeface.BOLD); in addHeader()
/aosp12/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/span/
H A DLinkSpan.java142 drawState.setTypeface(TYPEFACE_MEDIUM); in updateDrawState()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DStringTexture.java63 paint.setTypeface(Typeface.defaultFromStyle(Typeface.BOLD)); in newInstance()
/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/packages/apps/Dialer/java/com/android/dialer/lettertile/
H A DLetterTileDrawable.java132 paint.setTypeface(Typeface.create("sans-serif-medium", Typeface.NORMAL)); in LetterTileDrawable()
219 paint.setTypeface(Typeface.create("sans-serif", Typeface.NORMAL)); in drawLetterTile()

1234