Home
last modified time | relevance | path

Searched refs:getTextSize (Results 1 – 25 of 56) sorted by relevance

123

/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
H A DFontScalePreviewFragment.java61 (title.getTextSize() / current_font_scale) * preview_font_scale; in onCreateView()
66 (subtitle.getTextSize() / current_font_scale) * preview_font_scale; in onCreateView()
71 (sampleContent.getTextSize() / current_font_scale) * preview_font_scale; in onCreateView()
/aosp12/frameworks/base/core/java/android/text/style/
H A DRelativeSizeSpan.java93 ds.setTextSize(ds.getTextSize() * mProportion); in updateDrawState()
98 ds.setTextSize(ds.getTextSize() * mProportion); in updateMeasureState()
/aosp12/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/
H A DCarSetupWizardCompatLayoutTest.java518 assertThat(primary.getTextSize()) in testPartnerResourcesAreApplied()
579 assertThat(primaryButton.getTextSize()).isWithin(TOLERANCE).of(EXCEPTED_TEXT_SIZE); in test_bothButtons_areStyled_inDefaultLayout()
580 assertThat(secondaryButton.getTextSize()).isWithin(TOLERANCE).of(EXCEPTED_TEXT_SIZE); in test_bothButtons_areStyled_inDefaultLayout()
594 assertThat(primaryButton.getTextSize()).isWithin(TOLERANCE).of(EXCEPTED_TEXT_SIZE); in test_bothButtons_areStyled_inAlternativeLayout()
595 assertThat(secondaryButton.getTextSize()).isWithin(TOLERANCE).of(EXCEPTED_TEXT_SIZE); in test_bothButtons_areStyled_inAlternativeLayout()
/aosp12/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/
H A DAbstractDialpadFragment.java112 float startTextSize = mTitleView.getTextSize() * getResources().getFloat( in onViewCreated()
193 (float) valueAnimator.getAnimatedValue() * mTitleView.getTextSize(); in appendDialedNumber()
/aosp12/packages/apps/Dialer/java/com/android/dialer/widget/
H A DResizingTextEditText.java33 originalTextSize = (int) getTextSize(); in ResizingTextEditText()
H A DResizingTextTextView.java33 originalTextSize = (int) getTextSize(); in ResizingTextTextView()
/aosp12/packages/apps/PhoneCommon/src/com/android/phone/common/widget/
H A DResizingTextTextView.java36 mOriginalTextSize = (int) getTextSize(); in ResizingTextTextView()
H A DResizingTextEditText.java37 mOriginalTextSize = (int) getTextSize(); in ResizingTextEditText()
/aosp12/frameworks/base/graphics/java/android/graphics/
H A DPaint.java1749 public float getTextSize() { in getTextSize() method in Paint
2229 final float oldSize = getTextSize(); in measureText()
2260 final float oldSize = getTextSize(); in measureText()
2350 final float oldSize = getTextSize(); in breakText()
2438 final float oldSize = getTextSize(); in breakText()
2475 final float oldSize = getTextSize(); in getTextWidths()
2558 final float oldSize = getTextSize(); in getTextWidths()
2649 final float oldSize = getTextSize(); in getTextRunAdvances()
/aosp12/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/view/
H A DScaleSpan.java52 textPaint.setTextSize(Math.max(mStartTextSize, paint.getTextSize())); in getSize()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardClockSwitch.java310 public float getTextSize() { in getTextSize() method in KeyguardClockSwitch
311 return mClockView.getTextSize(); in getTextSize()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DTypefaceUtils.java73 final int labelSize = (int)paint.getTextSize(); in getCharGeometryCacheKey()
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/text/
H A DStaticLayoutGetOffsetForHorizontalPerfTest.java42 private static final int TEXT_WIDTH = WORDS_IN_LINE * WORD_LENGTH * (int) PAINT.getTextSize();
H A DStaticLayoutMultithreadPerfTest.java41 private static final int TEXT_WIDTH = WORDS_IN_LINE * WORD_LENGTH * (int) PAINT.getTextSize();
H A DPrecomputedTextPerfTest.java39 private static final int TEXT_WIDTH = WORDS_IN_LINE * WORD_LENGTH * (int) PAINT.getTextSize();
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DConfigurableTexts.java52 final float px = text.getTextSize(); in add()
/aosp12/frameworks/base/core/java/android/text/
H A DPrecomputedText.java294 return Objects.hash(mPaint.getTextSize(), mPaint.getTextScaleX(), mPaint.getTextSkewX(), in hashCode()
304 + "textSize=" + mPaint.getTextSize() in toString()
/aosp12/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZonePickerView.java122 int textSize = (int) (mAutoCompleteTextView.getTextSize() * 1.25); in updateHint()
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/
H A DSuggestionsPopupWindowTest.java281 final float expectedHighlightTextSize = tmpTp.getTextSize(); in testTextAppearanceInSuggestionsPopup()
339 assertEquals(expectedHighlightTextSize, tp.getTextSize(), 0f); in testTextAppearanceInSuggestionsPopup()
/aosp12/packages/apps/Dialer/java/com/android/incallui/autoresizetext/
H A DAutoResizeTextView.java146 maxTextSize = (int) getTextSize(); in readAttrs()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DIconView.java138 public int getTextSize() { in getTextSize() method in IconView
/aosp12/frameworks/base/core/java/android/webkit/
H A DWebSettings.java575 public synchronized TextSize getTextSize() { in getTextSize() method in WebSettings
/aosp12/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DAssistVisualizer.java55 this.textSize = node.getTextSize(); in TextEntry()
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/
H A DSubtitleView.java150 if (mTextPaint.getTextSize() != size) { in setTextSize()
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DSubtitleView.java185 if (mTextPaint.getTextSize() != size) { in setTextSize()

123