Home
last modified time | relevance | path

Searched refs:getLineCount (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DDynamicLayoutTest.java141 assertEquals(TEXT.length, mDynamicLayout.getLineCount()); in testLineLayout()
152 assertEquals(mDynamicLayout.getLineBottom(mDynamicLayout.getLineCount()), in testLineLayout()
153 mDynamicLayout.getLineTop(mDynamicLayout.getLineCount() + 1)); in testLineLayout()
DStaticLayoutLineBreakingTest.java109 int[] breaks = new int[staticLayout.getLineCount() - 1]; in getBreaks()
118 int count = staticLayout.getLineCount(); in debugLayout()
140 assertEquals("Number of lines", lineCount, staticLayout.getLineCount()); in layout()
167 int lineCount = staticLayout.getLineCount(); in layoutMaxLines()
DStaticLayoutTest.java207 assertEquals(1, layout.getLineCount()); in testBuilder()
241 assertEquals(LINE_COUNT, mDefaultLayout.getLineCount()); in testGetLineCount()
571 assertEquals(2, layout.getLineCount()); in testImmutableStaticLayout()
577 assertEquals(2, layout.getLineCount()); in testImmutableStaticLayout()
1143 final int lineCount = layout.getLineCount(); in testGetOffsetForHorizontal_Multilines()
DBoringLayoutTest.java109 assertEquals(1, mBoringLayout.getLineCount()); in testPreconditions()
DLayoutTest.java314 public int getLineCount() { in getLineCount() 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/widget/src/android/widget/cts/
DTextViewTest.java724 assertEquals(1, mTextView.getLineCount()); in testHeightAndWidth()
728 assertEquals(2, mTextView.getLineCount()); in testHeightAndWidth()
733 assertEquals(1, mTextView.getLineCount()); in testHeightAndWidth()
737 assertEquals(2, mTextView.getLineCount()); in testHeightAndWidth()
743 assertEquals(1, mTextView.getLineCount()); in testSetMinEms()
757 assertEquals(1, mTextView.getLineCount()); in testSetMaxEms()
762 assertEquals(1, mTextView.getLineCount()); in testSetMaxEms()
766 assertTrue(1 < mTextView.getLineCount()); in testSetMaxEms()
773 assertEquals("check height", 1, mTextView.getLineCount()); in testSetEms()
778 assertEquals(1, mTextView.getLineCount()); in testSetEms()
[all …]
/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/
DArrowKeyMovementMethodTest.java140 assertEquals(1, mTextView.getLayout().getLineCount()); in testOnTakeFocus()
/cts/tools/dex-tools/dex/
Dclasses.out.dex75582 public abstract int getLineCount()
75803 public int getLineCount()
76092 public int getLineCount()
77833 public int getLineCount()
93482 public int getLineCount()