Home
last modified time | relevance | path

Searched refs:setTextSize (Results 1 – 25 of 81) sorted by relevance

1234

/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/view/
DScaleSpan.java41 public void setTextSize(float textSize) { in setTextSize() method in ScaleSpan
52 textPaint.setTextSize(Math.max(mStartTextSize, paint.getTextSize())); in getSize()
64 paint.setTextSize(mTextSize); in draw()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
DFontScalePreviewFragment.java62 title.setTextSize(TypedValue.COMPLEX_UNIT_PX, adjustedTextSizeTitle); in onCreateView()
67 subtitle.setTextSize(TypedValue.COMPLEX_UNIT_PX, adjustedTextSizeSubtitle); in onCreateView()
72 sampleContent.setTextSize(TypedValue.COMPLEX_UNIT_PX, adjustedTextSizeContent); in onCreateView()
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleWeekView.java321 p.setTextSize(MINI_DAY_NUMBER_TEXT_SIZE); in initView()
327 mMonthNumPaint.setTextSize(MINI_DAY_NUMBER_TEXT_SIZE); in initView()
436 p.setTextSize(MINI_WK_NUMBER_TEXT_SIZE); in drawWeekNums()
455 mMonthNumPaint.setTextSize(MINI_TODAY_NUMBER_TEXT_SIZE); in drawWeekNums()
461 mMonthNumPaint.setTextSize(MINI_DAY_NUMBER_TEXT_SIZE); in drawWeekNums()
DMonthWeekEventsView.java401 mMonthNumPaint.setTextSize(TEXT_SIZE_MONTH_NUMBER); in initView()
413 mEventPaint.setTextSize(TEXT_SIZE_EVENT_TITLE); in initView()
423 mDeclinedEventPaint.setTextSize(TEXT_SIZE_EVENT_TITLE); in initView()
433 mEventExtrasPaint.setTextSize(TEXT_SIZE_EVENT); in initView()
445 mEventDeclinedExtrasPaint.setTextSize(TEXT_SIZE_EVENT); in initView()
453 mWeekNumPaint.setTextSize(TEXT_SIZE_WEEK_NUM); in initView()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardView.java399 paint.setTextSize(key.selectTextSize(params)); in onDrawKeyTopVisuals()
420 paint.setTextSize(autoSize); in onDrawKeyTopVisuals()
449 paint.setTextSize(key.selectHintTextSize(params)); in onDrawKeyTopVisuals()
521 paint.setTextSize(params.mHintLetterSize); in drawKeyPopupHint()
543 paint.setTextSize(mKeyDrawParams.mLabelSize); in newLabelPaint()
547 paint.setTextSize(key.selectTextSize(mKeyDrawParams)); in newLabelPaint()
/packages/apps/Dialer/java/com/android/incallui/autoresizetext/
DAutoResizeTextView.java94 public final void setTextSize(int unit, float size) { in setTextSize() method in AutoResizeTextView
164 super.setTextSize(resizeStepUnit, textSize); in adjustTextSize()
168 textPaint.setTextSize(suggestedSizeInPx); in suggestedSizeFitsInSpace()
/packages/apps/PhoneCommon/src/com/android/phone/common/util/
DViewUtil.java99 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, originalTextSize); in resizeText()
102 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, in resizeText()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/
DSubtitleView.java124 setTextSize(textSize); in SubtitleView()
149 public void setTextSize(float size) { in setTextSize() method in SubtitleView
151 mTextPaint.setTextSize(size); in setTextSize()
/packages/apps/Dialer/java/com/android/dialer/util/
DViewUtil.java80 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, originalTextSize); in resizeText()
83 textView.setTextSize( in resizeText()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
DFramedTextButton.java40 public static void setTextSize(int value) { in setTextSize() method in FramedTextButton
126 gPaint.setTextSize(mTextSize); in onDraw()
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.kt484 clock.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mClockFontSizePx.toFloat()) in <lambda>()
485 date.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mFontSizePx.toFloat()) in <lambda>()
486 nextAlarm.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mFontSizePx.toFloat()) in <lambda>()
487 nextAlarmIcon.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mIconFontSizePx.toFloat()) in <lambda>()
/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/widgets/countdown/
DCountDownRenderer.java138 mTimerTextPaint.setTextSize(textSizeToBoundsRatio * totalDiameter); in updateBounds()
139 mUnitTextPaint.setTextSize( in updateBounds()
/packages/apps/TV/tuner/src/com/android/tv/tuner/cc/
DCaptionWindowLayout.java413 paint.setTextSize(mTextSize); in initWindow()
577 paint.setTextSize(testTextSize); in updateTextSize()
592 paint.setTextSize(mTextSize); in updateTextSize()
599 mSubtitleView.setTextSize(mTextSize); in updateTextSize()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DSnackbar.java110 labelView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSizePx); in show()
111 actionView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSizePx); in show()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java803 mEventTextPaint.setTextSize(EVENT_TEXT_FONT_SIZE); in init()
843 p.setTextSize(DATE_HEADER_FONT_SIZE); in init()
847 p.setTextSize(DAY_HEADER_FONT_SIZE); in init()
850 p.setTextSize(HOURS_TEXT_SIZE); in init()
857 p.setTextSize(AMPM_TEXT_SIZE); in init()
1215 p.setTextSize(HOURS_TEXT_SIZE); in onSizeChanged()
2131 p.setTextSize(AMPM_TEXT_SIZE); in drawAmPm()
2216 p.setTextSize(HOURS_TEXT_SIZE); in setupHourTextPaint()
2239 p.setTextSize(DATE_HEADER_FONT_SIZE); in drawDayHeader()
2246 p.setTextSize(DAY_HEADER_FONT_SIZE); in drawDayHeader()
[all …]
DDayOfMonthDrawable.java45 mPaint.setTextSize(mTextSize); in DayOfMonthDrawable()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardView.java125 mPaint.setTextSize(mKeyTextSize); in LeanbackKeyboardView()
311 paint.setTextSize(mModeChangeTextSize); in createKeyImageView()
314 paint.setTextSize(mKeyTextSize); in createKeyImageView()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java366 mPaint.setTextSize(mKeyTextSize); in KeyboardView()
813 paint.setTextSize(mLabelTextSize); in onBufferDraw()
815 paint.setTextSize(mKeyPunctuationSize); in onBufferDraw()
817 paint.setTextSize(mKeyTextSize); in onBufferDraw()
1044 mPreviewText.setTextSize(TypedValue.COMPLEX_UNIT_PX, mKeyTextSize); in showKey()
1047 mPreviewText.setTextSize(TypedValue.COMPLEX_UNIT_PX, mPreviewTextSizeLarge); in showKey()
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java179 setTextSize(TypedValue.COMPLEX_UNIT_PX, grid.iconTextSizePx); in BubbleTextView()
184 setTextSize(TypedValue.COMPLEX_UNIT_PX, grid.allAppsIconTextSizePx); in BubbleTextView()
188 setTextSize(TypedValue.COMPLEX_UNIT_PX, grid.folderChildTextSizePx); in BubbleTextView()
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
DDaveyView.java55 mPaint.setTextSize(20); in DaveyView()
/packages/apps/Settings/src/com/android/settings/accessibility/
DPresetPreference.java59 previewText.setTextSize(DEFAULT_FONT_SIZE * density); in onBindListItem()
DEdgeTypePreference.java62 preview.setTextSize(DEFAULT_FONT_SIZE * density); in onBindListItem()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/input/
DInputTestFragment.java260 steeringWheelLabel.setTextSize(getResources().getDimension(R.dimen.car_title2_size)); in onCreateView()
305 button.setTextSize(getResources().getDimension(R.dimen.car_button_text_size)); in createButton()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DDeferredAppWidgetHostView.java46 mPaint.setTextSize(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_PX, in DeferredAppWidgetHostView()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DUserRestrictionAdapter.java67 checkBox.setTextSize(resources.getDimensionPixelSize(R.dimen.users_checkbox_text_size)); in createCheckBox()

1234