Home
last modified time | relevance | path

Searched refs:getLineTop (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DDynamicLayoutTest.java145 assertEquals(LINE0_TOP, mDynamicLayout.getLineTop(LINE0)); in testLineLayout()
147 assertEquals(mDynamicLayout.getLineBottom(LINE0), mDynamicLayout.getLineTop(LINE1)); in testLineLayout()
148 assertEquals(mDynamicLayout.getLineBottom(LINE1), mDynamicLayout.getLineTop(LINE2)); in testLineLayout()
149 assertEquals(mDynamicLayout.getLineBottom(LINE2), mDynamicLayout.getLineTop(LINE3)); in testLineLayout()
153 mDynamicLayout.getLineTop(mDynamicLayout.getLineCount() + 1)); in testLineLayout()
168 assertEquals(LINE0, mDynamicLayout.getLineForVertical(mDynamicLayout.getLineTop(LINE0))); in testLineLayout()
DBoringLayoutTest.java110 assertEquals(0, mBoringLayout.getLineTop(0)); in testPreconditions()
111 assertEquals(mBoringLayout.getHeight(), mBoringLayout.getLineTop(1)); in testPreconditions()
112 assertEquals(mBoringLayout.getHeight(), mBoringLayout.getLineTop(10)); in testPreconditions()
DStaticLayoutTest.java251 assertTrue(mDefaultLayout.getLineTop(0) >= 0); in testGetLineTop()
252 assertTrue(mDefaultLayout.getLineTop(1) > mDefaultLayout.getLineTop(0)); in testGetLineTop()
255 mDefaultLayout.getLineTop(-1); in testGetLineTop()
261 mDefaultLayout.getLineTop(LARGER_THAN_LINE_COUNT ); in testGetLineTop()
DLayoutTest.java337 public int getLineTop(int line) { in getLineTop() method in LayoutTest.MockLayout
/cts/tests/tests/assist/testapp/src/android/voiceinteraction/testapp/
DTextViewActivity.java96 scrollY = mTextView.getLayout().getLineTop(mTextView.getLineCount()) in onReceive()
/cts/tests/tests/assist/src/android/assist/cts/
DTestStartActivity.java150 … scrollY = mTextView.getLayout().getLineTop(mTextView.getLineCount()) - mTextView.getHeight(); in scrollText()
/cts/tests/tests/text/src/android/text/method/cts/
DLinkMovementMethodTest.java275 int y = (mView.getLayout().getLineTop(1) + mView.getLayout().getLineBottom(1)) / 2; in testOnTouchEvent()
473 int y = (mView.getLayout().getLineTop(line) + mView.getLayout().getLineBottom(line)) / 2; in performMotionOnLine()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java2322 assertEquals(mTextView.getLayout().getLineTop(0), rc.top); in testGetFocusedRect()
2338 assertEquals(mTextView.getLayout().getLineTop(0), rc.top); in testGetFocusedRect()
2362 assertEquals(mTextView.getLayout().getLineTop(0), rc.top); in testGetFocusedRect()
2382 assertEquals(mTextView.getLayout().getLineTop(0), rc.top); in testGetFocusedRect()
3366 - mTextView.getLayout().getLineTop(mTextView.getLineCount()); in testGetTotalPaddingTop()
/cts/tools/dex-tools/dex/
Dclasses.out.dex75611 public abstract int getLineTop(
75817 public int getLineTop(
76103 public int getLineTop(
77847 public int getLineTop(