/frameworks/base/core/java/com/android/internal/widget/ |
D | ImageFloatingTextView.java | 104 int maxLines; in makeSingleLayout() local 106 maxLines = mMaxLinesForHeight; in makeSingleLayout() 108 maxLines = getMaxLines() >= 0 ? getMaxLines() : Integer.MAX_VALUE; in makeSingleLayout() 112 maxLines = Math.min(maxLines, mMaxLineUpperLimit); in makeSingleLayout() 115 builder.setMaxLines(maxLines); in makeSingleLayout() 116 mLayoutMaxLines = maxLines; in makeSingleLayout() 182 int maxLines = layout.getLineCount(); in onMeasure() local 183 while (maxLines > 1 && layout.getLineBottom(maxLines - 1) > availableHeight) { in onMeasure() 184 maxLines--; in onMeasure() 187 maxLines = Math.min(getMaxLines(), maxLines); in onMeasure() [all …]
|
/frameworks/base/packages/CredentialManager/wear/src/com/android/credentialmanager/ui/components/ |
D | Texts.kt | 50 maxLines = 2, in WearDisplayNameText() 69 maxLines = 2, 79 maxLines: Int = 1, in WearButtonText() 91 maxLines = maxLines, 109 maxLines = 1,
|
D | CredentialsScreenChip.kt | 60 maxLines = if (secondaryLabel != null) 1 else 2 in CredentialsScreenChip()
|
/frameworks/base/core/java/android/app/smartspace/uitemplatedata/ |
D | Text.java | 50 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()
|
/frameworks/base/core/java/android/util/ |
D | LocalLog.java | 50 public LocalLog(int maxLines) { in LocalLog() argument 51 this(maxLines, true /* useLocalTimestamps */); in LocalLog() 54 public LocalLog(int maxLines, boolean useLocalTimestamps) { in LocalLog() argument 55 mMaxLines = Math.max(0, maxLines); in LocalLog()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/ui/ |
D | Text.kt | 91 maxLines: Int = Int.MAX_VALUE, in SettingsBody() 100 maxLines = maxLines, in SettingsBody() 139 maxLines = 1, in BasePreferencePreview()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/shade/ui/composable/ |
D | VariableDayDate.kt | 28 maxLines = 1, in <lambda>() 36 maxLines = 1, in <lambda>()
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
D | AppCompatibility.java | 190 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()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/spatialaudio/ui/composable/ |
D | SpatialAudioPopup.kt | 70 maxLines = 1, in Title() 103 maxLines = 2 in Content()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/people/ui/compose/ |
D | PeopleScreenEmpty.kt | 111 maxLines = 1, in ExampleTile() 121 maxLines = 1, in ExampleTile()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/volume/ui/composable/ |
D | VolumeSliderContent.kt | 72 maxLines = 1, in VolumeSliderContent() 87 maxLines = 1, in VolumeSliderContent()
|
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/ui/ |
D | Texts.kt | 76 maxLines = if (enforceOneLine) 1 else Int.MAX_VALUE, 110 maxLines = if (enforceOneLine) 1 else Int.MAX_VALUE,
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/scaffold/ |
D | CustomizedAppBar.kt | 118 title = { Title(title = title, maxLines = 3) }, in <lambda>() 122 smallTitle = { Title(title = title, maxLines = 1) }, in <lambda>() 134 private fun Title(title: String, maxLines: Int = Int.MAX_VALUE) { in Title() 143 maxLines = maxLines, in Title()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/preference/ |
D | BasePreference.kt | 52 maxLines = if (singleLineSummary) 1 else Int.MAX_VALUE, in <lambda>()
|
D | ListPreference.kt | 141 maxLines = 1 in Radio()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/mediaoutput/ui/composable/ |
D | MediaOutputComponent.kt | 123 maxLines = 1, in <lambda>() 131 maxLines = 1, in <lambda>()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/anc/ui/composable/ |
D | AncPopup.kt | 64 maxLines = 1, in Title()
|
D | AncButtonComponent.kt | 111 maxLines = 2, in Content()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/ |
D | BiometricCustomizedViewBinder.kt | 203 val maxLines = in PromptContentItem() constant 208 return numLines > maxLines in PromptContentItem()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/button/ui/composable/ |
D | ToggleButtonComponent.kt | 106 maxLines = 2, in Content()
|
D | ButtonComponent.kt | 109 maxLines = 2, in Content()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/ui/compose/ |
D | BrightnessSlider.kt | 98 maxLines = 1, in <lambda>()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/ |
D | EnableWidgetDialog.kt | 111 maxLines = 1, in DialogComposable()
|
/frameworks/base/core/java/android/text/ |
D | BoringLayout.java | 389 int maxLines, in BoringLayout() argument 402 fallbackLineSpacing, ellipsizedWidth, ellipsize, maxLines, breakStrategy, in BoringLayout()
|
D | StaticLayout.java | 323 public Builder setMaxLines(@IntRange(from = 0) int maxLines) { in setMaxLines() 324 mMaxLines = maxLines; in setMaxLines() 694 TextUtils.TruncateAt ellipsize, int ellipsizedWidth, int maxLines) { in StaticLayout() argument 702 .setMaxLines(maxLines), includepad, in StaticLayout()
|