Searched refs:maxLines (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/core/java/com/android/internal/widget/ |
D | ImageFloatingTextView.java | 84 int maxLines; in makeSingleLayout() local 86 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() local 134 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 …]
|
/frameworks/base/core/java/android/util/ |
D | LocalLog.java | 46 public LocalLog(int maxLines) { in LocalLog() argument 47 this(maxLines, true /* useLocalTimestamps */); in LocalLog() 50 public LocalLog(int maxLines, boolean useLocalTimestamps) { in LocalLog() argument 51 mMaxLines = Math.max(0, maxLines); in LocalLog()
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
D | AppCompatibility.java | 190 private static String truncate(String text, int maxLines) { in truncate() argument 193 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()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiDiagnostics.java | 730 private ArrayList<String> getLogcat(String logcatSections, int maxLines) { in getLogcat() argument 731 ArrayList<String> lines = new ArrayList<>(maxLines); in getLogcat() 734 String.format("logcat -b %s -t %d", logcatSections, maxLines)); in getLogcat() 747 private ArrayList<String> getLogcatSystem(int maxLines) { in getLogcatSystem() argument 748 return getLogcat("main,system,crash", maxLines); in getLogcatSystem() 751 private ArrayList<String> getLogcatKernel(int maxLines) { in getLogcatKernel() argument 752 return getLogcat("kernel", maxLines); in getLogcatKernel()
|
/frameworks/base/core/java/android/text/ |
D | StaticLayout.java | 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() argument 513 .setMaxLines(maxLines); in StaticLayout() 543 mMaximumVisibleLineCount = maxLines; in StaticLayout()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | StaticLayoutTest.java | 519 TextUtils.TruncateAt ellipsize, int maxLines) { in createEllipsizeStaticLayout() argument 526 maxLines); in createEllipsizeStaticLayout()
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 5378 public void setMaxLines(int maxLines) { in setMaxLines() argument 5379 mMaximum = maxLines; in setMaxLines() 9533 final int maxLines = getMaxLines(); in suggestedSizeFitsInSpace() local 9558 if (maxLines != -1 && layout.getLineCount() > maxLines) { in suggestedSizeFitsInSpace()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 837 field public static final int maxLines = 16843091; // 0x1010153
|
/frameworks/base/api/ |
D | current.txt | 944 field public static final int maxLines = 16843091; // 0x1010153
|