Home
last modified time | relevance | path

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

1234

/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/Launcher3/src/com/android/launcher3/
DDropTargetBar.java124 button.setTextSize(TypedValue.COMPLEX_UNIT_PX, grid.dropTargetTextSizePx); in setInsets()
150 firstButton.setTextSize(TypedValue.COMPLEX_UNIT_PX, in onMeasure()
162 firstButton.setTextSize(TypedValue.COMPLEX_UNIT_PX, dp.dropTargetTextSizePx); in onMeasure()
171 secondButton.setTextSize(TypedValue.COMPLEX_UNIT_PX, dp.dropTargetTextSizePx); in onMeasure()
223 firstButton.setTextSize(minTextSize); in onMeasure()
224 secondButton.setTextSize(minTextSize); in onMeasure()
/packages/modules/Bluetooth/android/ChannelSoundingTestApp/app/src/main/java/com/android/bluetooth/channelsoundingtestapp/
DCanvasView.java64 mTextPaint.setTextSize(24); in onDraw()
87 mTextPaint.setTextSize(32); in onDraw()
94 mPaint.setTextSize(16); in onDraw()
95 mTextPaint.setTextSize(24); in onDraw()
/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/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/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/Calendar/src/com/android/calendar/month/
DSimpleWeekView.kt241 p.setTextSize(MINI_DAY_NUMBER_TEXT_SIZE.toFloat()) in initView()
246 mMonthNumPaint.setTextSize(MINI_DAY_NUMBER_TEXT_SIZE.toFloat()) in initView()
353 p.setTextSize(MINI_WK_NUMBER_TEXT_SIZE.toFloat()) in drawWeekNums()
371 mMonthNumPaint.setTextSize(MINI_TODAY_NUMBER_TEXT_SIZE.toFloat()) in drawWeekNums()
378 mMonthNumPaint.setTextSize(MINI_DAY_NUMBER_TEXT_SIZE.toFloat()) in drawWeekNums()
DMonthWeekEventsView.kt327 mMonthNumPaint.setTextSize(TEXT_SIZE_MONTH_NUMBER.toFloat()) in initView()
337 mEventPaint.setTextSize(TEXT_SIZE_EVENT_TITLE.toFloat()) in initView()
345 mDeclinedEventPaint?.setTextSize(TEXT_SIZE_EVENT_TITLE.toFloat()) in initView()
353 mEventExtrasPaint.setTextSize(TEXT_SIZE_EVENT.toFloat()) in initView()
364 mEventDeclinedExtrasPaint.setTextSize(TEXT_SIZE_EVENT.toFloat()) in initView()
371 mWeekNumPaint.setTextSize(TEXT_SIZE_WEEK_NUM.toFloat()) in initView()
/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/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/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/widgets/countdown/
DCountDownRenderer.java138 mTimerTextPaint.setTextSize(textSizeToBoundsRatio * totalDiameter); in updateBounds()
139 mUnitTextPaint.setTextSize( in updateBounds()
/packages/apps/Settings/src/com/android/settings/accessibility/
DCaptionHelper.java93 previewText.setTextSize(virtualHeight * LINE_HEIGHT_RATIO * fontScale); in applyCaptionProperties()
97 previewText.setTextSize(textSize * fontScale); in applyCaptionProperties()
DPresetPreference.java56 previewText.setTextSize(DEFAULT_FONT_SIZE * density); in onBindListItem()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DCaptionHelperTest.java86 verify(mSubtitleView).setTextSize(textSize); in applyCaptionProperties_verifyAction()
100 verify(mSubtitleView).setTextSize(textSize); in applyCaptionProperties_withoutPreviewWindow_verifyAction()
/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/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.java162 labelView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSizePx); in show()
163 actionView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSizePx); in show()
/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/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
DDaveyView.java55 mPaint.setTextSize(20); in DaveyView()
/packages/apps/Calendar/src/com/android/calendar/
DDayOfMonthDrawable.kt71 mPaint.setTextSize(mTextSize)
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDialogHelper.java43 messageView.setTextSize(TypedValue.COMPLEX_UNIT_DIP, 14); in updateMessageStyle()
/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()
/packages/apps/Settings/src/com/android/settings/password/
DPasswordRequirementAdapter.java78 holder.mDescriptionText.setTextSize(fontSize / mContext.getResources() in onBindViewHolder()
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/view/
DZoomKnob.java59 setTextSize(textSizeSp); in initialize()

1234