Searched refs:maxLines (Results 1 - 8 of 8) sorted by relevance

/packages/apps/TV/src/com/android/tv/ui/sidepanel/
H A DSwitchItem.java35 String checkedTitle, String uncheckedTitle, String description, int maxLines) {
36 super(checkedTitle, uncheckedTitle, description, maxLines);
34 SwitchItem( String checkedTitle, String uncheckedTitle, String description, int maxLines) argument
/packages/apps/Dialer/java/com/android/incallui/autoresizetext/
H A DAutoResizeTextView.java55 private int maxLines; field in class:AutoResizeTextView
95 return maxLines;
101 public final void setMaxLines(int maxLines) { argument
102 super.setMaxLines(maxLines);
103 this.maxLines = maxLines;
222 int maxLines = getMaxLines();
223 if (maxLines == 1) {
238 // Return false if we need more than maxLines. The text is obviously too big in this case.
239 if (maxLines !
[all...]
/packages/apps/Dialer/java/com/android/voicemail/impl/
H A DVvmLog.java120 private final int maxLines; field in class:VvmLog.LocalLog
122 public LocalLog(int maxLines) { argument
123 this.maxLines = Math.max(0, maxLines);
124 log = new ArrayDeque<>(this.maxLines);
128 if (maxLines <= 0) {
137 while (log.size() >= maxLines) {
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
H A DDetailsContentPresenter.java84 int maxLines =
90 if (bodyLines > maxLines) {
123 maxLines -= 1;
125 if (mBody.getMaxLines() != maxLines) {
126 mBody.setMaxLines(maxLines);
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
H A DContactEntryAdapter.java47 public int maxLines = 1; field in class:ContactEntryAdapter.Entry
59 p.writeInt(maxLines);
73 maxLines = p.readInt();
H A DContactFragment.java421 entry.maxLines = 4;
472 entry.maxLines = 100;
477 entry.maxLines = 10;
602 // Choose the max of the maxLines and maxLabelLines values.
603 maxLines = Math.max(maxLines, entry.maxLines);
726 setMaxLines(data, entry.maxLines);
786 private void setMaxLines(TextView textView, int maxLines) { argument
787 if (maxLines
[all...]
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
H A DConversationListItemView.java376 final int maxLines;
382 maxLines = TextUtils.isEmpty(snippetText) ? 0 : NO_UNREAD_SNIPPET_LINE_COUNT;
386 maxLines = TextUtils.isEmpty(snippetText) ? 0 : UNREAD_SNIPPET_LINE_COUNT;
391 mSnippetTextView.setMaxLines(maxLines);
/packages/apps/Settings/src/com/android/settings/
H A DDeviceAdminAdd.java305 final int maxLines = getEllipsizedLines();
306 // hide the icon if number of visible lines does not exceed maxLines
307 boolean hideMsgExpander = mAddMsg.getLineCount() <= maxLines;

Completed in 1894 milliseconds