Searched refs:getLineCount (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DAccessibilityIterators.java70 if (nextLine >= mLayout.getLineCount()) {
155 final int lastLineTop = mLayout.getLineTop(mLayout.getLineCount() - 1);
157 ? mLayout.getLineForVertical(nextPageStartY) - 1 : mLayout.getLineCount() - 1;
H A DTextView.java1718 if (mLayout.getLineCount() <= mMaximum) {
1751 if (mLayout.getLineCount() <= mMaximum) {
5010 if (!mSingleLine && getLineCount() == 1 && canMarquee() &&
5102 public int getLineCount() { method in class:TextView
5103 return mLayout != null ? mLayout.getLineCount() : 0;
5107 * Return the baseline for the specified line (0...getLineCount() - 1)
5111 * @param line which line to examine (0..getLineCount() - 1)
6056 if (width > 0.0f && mLayout != null && getLineCount() == 1 && !mUserSetTextScaleX &&
6075 int n = layout.getLineCount();
6284 if (mMaxMode == LINES && mLayout.getLineCount() > mMaximu
[all...]
H A DEditor.java552 for (int i = 0; i < l.getLineCount(); i++) {
/frameworks/base/core/java/com/android/internal/widget/
H A DDialogTitle.java51 final int lineCount = layout.getLineCount();
H A DActionBarView.java865 final int lineCount = titleLayout.getLineCount();
/frameworks/base/core/java/android/text/
H A DSelection.java180 if (line < layout.getLineCount() - 1) {
285 if (line < layout.getLineCount() - 1) {
408 if (line == layout.getLineCount() - 1)
H A DDynamicLayout.java265 endline = getLineCount();
267 boolean islast = (endline == getLineCount());
288 int n = reflowed.getLineCount();
437 * than getLineCount()
563 public int getLineCount() { method in class:DynamicLayout
H A DLayout.java457 final int bottom = Math.min(getLineTop(getLineCount()), dbottom);
568 return getLineTop(getLineCount());
603 public abstract int getLineCount(); method in class:Layout
606 * Return the baseline for the specified line (0&hellip;getLineCount() - 1)
609 * @param line which line to examine (0..getLineCount() - 1)
625 * (0&hellip;getLineCount()).
632 * Return the descent of the specified line(0&hellip;getLineCount() - 1).
638 * 0&hellip;getLineCount()). If the specified line is equal to the line
989 int high = getLineCount(), low = -1, guess;
1012 int high = getLineCount(), lo
[all...]
H A DBoringLayout.java323 public int getLineCount() { method in class:BoringLayout
H A DStaticLayout.java842 public int getLineCount() { method in class:StaticLayout
/frameworks/base/core/java/android/text/method/
H A DScrollingMovementMethod.java104 int line = layout.getLineCount() - 1;
H A DBaseMovementMethod.java546 final int limit = layout.getLineCount() - 1;
590 if (bottomLine <= layout.getLineCount() - 1) {
627 final int lineCount = layout.getLineCount();
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutDirectionsTest.java131 if (l.getLineCount() != 2) {
132 throw new RuntimeException("expected 2 lines, got: " + l.getLineCount());
H A DStaticLayoutTest.java297 assertEquals(lines, l.getLineCount());
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DTicker.java97 int lineCount = l.getLineCount();
123 final int lineCount = l.getLineCount();
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java285 mMaxLines = getLineCount();
699 int actualLine = getLineCount() - (line + 1);
1456 if (line == getLineCount() -1) {
1459 bottom = -(int) ((mChipHeight + (2 * mLineSpacingExtra)) * (Math.abs(getLineCount() - 1
1879 if (!isPhoneQuery() && getLineCount() > mMaxLines) {
1880 setMaxLines(getLineCount());
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java2408 if (line < layout.getLineCount() - 1) {

Completed in 347 milliseconds