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

12

/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.java2044 if (mLayout.getLineCount() <= mMaximum) {
2081 if (mLayout.getLineCount() <= mMaximum) {
5843 if (!mSingleLine && getLineCount() == 1 && canMarquee() &&
5935 public int getLineCount() { method in class:TextView
5936 return mLayout != null ? mLayout.getLineCount() : 0;
5940 * Return the baseline for the specified line (0...getLineCount() - 1)
5944 * @param line which line to examine (0..getLineCount() - 1)
6972 if (width > 0.0f && mLayout != null && getLineCount() == 1 && !mUserSetTextScaleX &&
6991 int n = layout.getLineCount();
7200 if (mMaxMode == LINES && mLayout.getLineCount() > mMaximu
[all...]
H A DEditor.java739 for (int i = 0; i < l.getLineCount(); i++) {
916 while (maxLine < layout.getLineCount() - 1) {
4982 if (layout == null || prevLine > layout.getLineCount()
4983 || layout.getLineCount() <= 0 || prevLine < 0) {
4994 final int lineCount = layout.getLineCount();
H A DToolbar.java584 final int lineCount = titleLayout.getLineCount();
/frameworks/base/core/java/com/android/internal/widget/
H A DDialogTitle.java54 final int lineCount = layout.getLineCount();
H A DMessagingLinearLayout.java164 if (imageLines == 2 && textChild.getLineCount() > 2) {
174 imageLines -= textChild.getLineCount();
H A DSubtitleView.java301 final int lineCount = layout.getLineCount();
H A DActionBarView.java864 final int lineCount = titleLayout.getLineCount();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DTextViewTransformState.java63 int lines = l.getLineCount();
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DDialogTitle.java57 final int lineCount = layout.getLineCount();
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DAbstractDetailsDescriptionPresenter.java106 mTitle.getLineCount() > 1) {
107 mTitle.setMaxLines(mTitle.getLineCount() - 1);
110 final int titleLines = mTitle.getLineCount();
H A DResizingTextView.java217 final int lineCount = layout.getLineCount();
/frameworks/base/core/java/android/text/
H A DSelection.java186 if (line < layout.getLineCount() - 1) {
294 if (line < layout.getLineCount() - 1) {
417 if (line == layout.getLineCount() - 1)
H A DDynamicLayout.java270 endline = getLineCount();
272 boolean islast = (endline == getLineCount());
301 int n = reflowed.getLineCount();
447 * than getLineCount()
596 public int getLineCount() { method in class:DynamicLayout
H A DLayout.java504 final int bottom = Math.min(getLineTop(getLineCount()), dbottom);
615 return getLineTop(getLineCount());
650 public abstract int getLineCount(); method in class:Layout
653 * Return the baseline for the specified line (0&hellip;getLineCount() - 1)
656 * @param line which line to examine (0..getLineCount() - 1)
672 * (0&hellip;getLineCount()).
679 * Return the descent of the specified line(0&hellip;getLineCount() - 1).
685 * 0&hellip;getLineCount()). If the specified line is equal to the line
1101 int high = getLineCount(), low = -1, guess;
1124 int high = getLineCount(), lo
[all...]
H A DBoringLayout.java325 public int getLineCount() { method in class:BoringLayout
H A DStaticLayout.java1135 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.java303 assertEquals(lines, l.getLineCount());
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DMessagingLinearLayoutTest.java194 public int getLineCount() { method in class:MessagingLinearLayoutTest.FakeImageFloatingTextView
199 return LINE_HEIGHT * getLineCount();
/frameworks/support/design/src/android/support/design/widget/
H A DSnackbar.java755 final boolean isMultiLine = mMessageView.getLayout().getLineCount() > 1;
H A DTabLayout.java1598 } else if (mTextView != null && mTextView.getLineCount() > 1) {
1604 final int curLineCount = mTextView.getLineCount();
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java709 final int desiredPos = mCoords[1] + height / getLineCount();
1189 .abs(getLineCount() - line)) + getPaddingBottom());
2465 if (!isPhoneQuery() && getLineCount() > mMaxLines) {
2466 setMaxLines(getLineCount());

Completed in 612 milliseconds

12