Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/text/style/
DRelativeSizeSpan.java93 ds.setTextSize(ds.getTextSize() * mProportion); in updateDrawState()
98 ds.setTextSize(ds.getTextSize() * mProportion); in updateMeasureState()
DTextAppearanceSpan.java349 public int getTextSize() { in getTextSize() method in TextAppearanceSpan
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/
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()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DStaticLayoutGetOffsetForHorizontalPerfTest.java42 private static final int TEXT_WIDTH = WORDS_IN_LINE * WORD_LENGTH * (int) PAINT.getTextSize();
DStaticLayoutMultithreadPerfTest.java41 private static final int TEXT_WIDTH = WORDS_IN_LINE * WORD_LENGTH * (int) PAINT.getTextSize();
DPrecomputedTextPerfTest.java39 private static final int TEXT_WIDTH = WORDS_IN_LINE * WORD_LENGTH * (int) PAINT.getTextSize();
DStaticLayoutPerfTest.java42 private static final int TEXT_WIDTH = WORDS_IN_LINE * WORD_LENGTH * (int) PAINT.getTextSize();
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DConfigurableTexts.java52 final float px = text.getTextSize(); in add()
/frameworks/base/graphics/java/android/graphics/
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()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardClockSwitch.java290 public float getTextSize() { in getTextSize() method in KeyguardClockSwitch
291 return mClockView.getTextSize(); in getTextSize()
DKeyguardClockSwitchController.java286 return mView.getTextSize(); in getClockTextSize()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZonePickerView.java122 int textSize = (int) (mAutoCompleteTextView.getTextSize() * 1.25); in updateHint()
/frameworks/base/core/java/android/text/
DPrecomputedText.java294 return Objects.hash(mPaint.getTextSize(), mPaint.getTextScaleX(), mPaint.getTextSkewX(), in hashCode()
304 + "textSize=" + mPaint.getTextSize() in toString()
DTextLine.java1429 && lp.getTextSize() == rp.getTextSize()
/frameworks/base/core/tests/coretests/src/android/widget/
DSuggestionsPopupWindowTest.java281 final float expectedHighlightTextSize = tmpTp.getTextSize(); in testTextAppearanceInSuggestionsPopup()
339 assertEquals(expectedHighlightTextSize, tp.getTextSize(), 0f); in testTextAppearanceInSuggestionsPopup()
/frameworks/base/core/java/android/webkit/
DWebSettings.java575 public synchronized TextSize getTextSize() { in getTextSize() method in WebSettings
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAssistVisualizer.java55 this.textSize = node.getTextSize(); in TextEntry()
/frameworks/base/core/java/com/android/internal/widget/
DSubtitleView.java185 if (mTextPaint.getTextSize() != size) { in setTextSize()
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java236 span.getFamily(), span.getTextStyle(), span.getTextSize(), in processTextAppearanceSpan()
265 originalSpan.getTextSize(), in clearColorSpans()
/frameworks/base/core/java/android/widget/
DNumberPicker.java786 mTextSize = (int) mInputText.getTextSize(); in NumberPicker()
1758 public float getTextSize() { in getTextSize() method in NumberPicker
1759 return mSelectorWheelPaint.getTextSize(); in getTextSize()
DSimpleMonthView.java221 R.styleable.TextAppearance_textSize, (int) p.getTextSize())); in applyTextAppearance()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewPrecomputedTextPerfTest.java52 private static final int TEXT_WIDTH = WORDS_IN_LINE * WORD_LENGTH * (int) PAINT.getTextSize();
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java336 mPreviewTextSizeLarge = (int) mPreviewText.getTextSize(); in KeyboardView()
736 + (paint.getTextSize() - paint.descent()) / 2 + padding.top, in onBufferDraw()
/frameworks/base/libs/hwui/jni/
DPaint.cpp843 static jfloat getTextSize(CRITICAL_JNI_PARAMS_COMMA jlong paintHandle) { in getTextSize() function
1072 {"nGetTextSize","(J)F", (void*) PaintGlue::getTextSize},
/frameworks/base/core/java/android/view/contentcapture/
DViewNode.java399 public float getTextSize() { in getTextSize() method in ViewNode

12