/cts/tests/tests/text/src/android/text/cts/ |
DynamicLayoutTest.java | 145 assertEquals(LINE0_TOP, mDynamicLayout.getLineTop(LINE0)); 147 assertEquals(mDynamicLayout.getLineBottom(LINE0), mDynamicLayout.getLineTop(LINE1)); 148 assertEquals(mDynamicLayout.getLineBottom(LINE1), mDynamicLayout.getLineTop(LINE2)); 149 assertEquals(mDynamicLayout.getLineBottom(LINE2), mDynamicLayout.getLineTop(LINE3)); 153 mDynamicLayout.getLineTop(mDynamicLayout.getLineCount() + 1)); 168 assertEquals(LINE0, mDynamicLayout.getLineForVertical(mDynamicLayout.getLineTop(LINE0)));
|
StaticLayoutTest.java | 135 assertTrue(mDefaultLayout.getLineTop(0) >= 0); 136 assertTrue(mDefaultLayout.getLineTop(1) > mDefaultLayout.getLineTop(0)); 139 mDefaultLayout.getLineTop(-1); 145 mDefaultLayout.getLineTop(LARGER_THAN_LINE_COUNT ); 153 * This method just like getLineTop, descent means the bottom pixel of the line
|
BoringLayoutTest.java | 149 assertEquals(0, mBoringLayout.getLineTop(0)); 150 assertEquals(mBoringLayout.getHeight(), mBoringLayout.getLineTop(1)); 151 assertEquals(mBoringLayout.getHeight(), mBoringLayout.getLineTop(10));
|
LayoutTest.java | 337 public int getLineTop(int line) {
|
/frameworks/base/core/java/android/widget/ |
AccessibilityIterators.java | 151 final int currentLineTop = mLayout.getLineTop(currentLine); 155 final int lastLineTop = mLayout.getLineTop(mLayout.getLineCount() - 1); 180 final int currentLineTop = mLayout.getLineTop(currentLine);
|
TextView.java | [all...] |
Editor.java | [all...] |
/frameworks/base/core/java/android/text/method/ |
BaseMovementMethod.java | 512 if (layout.getLineTop(topLine) == top) { 519 Touch.scrollTo(widget, layout, widget.getScrollX(), layout.getLineTop(topLine)); 540 if (layout.getLineTop(bottomLine + 1) < bottom + 1) { 550 layout.getLineTop(bottomLine + 1) - innerHeight); 570 Touch.scrollTo(widget, layout, widget.getScrollX(), layout.getLineTop(topLine)); 592 layout.getLineTop(bottomLine + 1) - innerHeight); 610 Touch.scrollTo(widget, layout, widget.getScrollX(), layout.getLineTop(0)); 630 layout.getLineTop(lineCount) - getInnerHeight(widget));
|
ScrollingMovementMethod.java | 99 layout.getLineTop(0)); 107 layout.getLineTop(line+1) -
|
ArrowKeyMovementMethod.java | 39 return layout.getLineTop(layout.getLineForOffset(Selection.getSelectionEnd(buffer)));
|
/frameworks/base/core/java/android/text/style/ |
IconMarginSpan.java | 47 int itop = layout.getLineTop(layout.getLineForOffset(st));
|
DrawableMarginSpan.java | 48 int itop = (int)layout.getLineTop(layout.getLineForOffset(st));
|
/packages/apps/Gallery/src/com/android/camera/ |
ActionMenuButton.java | 81 top + layout.getLineTop(0) - PADDING_V,
|
/frameworks/base/core/java/android/text/ |
Layout.java | 212 int previousLineBottom = getLineTop(firstLine); 233 int lbottom = getLineTop(i+1); 374 int previousLineBottom = getLineTop(firstLine); 387 int lbottom = getLineTop(i + 1); 457 final int bottom = Math.min(getLineTop(getLineCount()), dbottom); 568 return getLineTop(getLineCount()); 616 bounds.top = getLineTop(line); 618 bounds.bottom = getLineTop(line + 1); 629 public abstract int getLineTop(int line); [all...] |
DynamicLayout.java | 261 int startv = getLineTop(startline); 266 int endv = getLineTop(endline); 303 int ht = reflowed.getLineTop(n); 338 int top = reflowed.getLineTop(i) + startv; 591 public int getLineTop(int line) {
|
BoringLayout.java | 328 public int getLineTop(int line) {
|
StaticLayout.java | 229 chooseHtv[i] = getLineTop(getLineForOffset(o)); [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
BubbleTextView.java | 173 getExtendedPaddingTop() - (int) BubbleTextView.PADDING_V + getLayout().getLineTop(0);
|
Workspace.java | [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
LinkMovementMethodTest.java | 273 int y = (mView.getLayout().getLineTop(1) + mView.getLayout().getLineBottom(1)) / 2; 471 int y = (mView.getLayout().getLineTop(line) + mView.getLayout().getLineBottom(line)) / 2;
|
/frameworks/base/core/java/com/android/internal/widget/ |
SubtitleView.java | 298 float previousBottom = layout.getLineTop(0);
|
/frameworks/base/core/tests/coretests/src/android/text/ |
StaticLayoutTest.java | 314 assertEquals(info, top, l.getLineTop(line));
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
BubbleTextView.java | 191 getExtendedPaddingTop() - (int) BubbleTextView.PADDING_V + getLayout().getLineTop(0);
|
Workspace.java | [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
TextViewTest.java | [all...] |