Searched refs:maxLines (Results 1 – 10 of 10) sorted by relevance
120 private final int maxLines; field in VvmLog.LocalLog122 public LocalLog(int maxLines) { in LocalLog() argument123 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()
111 int maxLines = 3; in adjustHeaderMaxLines() local113 maxLines++; in adjustHeaderMaxLines()115 if (header.getMaxLines() != maxLines) { in adjustHeaderMaxLines()116 header.setMaxLines(maxLines); in adjustHeaderMaxLines()
94 private static String truncateCrash(String text, int maxLines) { in truncateCrash() argument97 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()
170 int maxLines = getMaxLines(); in suggestedSizeFitsInSpace() local171 if (maxLines == 1) { in suggestedSizeFitsInSpace()187 if (maxLines != NO_LINE_LIMIT && layout.getLineCount() > maxLines) { in suggestedSizeFitsInSpace()
85 int maxLines =91 if (bodyLines > maxLines) {124 maxLines -= 1;126 if (mBody.getMaxLines() != maxLines) {127 mBody.setMaxLines(maxLines);
35 String checkedTitle, String uncheckedTitle, String description, int maxLines) { in SwitchItem() argument36 super(checkedTitle, uncheckedTitle, description, maxLines); in SwitchItem()
376 final int maxLines; in bind() local382 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()
59 title.maxLines = 1 in onBindViewHolder()
309 final int maxLines = getEllipsizedLines(); in onCreate()311 boolean hideMsgExpander = mAddMsg.getLineCount() <= maxLines; in onCreate()
357 final int maxLines = getEllipsizedLines(); in onCreate()359 boolean hideMsgExpander = mAddMsg.getLineCount() <= maxLines; in onCreate()