/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | TextViewTransformState.java | 52 && mText.getLineCount() == otherTvs.mText.getLineCount() in sameAs() 98 int lineCount = mText.getLineCount(); in transformScale() 99 return lineCount == 1 && lineCount == otherTvs.mText.getLineCount() in transformScale() 125 int lines = l.getLineCount(); in getEllipsisCount()
|
D | MessagingLayoutTransformState.java | 236 return layout != null && layout.getEllipsisCount(layout.getLineCount() - 1) > 0; in hasEllipses()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | DynamicLayoutTest.java | 142 final int lineCount = staticLayout.getLineCount(); in testGetLineExtra_withoutLinespacing() 143 assertEquals(lineCount, dynamicLayout.getLineCount()); in testGetLineExtra_withoutLinespacing() 173 final int lineCount = staticLayout.getLineCount(); in testGetLineExtra_withLinespacing() 174 assertEquals(lineCount, dynamicLayout.getLineCount()); in testGetLineExtra_withLinespacing() 251 assertEquals(3, layout.getLineCount()); in testFallbackLineSpacing() 265 assertEquals(3, layout.getLineCount()); in testFallbackLineSpacing() 278 assertEquals(3, layout.getLineCount()); in testFallbackLineSpacing()
|
D | StaticLayoutTest.java | 397 assertEquals(lines, l.getLineCount()); in assertLinesMetrics() 747 .getLineCount(); in testLocaleSpanAffectsHyphenation() 758 .getLineCount(); in testLocaleSpanAffectsHyphenation() 777 .getLineCount(); in testLocaleSpanAffectsHyphenation() 792 .getLineCount(); in testLocaleSpanAffectsHyphenation() 851 assertEquals(4, layout.getLineCount()); 869 assertEquals(4, layout.getLineCount()); 884 assertEquals(4, layout.getLineCount()); 899 assertEquals(2, layout.getLineCount()); 910 assertEquals(2, layout.getLineCount()); [all …]
|
D | StaticLayoutDirectionsTest.java | 141 if (l.getLineCount() != 2) { in testTrailingWhitespace() 142 throw new RuntimeException("expected 2 lines, got: " + l.getLineCount()); in testTrailingWhitespace()
|
D | DynamicLayoutOffsetMappingTest.java | 204 assertThat(layout.getLineCount()).isEqualTo(lineCount); in assertLineRange()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsItem.java | 65 if (messageLayout.getLineCount() > 0) { in isTruncated() 68 messageLayout.getLineCount() - 1); in isTruncated()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingTextMessage.java | 113 if (measuredTooSmall && getLineCount() <= 1) { in getMeasuredType() 120 if (layout.getEllipsisCount(layout.getLineCount() - 1) > 0) { in getMeasuredType() 135 return getLineCount();
|
D | DialogTitle.java | 56 final int lineCount = layout.getLineCount(); in onMeasure()
|
D | ImageFloatingTextView.java | 182 int maxLines = layout.getLineCount(); in onMeasure()
|
D | SubtitleView.java | 305 final int lineCount = layout.getLineCount(); in onDraw()
|
/frameworks/base/core/java/android/widget/ |
D | AccessibilityIterators.java | 70 if (nextLine >= mLayout.getLineCount()) { in following() 155 final int lastLineTop = mLayout.getLineTop(mLayout.getLineCount() - 1); in following() 157 ? mLayout.getLineForVertical(nextPageStartY) - 1 : mLayout.getLineCount() - 1; in following()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | MessagingLinearLayoutTest.java | 176 public int getLineCount() { 181 return LINE_HEIGHT * getLineCount();
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | DialogTitle.java | 55 final int lineCount = layout.getLineCount(); in onMeasure()
|
/frameworks/base/core/java/android/text/ |
D | Selection.java | 288 if (line < layout.getLineCount() - 1) { in moveDown() 471 if (line < layout.getLineCount() - 1) { in extendDown() 586 if (line == layout.getLineCount() - 1) in findEdge()
|
D | DynamicLayout.java | 716 endline = getLineCount(); in reflow() 718 boolean islast = (endline == getLineCount()); in reflow() 756 int n = reflowed.getLineCount(); in reflow() 1147 public int getLineCount() { in getLineCount() method in DynamicLayout 1279 before = dynamicLayout.getLineEnd(dynamicLayout.getLineCount() - 1); in onTextChanged()
|
D | Layout.java | 1140 final int bottom = Math.min(getLineTop(getLineCount()), dbottom); in getLineRangeForDraw() 1219 return getLineTop(getLineCount()); in getHeight() 1236 public abstract int getLineCount(); in getLineCount() method in Layout 1258 for (int line = 0; line < getLineCount(); ++line) { in computeDrawingBoundingBox() 2151 int high = getLineCount(), low = -1, guess; in getLineForVertical() 2174 int high = getLineCount(), low = -1, guess; in getLineForOffset() 2227 if (line == getLineCount() - 1) { in getOffsetForHorizontal() 2371 if (startLine >= getLineCount()) { in getRangeForRect() 2760 if (line == getLineCount() - 1) { in getLineVisibleEnd() 2849 if (line < getLineCount() - 1) { in getOffsetToLeftRightOf()
|
D | StaticLayout.java | 948 int breakCount = res.getLineCount(); in generate() 1430 public int getLineCount() { 1469 if (line > getLineCount()) {
|
D | BoringLayout.java | 621 public int getLineCount() { in getLineCount() method in BoringLayout
|
/frameworks/base/core/java/android/text/method/ |
D | BaseMovementMethod.java | 575 final int limit = layout.getLineCount() - 1; in scrollDown() 619 if (bottomLine <= layout.getLineCount() - 1) { in scrollPageDown() 656 final int lineCount = layout.getLineCount(); in scrollBottom()
|
D | ScrollingMovementMethod.java | 105 int line = layout.getLineCount() - 1; in onTakeFocus()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewFallbackLineSpacingTest.java | 120 assertEquals(3, layout.getLineCount()); in testFallbackLineSpacing()
|
D | TextViewTest.java | 145 int lineCount = layout.getLineCount(); in testHyphenationWidth()
|
/frameworks/base/graphics/java/android/graphics/text/ |
D | LineBreaker.java | 404 public @IntRange(from = 0) int getLineCount() { in getLineCount() method in LineBreaker.Result
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyView.java | 281 final int lineCount = ((Button) child).getLineCount(); in onMeasure() 618 if (button.getLineCount() > 2 || newWidth >= oldWidth) { in squeezeButtonToTextWidth()
|