/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/ |
D | CarUiText.java | 77 public CarUiText(@NonNull CharSequence text, int maxLines) { in CarUiText() argument 79 mMaxLines = maxLines; in CarUiText() 95 public CarUiText(@NonNull List<CharSequence> variants, int maxLines) { in CarUiText() argument 97 mMaxLines = maxLines; in CarUiText() 114 public CarUiText(@NonNull List<CharSequence> variants, int maxLines, int maxChars) { in CarUiText() argument 116 mMaxLines = maxLines; in CarUiText()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | VvmLog.java | 120 private final int maxLines; field in VvmLog.LocalLog 122 public LocalLog(int maxLines) { in LocalLog() argument 123 this.maxLines = Math.max(0, maxLines); in LocalLog() 124 log = new ArrayDeque<>(this.maxLines); in LocalLog() 128 if (maxLines <= 0) { in log() 137 while (log.size() >= maxLines) { in append()
|
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | TestHelpers.java | 100 private static String truncateCrash(String text, int maxLines) { in truncateCrash() argument 103 for (int i = 0; i < maxLines && i < lines.length; i++) { in truncateCrash() 107 if (lines.length > maxLines) { in truncateCrash() 109 ret.append(lines.length - maxLines); in truncateCrash()
|
/packages/apps/Dialer/java/com/android/incallui/autoresizetext/ |
D | AutoResizeTextView.java | 170 int maxLines = getMaxLines(); in suggestedSizeFitsInSpace() local 171 if (maxLines == 1) { in suggestedSizeFitsInSpace() 187 if (maxLines != NO_LINE_LIMIT && layout.getLineCount() > maxLines) { in suggestedSizeFitsInSpace()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | DetailsContentPresenter.java | 85 int maxLines = 91 if (bodyLines > maxLines) { 124 maxLines -= 1; 126 if (mBody.getMaxLines() != maxLines) { 127 mBody.setMaxLines(maxLines);
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiDiagnostics.java | 789 private ArrayList<String> getLogcat(String logcatSections, int maxLines) { in getLogcat() argument 790 ArrayList<String> lines = new ArrayList<>(maxLines); in getLogcat() 793 String.format("logcat -b %s -t %d", logcatSections, maxLines)); in getLogcat() 806 private ArrayList<String> getLogcatSystem(int maxLines) { in getLogcatSystem() argument 807 return getLogcat("main,system,crash", maxLines); in getLogcatSystem() 811 private ArrayList<String> getLogcatKernel(int maxLines) { in getLogcatKernel() argument 812 return getLogcat("kernel", maxLines); in getLogcatKernel()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/widget/ |
D | CarUiTextViewImpl.java | 136 private CharSequence getTruncatedText(CharSequence text, int maxLines) { in getTruncatedText() argument 140 if (maxLines == 1) { in getTruncatedText() 164 if (lineCount == maxLines || index > length - 1) { in getTruncatedText()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | SwitchItem.java | 35 String checkedTitle, String uncheckedTitle, String description, int maxLines) { in SwitchItem() argument 36 super(checkedTitle, uncheckedTitle, description, maxLines); in SwitchItem()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListItemView.java | 376 final int maxLines; in bind() local 382 maxLines = TextUtils.isEmpty(snippetText) ? 0 : NO_UNREAD_SNIPPET_LINE_COUNT; in bind() 386 maxLines = TextUtils.isEmpty(snippetText) ? 0 : UNREAD_SNIPPET_LINE_COUNT; in bind() 391 mSnippetTextView.setMaxLines(maxLines); in bind()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | SmartIconLoadPackagePermissionPreference.kt | 59 title.maxLines = 1 in onBindViewHolder()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/ |
D | DeviceAdminAdd.java | 369 final int maxLines = getEllipsizedLines(); in onCreate() 371 boolean hideMsgExpander = mAddMsg.getLineCount() <= maxLines; in onCreate()
|