Home
last modified time | relevance | path

Searched refs:getLineCount (Results 1 – 7 of 7) 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.java199 assertEquals(1, layout.getLineCount()); in testBuilder()
233 assertEquals(LINE_COUNT, mDefaultLayout.getLineCount()); in testGetLineCount()
563 assertEquals(2, layout.getLineCount()); in testImmutableStaticLayout()
569 assertEquals(2, layout.getLineCount()); in testImmutableStaticLayout()
DBoringLayoutTest.java108 assertEquals(1, mBoringLayout.getLineCount()); in testPreconditions()
DLayoutTest.java314 public int getLineCount() { in getLineCount() method in LayoutTest.MockLayout
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java716 assertEquals(1, mTextView.getLineCount()); in testHeightAndWidth()
720 assertEquals(2, mTextView.getLineCount()); in testHeightAndWidth()
725 assertEquals(1, mTextView.getLineCount()); in testHeightAndWidth()
729 assertEquals(2, mTextView.getLineCount()); in testHeightAndWidth()
735 assertEquals(1, mTextView.getLineCount()); in testSetMinEms()
749 assertEquals(1, mTextView.getLineCount()); in testSetMaxEms()
754 assertEquals(1, mTextView.getLineCount()); in testSetMaxEms()
758 assertTrue(1 < mTextView.getLineCount()); in testSetMaxEms()
765 assertEquals("check height", 1, mTextView.getLineCount()); in testSetEms()
770 assertEquals(1, mTextView.getLineCount()); in testSetEms()
[all …]
/cts/tests/tests/text/src/android/text/method/cts/
DArrowKeyMovementMethodTest.java139 assertEquals(1, mTextView.getLayout().getLineCount()); in testOnTakeFocus()