Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/voicemail/impl/
DVvmLog.java120 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/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSetupGlifLayoutActivity.java111 int maxLines = 3; in adjustHeaderMaxLines() local
113 maxLines++; in adjustHeaderMaxLines()
115 if (header.getMaxLines() != maxLines) { in adjustHeaderMaxLines()
116 header.setMaxLines(maxLines); in adjustHeaderMaxLines()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DTestHelpers.java94 private static String truncateCrash(String text, int maxLines) { in truncateCrash() argument
97 for (int i = 0; i < maxLines && i < lines.length; i++) { in truncateCrash()
101 if (lines.length > maxLines) { in truncateCrash()
103 ret.append(lines.length - maxLines); in truncateCrash()
/packages/apps/Dialer/java/com/android/incallui/autoresizetext/
DAutoResizeTextView.java170 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/
DDetailsContentPresenter.java85 int maxLines =
91 if (bodyLines > maxLines) {
124 maxLines -= 1;
126 if (mBody.getMaxLines() != maxLines) {
127 mBody.setMaxLines(maxLines);
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DSwitchItem.java35 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/
DConversationListItemView.java376 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/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DSmartIconLoadPackagePermissionPreference.kt59 title.maxLines = 1 in onBindViewHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java309 final int maxLines = getEllipsizedLines(); in onCreate()
311 boolean hideMsgExpander = mAddMsg.getLineCount() <= maxLines; in onCreate()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java357 final int maxLines = getEllipsizedLines(); in onCreate()
359 boolean hideMsgExpander = mAddMsg.getLineCount() <= maxLines; in onCreate()