Home
last modified time | relevance | path

Searched refs:getTextSize (Results 1 – 25 of 38) 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/base/packages/SystemUI/src/com/android/systemui/shade/
DDebugDrawable.java126 if (lineY - mDebugPaint.getTextSize() < 0) { in computeDebugYTextPosition()
128 lineY += mDebugPaint.getTextSize(); in computeDebugYTextPosition()
132 textY = (int) (textY + mDebugPaint.getTextSize()); in computeDebugYTextPosition()
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/
DCarSetupWizardCompatLayoutTest.java569 assertThat(primary.getTextSize()) in testPartnerResourcesAreApplied()
631 assertThat(primaryButton.getTextSize()).isWithin(TOLERANCE).of(EXCEPTED_TEXT_SIZE); in test_bothButtons_areStyled_inDefaultLayout()
632 assertThat(secondaryButton.getTextSize()).isWithin(TOLERANCE).of(EXCEPTED_TEXT_SIZE); in test_bothButtons_areStyled_inDefaultLayout()
646 assertThat(primaryButton.getTextSize()).isWithin(TOLERANCE).of(EXCEPTED_TEXT_SIZE); in test_bothButtons_areStyled_inAlternativeLayout()
647 assertThat(secondaryButton.getTextSize()).isWithin(TOLERANCE).of(EXCEPTED_TEXT_SIZE); in test_bothButtons_areStyled_inAlternativeLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DFontSizeUtils.java54 (int) v.getTextSize()); in updateFontSizeFromStyle()
/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.java1757 public float getTextSize() { in getTextSize() method in Paint
2368 final float oldSize = getTextSize(); in measureText()
2399 final float oldSize = getTextSize(); in measureText()
2489 final float oldSize = getTextSize(); in breakText()
2577 final float oldSize = getTextSize(); in breakText()
2614 final float oldSize = getTextSize(); in getTextWidths()
2697 final float oldSize = getTextSize(); in getTextWidths()
2788 final float oldSize = getTextSize(); in getTextRunAdvances()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZonePickerView.java122 int textSize = (int) (mAutoCompleteTextView.getTextSize() * 1.25); in updateHint()
/frameworks/base/core/tests/coretests/src/android/widget/
DSuggestionsPopupWindowTest.java273 final float expectedHighlightTextSize = tmpTp.getTextSize(); in testTextAppearanceInSuggestionsPopup()
331 assertEquals(expectedHighlightTextSize, tp.getTextSize(), 0f); in testTextAppearanceInSuggestionsPopup()
/frameworks/base/core/java/android/text/
DPrecomputedText.java334 return Objects.hash(mPaint.getTextSize(), mPaint.getTextScaleX(), mPaint.getTextSkewX(), in hashCode()
349 + "textSize=" + mPaint.getTextSize() in toString()
DTextLine.java1467 && lp.getTextSize() == rp.getTextSize()
/frameworks/base/core/java/android/webkit/
DWebSettings.java594 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.java186 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.java338 mPreviewTextSizeLarge = (int) mPreviewText.getTextSize(); in KeyboardView()
738 + (paint.getTextSize() - paint.descent()) / 2 + padding.top, in onBufferDraw()
/frameworks/base/libs/hwui/jni/
DPaint.cpp883 static jfloat getTextSize(CRITICAL_JNI_PARAMS_COMMA jlong paintHandle) { in getTextSize() function
1117 {"nGetTextSize","(J)F", (void*) PaintGlue::getTextSize},
/frameworks/base/core/java/android/view/contentcapture/
DViewNode.java399 public float getTextSize() { in getTextSize() method in ViewNode

12