Searched refs:maxLines (Results 1 – 8 of 8) sorted by relevance
84 int maxLines; in makeSingleLayout() local86 maxLines = mMaxLinesForHeight; in makeSingleLayout()88 maxLines = getMaxLines() >= 0 ? getMaxLines() : Integer.MAX_VALUE; in makeSingleLayout()90 builder.setMaxLines(maxLines); in makeSingleLayout()91 mLayoutMaxLines = maxLines; in makeSingleLayout()133 int maxLines = layout.getLineCount() - 1; in onMeasure() local134 while (maxLines > 1 && layout.getLineBottom(maxLines - 1) > availableHeight) { in onMeasure()135 maxLines--; in onMeasure()138 maxLines = Math.min(getMaxLines(), maxLines); in onMeasure()141 if (maxLines != mLayoutMaxLines) { in onMeasure()[all …]
37 public LocalLog(int maxLines) { in LocalLog() argument38 mMaxLines = Math.max(0, maxLines); in LocalLog()
190 private static String truncate(String text, int maxLines) { in truncate() argument193 for (int i = 0; i < maxLines && i < lines.length; i++) { in truncate()197 if (lines.length > maxLines) { in truncate()199 ret.append(lines.length - maxLines); in truncate()
642 private ArrayList<String> getLogcat(int maxLines) { in getLogcat() argument643 ArrayList<String> lines = new ArrayList<String>(maxLines); in getLogcat()645 Process process = mJavaRuntime.exec(String.format("logcat -t %d", maxLines)); in getLogcat()664 private LimitedCircularArray<String> getKernelLog(int maxLines) { in getKernelLog() argument666 LimitedCircularArray<String> lines = new LimitedCircularArray<String>(maxLines); in getKernelLog()
311 public Builder setMaxLines(@IntRange(from = 0) int maxLines) { in setMaxLines()312 mMaxLines = maxLines; in setMaxLines()498 TextUtils.TruncateAt ellipsize, int ellipsizedWidth, int maxLines) { in StaticLayout() argument513 .setMaxLines(maxLines); in StaticLayout()543 mMaximumVisibleLineCount = maxLines; in StaticLayout()
519 TextUtils.TruncateAt ellipsize, int maxLines) { in createEllipsizeStaticLayout() argument526 maxLines); in createEllipsizeStaticLayout()
5336 public void setMaxLines(int maxLines) { in setMaxLines() argument5337 mMaximum = maxLines; in setMaxLines()9495 final int maxLines = getMaxLines(); in suggestedSizeFitsInSpace() local9520 if (maxLines != -1 && layout.getLineCount() > maxLines) { in suggestedSizeFitsInSpace()
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...