Searched defs:getLineCount (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DMessagingLinearLayoutTest.java176 public int getLineCount() { method in class:MessagingLinearLayoutTest.FakeImageFloatingTextView
181 return LINE_HEIGHT * getLineCount();
/frameworks/base/core/java/android/text/
H A DBoringLayout.java362 public int getLineCount() { method in class:BoringLayout
H A DDynamicLayout.java575 endline = getLineCount();
577 boolean islast = (endline == getLineCount());
610 int n = reflowed.getLineCount();
804 * than getLineCount()
995 public int getLineCount() { method in class:DynamicLayout
H A DLayout.java673 final int bottom = Math.min(getLineTop(getLineCount()), dbottom);
784 return getLineTop(getLineCount());
830 public abstract int getLineCount(); method in class:Layout
833 * Return the baseline for the specified line (0…getLineCount() - 1)
836 * @param line which line to examine (0..getLineCount() - 1)
852 * (0…getLineCount()).
859 * Return the descent of the specified line(0…getLineCount() - 1).
865 * 0…getLineCount()). If the specified line is equal to the line
1408 int high = getLineCount(), low = -1, guess;
1431 int high = getLineCount(), lo
[all...]
H A DStaticLayout.java1202 public int getLineCount() { method in class:StaticLayout
1241 if (line > getLineCount()) {
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
H A DRowContent.java310 public int getLineCount() { method in class:RowContent
330 int rowHeight = (getLineCount() > 1 || mIsHeader) ? mMaxHeight : mMinHeight;
332 if (getLineCount() > 0) {
/frameworks/base/core/tests/coretests/src/android/text/
H A DLayoutTest.java546 public int getLineCount() { method in class:LayoutTest.MockLayout
/frameworks/base/core/java/android/widget/
H A DTextView.java2545 if (mLayout.getLineCount() <= mMaximum) {
2582 if (mLayout.getLineCount() <= mMaximum) {
7211 if (!mSingleLine && getLineCount() == 1 && canMarquee()
7303 public int getLineCount() { method in class:TextView
7304 return mLayout != null ? mLayout.getLineCount() : 0;
7308 * Return the baseline for the specified line (0...getLineCount() - 1)
7312 * @param line which line to examine (0..getLineCount() - 1)
8394 if (width > 0.0f && mLayout != null && getLineCount() == 1 && !mUserSetTextScaleX
8413 int n = layout.getLineCount();
8628 if (mMaxMode == LINES && mLayout.getLineCount() > mMaximu
[all...]

Completed in 66 milliseconds