/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 | 2630 if (mLayout.getLineCount() <= mMaximum) { 2667 if (mLayout.getLineCount() <= mMaximum) { 6862 if (!mSingleLine && getLineCount() == 1 && canMarquee() in onDraw() 6954 public int getLineCount() { in getLineCount() method 6955 return mLayout != null ? mLayout.getLineCount() : 0; in getLineCount() 8020 if (width > 0.0f && mLayout != null && getLineCount() == 1 && !mUserSetTextScaleX in compressText() 8039 int n = layout.getLineCount(); in desired() 8250 if (mMaxMode == LINES && mLayout.getLineCount() > mMaximum) { in onMeasure() 8367 if (maxLines != -1 && layout.getLineCount() > maxLines) { in suggestedSizeFitsInSpace() 8402 int linecount = layout.getLineCount(); in getDesiredHeight() [all …]
|
D | Editor.java | 762 for (int i = 0; i < l.getLineCount(); i++) { in chooseSize() 939 while (maxLine < layout.getLineCount() - 1) { in getParagraphsRange() 5094 if (layout == null || prevLine > layout.getLineCount() 5095 || layout.getLineCount() <= 0 || prevLine < 0) { 5106 final int lineCount = layout.getLineCount();
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | AbstractDetailsDescriptionPresenter.java | 106 && mTitle.getLineCount() > 1) { in addPreDrawListener() 107 mTitle.setMaxLines(mTitle.getLineCount() - 1); in addPreDrawListener() 110 final int titleLines = mTitle.getLineCount(); in addPreDrawListener()
|
D | ResizingTextView.java | 216 final int lineCount = layout.getLineCount(); in onMeasure()
|
/frameworks/base/core/java/android/text/ |
D | Selection.java | 186 if (line < layout.getLineCount() - 1) { in moveDown() 294 if (line < layout.getLineCount() - 1) { in extendDown() 417 if (line == layout.getLineCount() - 1) in findEdge()
|
D | DynamicLayout.java | 276 endline = getLineCount(); in reflow() 278 boolean islast = (endline == getLineCount()); in reflow() 308 int n = reflowed.getLineCount(); in reflow() 679 public int getLineCount() { in getLineCount() method in DynamicLayout
|
D | Layout.java | 644 final int bottom = Math.min(getLineTop(getLineCount()), dbottom); in getLineRangeForDraw() 755 return getLineTop(getLineCount()); in getHeight() 801 public abstract int getLineCount(); in getLineCount() method in Layout 1262 int high = getLineCount(), low = -1, guess; in getLineForVertical() 1285 int high = getLineCount(), low = -1, guess; in getLineForOffset() 1334 if (line == getLineCount() - 1) { in getOffsetForHorizontal() 1425 if (line == getLineCount() - 1) { in getLineVisibleEnd() 1488 if (line < getLineCount() - 1) { in getOffsetToLeftRightOf()
|
D | BoringLayout.java | 306 public int getLineCount() { in getLineCount() method in BoringLayout
|
D | StaticLayout.java | 1178 public int getLineCount() {
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | StaticLayoutDirectionsTest.java | 137 if (l.getLineCount() != 2) { in testTrailingWhitespace() 138 throw new RuntimeException("expected 2 lines, got: " + l.getLineCount()); in testTrailingWhitespace()
|
D | StaticLayoutTest.java | 298 assertEquals(lines, l.getLineCount()); in assertLinesMetrics()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | DialogTitle.java | 57 final int lineCount = layout.getLineCount(); in onMeasure()
|
D | AppCompatTextViewAutoSizeHelper.java | 673 if (maxLines != -1 && layout.getLineCount() > maxLines) { in suggestedSizeFitsInSpace()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DialogTitle.java | 54 final int lineCount = layout.getLineCount(); in onMeasure()
|
D | MessagingLinearLayout.java | 170 if (imageLines == 2 && textChild.getLineCount() > 2) { in onMeasure() 188 imageLines -= textChild.getLineCount(); in onMeasure()
|
D | SubtitleView.java | 301 final int lineCount = layout.getLineCount(); in onDraw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | TextViewTransformState.java | 63 int lines = l.getLineCount(); in getEllipsisCount()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | MessagingLinearLayoutTest.java | 206 public int getLineCount() { in getLineCount() method in MessagingLinearLayoutTest.FakeImageFloatingTextView 211 return LINE_HEIGHT * getLineCount(); in getDesiredHeight()
|
/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/support/design/src/android/support/design/internal/ |
D | SnackbarContentLayout.java | 85 final boolean isMultiLine = mMessageView.getLayout().getLineCount() > 1; in onMeasure()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewTest.java | 208 int lineCount = layout.getLineCount(); in testHyphenationWidth()
|
/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()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | TabLayout.java | 1613 } else if (mTextView != null && mTextView.getLineCount() > 1) { 1619 final int curLineCount = mTextView.getLineCount();
|