Home
last modified time | relevance | path

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

1234

/packages/apps/Terminal/src/com/android/terminal/
DTerminalView.java89 setTextSize(20); in TerminalMetrics()
92 public void setTextSize(float textSize) { in setTextSize() method in TerminalView.TerminalMetrics
95 textPaint.setTextSize(textSize); in setTextSize()
300 public void setTextSize(float textSize) { in setTextSize() method in TerminalView
301 mMetrics.setTextSize(textSize); in setTextSize()
/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/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/Settings/src/com/android/settings/widget/
DDonutView.java127 mTextPaint.setTextSize( in DonutView()
135 mBigNumberPaint.setTextSize( in DonutView()
204 mTextPaint.setTextSize( in setPercentage()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DDonutView.java127 mTextPaint.setTextSize( in DonutView()
135 mBigNumberPaint.setTextSize( in DonutView()
204 mTextPaint.setTextSize( in setPercentage()
/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/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/DeskClock/src/com/android/deskclock/widget/
DTextSizeHelper.java100 mMeasurePaint.setTextSize(midTextSize); in adjustTextSize()
115 mTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); in adjustTextSize()
/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/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.java411 clock.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mClockFontSizePx); in measure()
412 date.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mFontSizePx); in measure()
413 nextAlarm.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mFontSizePx); in measure()
414 nextAlarmIcon.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mIconFontSizePx); in measure()
DDigitalAppWidgetProvider.kt480 clock.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mClockFontSizePx.toFloat()) in <lambda>()
481 date.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mFontSizePx.toFloat()) in <lambda>()
482 nextAlarm.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mFontSizePx.toFloat()) in <lambda>()
483 nextAlarmIcon.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mIconFontSizePx.toFloat()) in <lambda>()
/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/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/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/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/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.java164 setTextSize(TypedValue.COMPLEX_UNIT_PX, grid.iconTextSizePx); in BubbleTextView()
170 setTextSize(TypedValue.COMPLEX_UNIT_PX, grid.allAppsIconTextSizePx); in BubbleTextView()
176 setTextSize(TypedValue.COMPLEX_UNIT_PX, grid.folderChildTextSizePx); in BubbleTextView()
/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/DeskClock/src/com/android/deskclock/worldclock/
DCitySelectionActivity.kt329 holder.index.setTextSize(TypedValue.COMPLEX_UNIT_SP, 24f) in getView()
333 holder.index.setTextSize(TypedValue.COMPLEX_UNIT_SP, 14f) in getView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DPresetPreference.java59 previewText.setTextSize(DEFAULT_FONT_SIZE * density); in onBindListItem()

1234