Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/theme/typography/
DTypographyTokens.kt27 lineHeight = typeScaleTokens.bodyLargeLineHeight,
35 lineHeight = typeScaleTokens.bodyMediumLineHeight,
43 lineHeight = typeScaleTokens.bodySmallLineHeight,
51 lineHeight = typeScaleTokens.displayLargeLineHeight,
59 lineHeight = typeScaleTokens.displayMediumLineHeight,
67 lineHeight = typeScaleTokens.displaySmallLineHeight,
75 lineHeight = typeScaleTokens.headlineLargeLineHeight,
83 lineHeight = typeScaleTokens.headlineMediumLineHeight,
91 lineHeight = typeScaleTokens.headlineSmallLineHeight,
99 lineHeight = typeScaleTokens.labelLargeLineHeight,
[all …]
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/theme/
DSettingsTypography.kt37 lineHeight = 64.sp,
45 lineHeight = 52.sp,
53 lineHeight = 44.sp,
61 lineHeight = 40.sp,
69 lineHeight = 36.sp,
77 lineHeight = 32.sp,
85 lineHeight = 28.sp,
93 lineHeight = 24.sp,
101 lineHeight = 20.sp,
109 lineHeight = 24.sp,
[all …]
/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.java45 int spanstartv, int lineHeight, in chooseHeight() argument
65 int spanstartv, int lineHeight, in chooseHeight() argument
140 int spanstartv, int lineHeight, in chooseHeight() argument
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/widget/preference/
DPreferenceTest.kt71 MaterialTheme.typography.bodyMedium.lineHeight.toDp() in longSummary_notSingleLine_atLeastTwoLinesHeight()
93 MaterialTheme.typography.bodyMedium.lineHeight.toDp() in longSummary_notSingleLine_onlyOneLineHeight()
/frameworks/native/libs/bufferstreams/examples/app/java/com/android/graphics/bufferstreamsdemoapp/ui/
DType.kt15 lineHeight = 24.sp,
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleTileViewHelper.java368 int lineHeight = getLineHeightFromResource(textSizeResId); in setMaxLines() local
369 int maxAdaptiveLines = Math.floorDiv(contentHeight, lineHeight); in setMaxLines()
383 int lineHeight = (int) (text.getLineHeight() / mDensity); in getLineHeightFromResource() local
384 return lineHeight; in getLineHeightFromResource()
400 private int getContentHeightForLayout(int lineHeight, boolean hasPredefinedIcon) { in getContentHeightForLayout() argument
403 return mHeight - (lineHeight + FIXED_HEIGHT_DIMENS_FOR_MEDIUM_CONTENT_BEFORE_PADDING in getContentHeightForLayout()
409 R.dimen.max_people_avatar_size_for_large_content) + lineHeight in getContentHeightForLayout()
604 int lineHeight = getLineHeightFromResource(textSizeResId); in createDndRemoteViews() local
609 views.setInt(R.id.text_content, "setMaxLines", maxTextHeight / lineHeight); in createDndRemoteViews()
634 views.setInt(R.id.text_content, "setMaxLines", maxTextHeight / lineHeight); in createDndRemoteViews()
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DMainActivity.kt173 lineHeight = 12.sp, in Telemetry()
252 lineHeight = catalogFontSize, in Telemetry()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DBouncerContent.kt618 lineHeight = 24.sp, in StatusMessage()
626 lineHeight = 20.sp, in StatusMessage()
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java637 final float lineHeight = mMonthPaint.ascent() + mMonthPaint.descent(); in drawMonth() local
638 final float y = (mMonthHeight - lineHeight) / 2f; in drawMonth()
DTextView.java1265 float lineHeight = -1f;
1617 lineHeight = TypedValue.complexToFloat(peekValue.data);
1619 lineHeight = a.getDimensionPixelSize(attr, -1);
1999 if (lineHeight >= 0) {
2001 setLineHeightPx(lineHeight);
2003 setLineHeight(lineHeightUnit, lineHeight);
6500 public void setLineHeight(@Px @IntRange(from = 0) int lineHeight) { in setLineHeight()
6501 setLineHeightPx(lineHeight); in setLineHeight()
6504 private void setLineHeightPx(@Px @FloatRange(from = 0) float lineHeight) { in setLineHeightPx()
6505 Preconditions.checkArgumentNonNegative(lineHeight, in setLineHeightPx()
[all …]
DEditor.java5621 final int lineHeight = in updateMagnifier() local
5625 if (lineHeight < mMinLineHeightForMagnifier) { in updateMagnifier()
5626 zoom = zoom * mMinLineHeightForMagnifier / lineHeight; in updateMagnifier()
5628 mMagnifierAnimator.mMagnifier.updateSourceFactors(lineHeight, zoom); in updateMagnifier()
6507 final int lineHeight = mTextView.getLineHeight();
6508 int slop = (int)(mLineSlopRatio * lineHeight);
6510 Math.min(mLineChangeSlopMax, lineHeight + slop)) - lineHeight;
/frameworks/base/media/java/android/media/
DClosedCaptionRenderer.java1471 int lineHeight = safeHeight / MAX_ROWS; in onMeasure() local
1473 lineHeight, MeasureSpec.EXACTLY); in onMeasure()
/frameworks/base/core/api/
Dcurrent.txt1126 field public static final int lineHeight = 16844159; // 0x101057f
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt75437 Lcom/android/internal/R$attr;->lineHeight:I