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.java455 assertThat(primary.getTextSize()) in testPartnerResourcesAreApplied()
516 assertThat(primaryButton.getTextSize()).isWithin(TOLERANCE).of(EXCEPTED_TEXT_SIZE); in test_bothButtons_areStyled_inDefaultLayout()
517 assertThat(secondaryButton.getTextSize()).isWithin(TOLERANCE).of(EXCEPTED_TEXT_SIZE); in test_bothButtons_areStyled_inDefaultLayout()
531 assertThat(primaryButton.getTextSize()).isWithin(TOLERANCE).of(EXCEPTED_TEXT_SIZE); in test_bothButtons_areStyled_inAlternativeLayout()
532 assertThat(secondaryButton.getTextSize()).isWithin(TOLERANCE).of(EXCEPTED_TEXT_SIZE); in test_bothButtons_areStyled_inAlternativeLayout()
/frameworks/base/graphics/java/android/graphics/
DPaint.java1703 public float getTextSize() { in getTextSize() method in Paint
2183 final float oldSize = getTextSize(); in measureText()
2214 final float oldSize = getTextSize(); in measureText()
2304 final float oldSize = getTextSize(); in breakText()
2392 final float oldSize = getTextSize(); in breakText()
2429 final float oldSize = getTextSize(); in getTextWidths()
2512 final float oldSize = getTextSize(); in getTextWidths()
2603 final float oldSize = getTextSize(); in getTextRunAdvances()
/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.java49 final float px = text.getTextSize(); in add()
/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.java1324 && lp.getTextSize() == rp.getTextSize()
/frameworks/base/core/tests/coretests/src/android/widget/
DSuggestionsPopupWindowTest.java279 final float expectedHighlightTextSize = tmpTp.getTextSize(); in testTextAppearanceInSuggestionsPopup()
337 assertEquals(expectedHighlightTextSize, tp.getTextSize(), 0f); in testTextAppearanceInSuggestionsPopup()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardClockSwitch.java368 public float getTextSize() { in getTextSize() method in KeyguardClockSwitch
369 return mClockView.getTextSize(); in getTextSize()
DKeyguardStatusView.java277 return mClockView.getTextSize(); in getClockTextSize()
/frameworks/base/core/java/android/webkit/
DWebSettings.java557 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.java787 mTextSize = (int) mInputText.getTextSize(); in NumberPicker()
1758 public float getTextSize() { in getTextSize() method in NumberPicker
1759 return mSelectorWheelPaint.getTextSize(); in getTextSize()
/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/core/jni/android/graphics/
DPaint.cpp884 static jfloat getTextSize(jlong paintHandle) { in getTextSize() function
1113 {"nGetTextSize","(J)F", (void*) PaintGlue::getTextSize},
/frameworks/base/core/java/android/view/contentcapture/
DViewNode.java375 public float getTextSize() { in getTextSize() method in ViewNode
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java1524 public float getTextSize() { in getTextSize() method in AssistStructure.ViewNode
2245 Log.i(TAG, prefix + " Text size: " + node.getTextSize() + " , style: #" in dump()

12