Searched refs:getLineStart (Results 1 – 7 of 7) sorted by relevance
173 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()
113 assertEquals(0, mBoringLayout.getLineStart(0)); in testPreconditions()114 assertEquals(DEFAULT_CHAR_SEQUENCE.length(), mBoringLayout.getLineStart(1)); in testPreconditions()115 assertEquals(DEFAULT_CHAR_SEQUENCE.length(), mBoringLayout.getLineStart(10)); in testPreconditions()
122 int lineStart = staticLayout.getLineStart(line); in debugLayout()143 int lineStart = staticLayout.getLineStart(line); in layout()171 int lineStart = staticLayout.getLineStart(line); in layoutMaxLines()
316 assertTrue(mDefaultLayout.getLineStart(0) >= 0); in testGetLineStart()317 assertTrue(mDefaultLayout.getLineStart(1) >= 0); in testGetLineStart()320 mDefaultLayout.getLineStart(-1); in testGetLineStart()326 mDefaultLayout.getLineStart(LARGER_THAN_LINE_COUNT); in testGetLineStart()
329 public int getLineStart(int line) { in getLineStart() method in LayoutTest.MockLayout
472 int x = (mView.getLayout().getLineStart(line) + mView.getLayout().getLineEnd(line)) / 2; in performMotionOnLine()
75608 public abstract int getLineStart(75814 public int getLineStart(76100 public int getLineStart(77844 public int getLineStart(