Home
last modified time | relevance | path

Searched refs:getLineStart (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DDynamicLayoutTest.java173 assertEquals(0, mDynamicLayout.getLineStart(LINE0)); in testLineLayout()
174 assertEquals(TEXT[0].length(), mDynamicLayout.getLineStart(LINE1)); in testLineLayout()
175 assertEquals(TEXT[0].length() + TEXT[1].length(), mDynamicLayout.getLineStart(LINE2)); in testLineLayout()
DBoringLayoutTest.java112 assertEquals(0, mBoringLayout.getLineStart(0)); in testPreconditions()
113 assertEquals(DEFAULT_CHAR_SEQUENCE.length(), mBoringLayout.getLineStart(1)); in testPreconditions()
114 assertEquals(DEFAULT_CHAR_SEQUENCE.length(), mBoringLayout.getLineStart(10)); in testPreconditions()
DStaticLayoutLineBreakingTest.java122 int lineStart = staticLayout.getLineStart(line); in debugLayout()
143 int lineStart = staticLayout.getLineStart(line); in layout()
171 int lineStart = staticLayout.getLineStart(line); in layoutMaxLines()
DStaticLayoutTest.java308 assertTrue(mDefaultLayout.getLineStart(0) >= 0); in testGetLineStart()
309 assertTrue(mDefaultLayout.getLineStart(1) >= 0); in testGetLineStart()
312 mDefaultLayout.getLineStart(-1); in testGetLineStart()
318 mDefaultLayout.getLineStart(LARGER_THAN_LINE_COUNT); in testGetLineStart()
DLayoutTest.java329 public int getLineStart(int line) { in getLineStart() method in LayoutTest.MockLayout
/cts/tests/tests/text/src/android/text/method/cts/
DLinkMovementMethodTest.java470 int x = (mView.getLayout().getLineStart(line) + mView.getLayout().getLineEnd(line)) / 2; in performMotionOnLine()