Searched refs:getLineTop (Results 1 – 9 of 9) sorted by relevance
/cts/tests/tests/text/src/android/text/cts/ |
D | DynamicLayoutTest.java | 145 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()
|
D | BoringLayoutTest.java | 110 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()
|
D | StaticLayoutTest.java | 251 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()
|
D | LayoutTest.java | 337 public int getLineTop(int line) { in getLineTop() method in LayoutTest.MockLayout
|
/cts/tests/tests/assist/testapp/src/android/voiceinteraction/testapp/ |
D | TextViewActivity.java | 96 scrollY = mTextView.getLayout().getLineTop(mTextView.getLineCount()) in onReceive()
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | TestStartActivity.java | 150 … scrollY = mTextView.getLayout().getLineTop(mTextView.getLineCount()) - mTextView.getHeight(); in scrollText()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | LinkMovementMethodTest.java | 275 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/ |
D | TextViewTest.java | 2322 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/ |
D | classes.out.dex | 75611 public abstract int getLineTop( 75817 public int getLineTop( 76103 public int getLineTop( 77847 public int getLineTop(
|