Searched refs:maxLines (Results 1 – 8 of 8) 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()
89 private static String truncateCrash(String text, int maxLines) { in truncateCrash() argument92 for (int i = 0; i < maxLines && i < lines.length; i++) { in truncateCrash()96 if (lines.length > maxLines) { in truncateCrash()98 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()
309 final int maxLines = getEllipsizedLines(); in onCreate()311 boolean hideMsgExpander = mAddMsg.getLineCount() <= maxLines; in onCreate()
358 final int maxLines = getEllipsizedLines(); in onCreate()360 boolean hideMsgExpander = mAddMsg.getLineCount() <= maxLines; in onCreate()