/frameworks/base/core/tests/InputMethodCoreTests/src/android/view/inputmethod/ |
D | TextAppearanceInfoTest.java | 112 assertEquals(info1.getTextSize(), TEXT_SIZE, EPSILON); in testCreateFromTextView_withSpan1() 119 assertEquals(info2.getTextSize(), 30f, EPSILON); in testCreateFromTextView_withSpan1() 126 assertEquals(info3.getTextSize(), 30f, EPSILON); in testCreateFromTextView_withSpan1() 133 assertEquals(info4.getTextSize(), 30f, EPSILON); in testCreateFromTextView_withSpan1() 140 assertEquals(info5.getTextSize(), 30f, EPSILON); in testCreateFromTextView_withSpan1() 170 assertEquals(info.getTextSize(), 30f, EPSILON); in testCreateFromTextView_withSpan2() 198 assertEquals(info1.getTextSize(), 10f, EPSILON); in testCreateFromTextView_contradictorySpans() 199 assertEquals(info1.getTextSize(), realTextPaint.getTextSize(), EPSILON); in testCreateFromTextView_contradictorySpans() 243 assertEquals(textAppearanceInfo.getTextSize(), TEXT_SIZE, EPSILON); in assertTextAppearanceInfoContentsEqual()
|
/frameworks/base/core/java/android/text/style/ |
D | RelativeSizeSpan.java | 93 ds.setTextSize(ds.getTextSize() * mProportion); in updateDrawState() 98 ds.setTextSize(ds.getTextSize() * mProportion); in updateMeasureState()
|
D | TextAppearanceSpan.java | 349 public int getTextSize() { in getTextSize() method in TextAppearanceSpan 551 + ", textSize=" + getTextSize() in toString()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | DebugDrawable.java | 127 if (lineY - mDebugPaint.getTextSize() < 0) { in computeDebugYTextPosition() 129 lineY += mDebugPaint.getTextSize(); in computeDebugYTextPosition() 133 textY = (int) (textY + mDebugPaint.getTextSize()); in computeDebugYTextPosition()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | FontSizeUtils.java | 54 (int) v.getTextSize()); in updateFontSizeFromStyle()
|
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/ |
D | CarSetupWizardCompatLayoutTest.java | 569 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/core/tests/coretests/src/android/content/res/ |
D | FontScaleConverterActivityTest.java | 182 description.appendText("was ").appendValue(((TextView) item).getTextSize()); in withTextSizeInRange() 192 var textSize = textView.getTextSize(); in withTextSizeInRange()
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | StaticLayoutGetOffsetForHorizontalPerfTest.java | 42 private static final int TEXT_WIDTH = WORDS_IN_LINE * WORD_LENGTH * (int) PAINT.getTextSize();
|
D | StaticLayoutMultithreadPerfTest.java | 41 private static final int TEXT_WIDTH = WORDS_IN_LINE * WORD_LENGTH * (int) PAINT.getTextSize();
|
D | TextViewCursorAnchorInfoPerfTest.java | 57 private static final int TEXT_WIDTH = WORDS_IN_LINE * WORD_LENGTH * (int) PAINT.getTextSize();
|
D | PrecomputedTextPerfTest.java | 39 private static final int TEXT_WIDTH = WORDS_IN_LINE * WORD_LENGTH * (int) PAINT.getTextSize();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | ConfigurableTexts.java | 52 final float px = text.getTextSize(); in add()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 1863 public float getTextSize() { in getTextSize() method in Paint 2595 final float oldSize = getTextSize(); in measureText() 2632 final float oldSize = getTextSize(); in measureText() 2725 final float oldSize = getTextSize(); in breakText() 2813 final float oldSize = getTextSize(); in breakText() 2854 final float oldSize = getTextSize(); in getTextWidths() 2943 final float oldSize = getTextSize(); in getTextWidths() 3037 final float oldSize = getTextSize(); in getTextRunAdvances()
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZonePickerView.java | 122 int textSize = (int) (mAutoCompleteTextView.getTextSize() * 1.25); in updateHint()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | TextAppearanceInfo.java | 227 builder.setTextSize(textPaint.getTextSize()) in createFromTextView() 327 public @Px float getTextSize() { in getTextSize() method in TextAppearanceInfo
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | SuggestionsPopupWindowTest.java | 273 final float expectedHighlightTextSize = tmpTp.getTextSize(); in testTextAppearanceInSuggestionsPopup() 331 assertEquals(expectedHighlightTextSize, tp.getTextSize(), 0f); in testTextAppearanceInSuggestionsPopup()
|
/frameworks/base/core/java/android/text/ |
D | PrecomputedText.java | 332 return Objects.hash(mPaint.getTextSize(), mPaint.getTextScaleX(), mPaint.getTextSkewX(), in hashCode() 344 + "textSize=" + mPaint.getTextSize() in toString()
|
D | TextLine.java | 1127 wp.setLetterSpacing(mAddedLetterSpacingInPx / wp.getTextSize()); // Convert to Em in getOffsetBeforeAfter() 1329 wp.setLetterSpacing(mAddedLetterSpacingInPx / wp.getTextSize()); // Convert to Em in handleText() 1904 && lp.getTextSize() == rp.getTextSize() in equalAttributes()
|
/frameworks/base/core/java/android/webkit/ |
D | WebSettings.java | 594 public synchronized TextSize getTextSize() { in getTextSize() method in WebSettings
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ContrastColorUtil.java | 238 span.getFamily(), span.getTextStyle(), span.getTextSize(), in processTextAppearanceSpan() 267 originalSpan.getTextSize(), in clearColorSpans() 331 originalSpan.getTextSize(), in ensureColorSpanContrast()
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
D | AssistVisualizer.java | 55 this.textSize = node.getTextSize(); in TextEntry()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | ContrastColorUtilTest.java | 159 taSpan.getTextSize(), ColorStateList.valueOf(Color.CYAN), null); in testBuilder_ensureColorSpanContrast_worksWithComplexInput()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SubtitleView.java | 186 if (mTextPaint.getTextSize() != size) { in setTextSize()
|
/frameworks/base/core/java/android/widget/ |
D | NumberPicker.java | 786 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/ |
D | TextViewPrecomputedTextPerfTest.java | 52 private static final int TEXT_WIDTH = WORDS_IN_LINE * WORD_LENGTH * (int) PAINT.getTextSize();
|