/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()
|
/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()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingTextMessage.java | 106 if (measuredTooSmall && getLineCount() <= 1) { in getMeasuredType() 113 if (layout.getEllipsisCount(layout.getLineCount() - 1) > 0) { in getMeasuredType() 128 return getLineCount();
|
D | DialogTitle.java | 56 final int lineCount = layout.getLineCount(); in onMeasure()
|
D | ImageFloatingTextView.java | 133 int maxLines = layout.getLineCount() - 1; in onMeasure()
|
D | SubtitleView.java | 304 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()
|
D | TextView.java | 2676 if (mLayout.getLineCount() <= mMaximum) { in getExtendedPaddingTop() 2713 if (mLayout.getLineCount() <= mMaximum) { in getExtendedPaddingBottom() 7966 if (!mSingleLine && getLineCount() == 1 && canMarquee() in onDraw() 8058 public int getLineCount() { in getLineCount() method in TextView.Drawables 8059 return mLayout != null ? mLayout.getLineCount() : 0; in getLineCount() 9175 if (width > 0.0f && mLayout != null && getLineCount() == 1 && !mUserSetTextScaleX in compressText() 9194 int n = layout.getLineCount(); in desired() 9410 if (mMaxMode == LINES && mLayout.getLineCount() > mMaximum) { in onMeasure() 9530 if (maxLines != -1 && layout.getLineCount() > maxLines) { in suggestedSizeFitsInSpace() 9565 int linecount = layout.getLineCount(); in getDesiredHeight() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | MessagingLinearLayoutTest.java | 176 public int getLineCount() { 181 return LINE_HEIGHT * getLineCount();
|
/frameworks/base/core/java/android/text/ |
D | Selection.java | 287 if (line < layout.getLineCount() - 1) { in moveDown() 376 if (line < layout.getLineCount() - 1) { in extendDown() 491 if (line == layout.getLineCount() - 1) in findEdge()
|
D | DynamicLayout.java | 578 endline = getLineCount(); in reflow() 580 boolean islast = (endline == getLineCount()); in reflow() 613 int n = reflowed.getLineCount(); in reflow() 1004 public int getLineCount() { in getLineCount() method in DynamicLayout
|
D | Layout.java | 682 final int bottom = Math.min(getLineTop(getLineCount()), dbottom); in getLineRangeForDraw() 793 return getLineTop(getLineCount()); in getHeight() 839 public abstract int getLineCount(); in getLineCount() method in Layout 1483 int high = getLineCount(), low = -1, guess; in getLineForVertical() 1506 int high = getLineCount(), low = -1, guess; in getLineForOffset() 1558 if (line == getLineCount() - 1) { in getOffsetForHorizontal() 1689 if (line == getLineCount() - 1) { in getLineVisibleEnd() 1773 if (line < getLineCount() - 1) { in getOffsetToLeftRightOf()
|
D | StaticLayout.java | 765 int breakCount = res.getLineCount(); in generate() 1207 public int getLineCount() { 1246 if (line > getLineCount()) {
|
D | BoringLayout.java | 378 public int getLineCount() { in getLineCount() method in BoringLayout
|
/frameworks/base/core/java/android/text/method/ |
D | BaseMovementMethod.java | 546 final int limit = layout.getLineCount() - 1; in scrollDown() 590 if (bottomLine <= layout.getLineCount() - 1) { in scrollPageDown() 627 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 | 209 int lineCount = layout.getLineCount(); in testHyphenationWidth()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileView.java | 110 if (mLabel.getLineCount() > MAX_LABEL_LINES || !TextUtils.isEmpty(mSecondLine.getText()) in onMeasure()
|
/frameworks/base/graphics/java/android/graphics/text/ |
D | LineBreaker.java | 367 public @IntRange(from = 0) int getLineCount() { in getLineCount() method in LineBreaker.Result
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BubbleFlyoutView.java | 218 if (mFlyoutText.getLineCount() > 1) { in showFlyout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyView.java | 432 final int lineCount = ((Button) child).getLineCount(); in onMeasure() 715 if (button.getLineCount() > 2 || newWidth >= oldWidth) { in squeezeButtonToTextWidth()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 709 final int desiredPos = mCoords[1] + height / getLineCount(); in scrollBottomIntoView() 1189 .abs(getLineCount() - line)) + getPaddingBottom()); in calculateOffsetFromBottomToTop() 2475 if (!isPhoneQuery() && getLineCount() > mMaxLines) { in createMoreChip() 2476 setMaxLines(getLineCount()); in createMoreChip()
|