Home
last modified time | relevance | path

Searched refs:lineHeight (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DFlowLayout.java45 int lineHeight = 0; in onMeasure() local
60 lineHeight = Math.max(lineHeight, child.getMeasuredHeight()); in onMeasure()
64 y += lineHeight; in onMeasure()
70 mLineHeight = lineHeight; in onMeasure()
73 height = y + lineHeight; in onMeasure()
75 if (y + lineHeight < height) { in onMeasure()
76 height = y + lineHeight; in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutKeysLayout.java49 int lineHeight = 0; in onMeasure() local
67 lineHeight = Math.max(lineHeight, in onMeasure()
72 yPos += lineHeight; in onMeasure()
77 this.mLineHeight = lineHeight; in onMeasure()
80 height = yPos + lineHeight; in onMeasure()
82 if (yPos + lineHeight < height) { in onMeasure()
83 height = yPos + lineHeight; in onMeasure()
/frameworks/base/core/java/android/text/style/
DLineHeightSpan.java37 int spanstartv, int lineHeight, in chooseHeight() argument
57 int spanstartv, int lineHeight, in chooseHeight() argument
/frameworks/support/compat/src/main/java/androidx/core/widget/
DTextViewCompat.java764 @Px @IntRange(from = 0) int lineHeight) { in setLineHeight()
765 Preconditions.checkArgumentNonnegative(lineHeight); in setLineHeight()
769 if (lineHeight != fontHeight) { in setLineHeight()
771 textView.setLineSpacing(lineHeight - fontHeight, 1f); in setLineHeight()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DAppCompatTextView.java408 public void setLineHeight(@Px @IntRange(from = 0) int lineHeight) { in setLineHeight()
409 TextViewCompat.setLineHeight(this, lineHeight); in setLineHeight()
DAppCompatTextHelper.java220 final int lineHeight = a.getDimensionPixelSize( in loadFromAttributes() local
229 if (lineHeight != -1) { in loadFromAttributes()
230 TextViewCompat.setLineHeight(mView, lineHeight); in loadFromAttributes()
/frameworks/support/media/src/main/java/androidx/media/subtitle/
DClosedCaptionRenderer.java362 int lineHeight = safeHeight / MAX_ROWS; in onMeasure() local
364 lineHeight, MeasureSpec.EXACTLY); in onMeasure()
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/
DAppCompatTextViewTest.java378 final int lineHeight = textView.getResources() in testBaselineAttributes() local
385 assertEquals(lineHeight, textView.getLineHeight()); in testBaselineAttributes()
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java626 final float lineHeight = mMonthPaint.ascent() + mMonthPaint.descent(); in drawMonth() local
627 final float y = (mMonthHeight - lineHeight) / 2f; in drawMonth()
/frameworks/av/packages/MediaComponents/src/com/android/media/subtitle/
DClosedCaptionRenderer.java1462 int lineHeight = safeHeight / MAX_ROWS; in onMeasure() local
1464 lineHeight, MeasureSpec.EXACTLY); in onMeasure()
/frameworks/base/media/java/android/media/
DClosedCaptionRenderer.java1471 int lineHeight = safeHeight / MAX_ROWS; in onMeasure() local
1473 lineHeight, MeasureSpec.EXACTLY); in onMeasure()
/frameworks/base/config/
Dhiddenapi-public-dex.txt36259 Landroid/R$attr;->lineHeight:I
/frameworks/base/api/
Dcurrent.txt865 field public static final int lineHeight = 16844159; // 0x101057f