/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/ |
H A D | FontScalePreviewFragment.java | 61 (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 D | RelativeSizeSpan.java | 93 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 D | CarSetupWizardCompatLayoutTest.java | 518 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 D | AbstractDialpadFragment.java | 112 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 D | ResizingTextEditText.java | 33 originalTextSize = (int) getTextSize(); in ResizingTextEditText()
|
H A D | ResizingTextTextView.java | 33 originalTextSize = (int) getTextSize(); in ResizingTextTextView()
|
/aosp12/packages/apps/PhoneCommon/src/com/android/phone/common/widget/ |
H A D | ResizingTextTextView.java | 36 mOriginalTextSize = (int) getTextSize(); in ResizingTextTextView()
|
H A D | ResizingTextEditText.java | 37 mOriginalTextSize = (int) getTextSize(); in ResizingTextEditText()
|
/aosp12/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 1749 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 D | ScaleSpan.java | 52 textPaint.setTextSize(Math.max(mStartTextSize, paint.getTextSize())); in getSize()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | KeyguardClockSwitch.java | 310 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 D | TypefaceUtils.java | 73 final int labelSize = (int)paint.getTextSize(); in getCharGeometryCacheKey()
|
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/text/ |
H A D | StaticLayoutGetOffsetForHorizontalPerfTest.java | 42 private static final int TEXT_WIDTH = WORDS_IN_LINE * WORD_LENGTH * (int) PAINT.getTextSize();
|
H A D | StaticLayoutMultithreadPerfTest.java | 41 private static final int TEXT_WIDTH = WORDS_IN_LINE * WORD_LENGTH * (int) PAINT.getTextSize();
|
H A D | PrecomputedTextPerfTest.java | 39 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 D | ConfigurableTexts.java | 52 final float px = text.getTextSize(); in add()
|
/aosp12/frameworks/base/core/java/android/text/ |
H A D | PrecomputedText.java | 294 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 D | TimeZonePickerView.java | 122 int textSize = (int) (mAutoCompleteTextView.getTextSize() * 1.25); in updateHint()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | SuggestionsPopupWindowTest.java | 281 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 D | AutoResizeTextView.java | 146 maxTextSize = (int) getTextSize(); in readAttrs()
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
H A D | IconView.java | 138 public int getTextSize() { in getTextSize() method in IconView
|
/aosp12/frameworks/base/core/java/android/webkit/ |
H A D | WebSettings.java | 575 public synchronized TextSize getTextSize() { in getTextSize() method in WebSettings
|
/aosp12/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
H A D | AssistVisualizer.java | 55 this.textSize = node.getTextSize(); in TextEntry()
|
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/ |
H A D | SubtitleView.java | 150 if (mTextPaint.getTextSize() != size) { in setTextSize()
|
/aosp12/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SubtitleView.java | 185 if (mTextPaint.getTextSize() != size) { in setTextSize()
|