Home
last modified time | relevance | path

Searched refs:maxLines (Results 1 – 17 of 17) sorted by relevance

/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DImageFloatingTextView.java90 int maxLines; in makeSingleLayout() local
92 maxLines = mMaxLinesForHeight; in makeSingleLayout()
94 maxLines = getMaxLines() >= 0 ? getMaxLines() : Integer.MAX_VALUE; in makeSingleLayout()
96 builder.setMaxLines(maxLines); in makeSingleLayout()
97 mLayoutMaxLines = maxLines; in makeSingleLayout()
157 int maxLines = layout.getLineCount(); in onMeasure() local
158 while (maxLines > 1 && layout.getLineBottom(maxLines - 1) > availableHeight) { in onMeasure()
159 maxLines--; in onMeasure()
162 maxLines = Math.min(getMaxLines(), maxLines); in onMeasure()
165 if (maxLines != mLayoutMaxLines) { in onMeasure()
[all …]
/aosp14/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/ui/
H A DText.kt59 maxLines: Int = Int.MAX_VALUE,
61 SettingsBody(body = body.value, maxLines = maxLines)
67 maxLines: Int = Int.MAX_VALUE,
75 maxLines = maxLines,
104 maxLines = 1,
/aosp14/frameworks/base/core/java/android/app/smartspace/uitemplatedata/
H A DText.java50 private Text(@NonNull CharSequence text, TextUtils.TruncateAt truncateAtType, int maxLines) { in Text() argument
53 mMaxLines = maxLines; in Text()
156 public Builder setMaxLines(int maxLines) { in setMaxLines() argument
157 mMaxLines = maxLines; in setMaxLines()
/aosp14/frameworks/base/core/java/android/util/
H A DLocalLog.java48 public LocalLog(int maxLines) { in LocalLog() argument
49 this(maxLines, true /* useLocalTimestamps */); in LocalLog()
52 public LocalLog(int maxLines, boolean useLocalTimestamps) { in LocalLog() argument
53 mMaxLines = Math.max(0, maxLines); in LocalLog()
/aosp14/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
H A DAppCompatibility.java190 private static String truncate(String text, int maxLines) { in truncate() argument
193 for (int i = 0; i < maxLines && i < lines.length; i++) { in truncate()
197 if (lines.length > maxLines) { in truncate()
199 ret.append(lines.length - maxLines); in truncate()
/aosp14/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/people/ui/compose/
H A DPeopleScreenEmpty.kt111 maxLines = 1,
121 maxLines = 1,
/aosp14/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/ui/
H A DTexts.kt75 maxLines = if (enforceOneLine) 1 else Int.MAX_VALUE,
109 maxLines = if (enforceOneLine) 1 else Int.MAX_VALUE,
/aosp14/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/scaffold/
H A DCustomizedAppBar.kt113 title = { Title(title = title, maxLines = 3) },
117 smallTitle = { Title(title = title, maxLines = 1) },
129 private fun Title(title: String, maxLines: Int = Int.MAX_VALUE) {
143 maxLines = maxLines,
/aosp14/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/preference/
H A DBasePreference.kt49 SettingsBody(body = summary, maxLines = 1)
/aosp14/frameworks/base/core/java/android/text/
H A DStaticLayout.java313 public Builder setMaxLines(@IntRange(from = 0) int maxLines) { in setMaxLines()
314 mMaxLines = maxLines; in setMaxLines()
517 TextUtils.TruncateAt ellipsize, int ellipsizedWidth, int maxLines) { in StaticLayout() argument
532 .setMaxLines(maxLines); in StaticLayout()
562 mMaximumVisibleLineCount = maxLines; in StaticLayout()
/aosp14/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/footer/ui/compose/
H A DFooterActions.kt345 maxLines = 1,
/aosp14/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java519 TextUtils.TruncateAt ellipsize, int maxLines) { in createEllipsizeStaticLayout() argument
526 maxLines); in createEllipsizeStaticLayout()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
H A DPeopleTileViewHelper.java364 int maxLines = Math.max(MIN_CONTENT_MAX_LINES, maxAdaptiveLines); in setMaxLines() local
367 if (showSender) maxLines--; in setMaxLines()
368 views.setInt(R.id.text_content, "setMaxLines", maxLines); in setMaxLines()
/aosp14/frameworks/base/core/java/android/widget/
H A DTextView.java5844 public void setMaxLines(int maxLines) { in setMaxLines() argument
5845 mMaximum = maxLines; in setMaxLines()
11119 final int maxLines = getMaxLines(); in suggestedSizeFitsInSpace() local
11145 if (maxLines != -1 && layout.getLineCount() > maxLines) { in suggestedSizeFitsInSpace()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt1142 field public static final int maxLines = 16843091; // 0x1010153
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt76122 Lcom/android/internal/R$attr;->maxLines:I