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/UnifiedEmail/src/com/android/mail/text/
DFolderSpan.java56 p.setTextSize(mRes.folderFontSize); in getWidth()
62 p.setTextSize(mRes.folderFontSize); in getHeight()
77 mWorkPaint.setTextSize(mRes.folderFontSize); 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/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/Settings/src/com/android/settings/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/TV/tuner/src/com/android/tv/tuner/cc/
DCaptionWindowLayout.java370 paint.setTextSize(mTextSize); in initWindow()
509 paint.setTextSize(testTextSize); in updateTextSize()
524 paint.setTextSize(mTextSize); in updateTextSize()
527 mSubtitleView.setTextSize(mTextSize); in updateTextSize()
/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()
/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/UnifiedEmail/src/com/android/mail/browse/
DConversationItemView.java313 sFoldersPaint.setTextSize(coordinates.foldersFontSize); in drawFolders()
871 mSendersTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX, mCoordinates.sendersFontSize); in layoutParticipantText()
902 mSubjectTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX, mCoordinates.subjectFontSize); in createSubject()
919 mSnippetTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX, mCoordinates.snippetFontSize); in createSnippet()
962 sPaint.setTextSize(mCoordinates.dateFontSize); in calculateCoordinates()
1018 sPaint.setTextSize(mCoordinates.sendersFontSize); in calculateCoordinates()
1189 sPaint.setTextSize(mCoordinates.sendersFontSize); in onDraw()
1253 sPaint.setTextSize(mCoordinates.dateFontSize); in onDraw()
/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/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()
810 paint.setTextSize(mLabelTextSize); in onBufferDraw()
812 paint.setTextSize(mKeyPunctuationSize); in onBufferDraw()
814 paint.setTextSize(mKeyTextSize); in onBufferDraw()
1041 mPreviewText.setTextSize(TypedValue.COMPLEX_UNIT_PX, mKeyTextSize); in showKey()
1044 mPreviewText.setTextSize(TypedValue.COMPLEX_UNIT_PX, mPreviewTextSizeLarge); in showKey()
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java159 setTextSize(TypedValue.COMPLEX_UNIT_PX, grid.iconTextSizePx); in BubbleTextView()
164 setTextSize(TypedValue.COMPLEX_UNIT_PX, grid.allAppsIconTextSizePx); in BubbleTextView()
169 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DPresetPreference.java59 previewText.setTextSize(DEFAULT_FONT_SIZE * density); in onBindListItem()
/packages/apps/Settings/src/com/android/settings/accessibility/
DPresetPreference.java59 previewText.setTextSize(DEFAULT_FONT_SIZE * density); in onBindListItem()

1234