/cts/tests/tests/graphics/src/android/graphics/text/cts/ |
D | HyphenationTest.java | 72 assertEquals(3, r.getLineCount()); in testAfrikaansPattern() 96 assertEquals(4, r.getLineCount()); in testAlbanianPattern() 121 assertEquals(3, r.getLineCount()); in testAmharicPattern() 146 assertEquals(5, r.getLineCount()); in testCzechPattern() 173 assertEquals(3, r.getLineCount()); in testDutchPattern() 196 assertEquals(3, r.getLineCount()); in testEnglishPattern() 218 assertEquals(2, r.getLineCount()); in testGalicianPattern() 240 assertEquals(3, r.getLineCount()); in testGeorgianPattern() 263 assertEquals(3, r.getLineCount()); in testGreekPattern() 286 assertEquals(3, r.getLineCount()); in testItalianPattern() [all …]
|
D | LineBreakerTest.java | 245 assertEquals(1, r.getLineCount()); in testLineBreak_Simple() 268 assertEquals(2, r.getLineCount()); in testLineBreak_Simple2() 300 assertEquals(4, r.getLineCount()); in testLineBreak_Simple3() 345 assertEquals(2, r.getLineCount()); in testLineBreak_Simple_NotRectangle() 378 assertEquals(4, r.getLineCount()); in testLineBreak_Simple_Hyphenation() 427 assertEquals(3, r.getLineCount()); in testLineBreak_Simple_Styled() 469 assertEquals(2, r.getLineCount()); in testLineBreak_Simple_Styled2() 501 assertEquals(2, r.getLineCount()); in testLineBreak_Simple_indents() 534 assertEquals(3, r.getLineCount()); in testLineBreak_Simple_indents2() 574 assertEquals(3, r.getLineCount()); in testLineBreak_Simple_tabStop() [all …]
|
/cts/tests/tests/text/src/android/text/cts/ |
D | DynamicLayoutTest.java | 145 assertThat(dynamicLayout.getLineCount()).isEqualTo(3); in testEllipsis_multilineNotEllipsized() 173 assertThat(dynamicLayout.getLineCount()).isEqualTo(3); in testEllipsis_transformedNotEllipsized() 224 assertEquals(TEXT.length, mDynamicLayout.getLineCount()); in testLineLayout() 235 assertEquals(mDynamicLayout.getLineBottom(mDynamicLayout.getLineCount()), in testLineLayout() 236 mDynamicLayout.getLineTop(mDynamicLayout.getLineCount() + 1)); in testLineLayout() 328 final int lineCount = expected.getLineCount(); in assertLineSpecs() 330 assertEquals(lineCount, actual.getLineCount()); in assertLineSpecs() 518 assertThat(layout.getLineCount()).isEqualTo(TEXT.length); in testDisplayTextUsedInsteadOfBase()
|
D | StaticLayoutLineBreakingTest.java | 96 final int[] breaks = new int[staticLayout.getLineCount() - 1]; in getBreaks() 105 int count = staticLayout.getLineCount(); in debugLayout() 130 assertEquals("Number of lines", lineCount, staticLayout.getLineCount()); in layout() 163 final int lineCount = staticLayout.getLineCount(); in layoutMaxLines()
|
D | StaticLayoutGetLineLeftRightTest.java | 145 final int lineCount = mLayout.getLineCount(); in testGetLineLeft() 169 final int lineCount = mLayout.getLineCount(); in testGetLineRight()
|
D | StaticLayoutBidiTouchTest.java | 58 for (int i = 0; i < layout.getLineCount(); ++i) { in touchOffsetTest()
|
D | StaticLayoutTest.java | 228 assertEquals(1, layout.getLineCount()); in testBuilder() 289 assertEquals(2, comparisonLayout.getLineCount()); in testSetLineSpacing_whereLineEndsWithNextLine() 306 assertEquals(comparisonLayout.getLineCount(), layout.getLineCount()); in testSetLineSpacing_whereLineEndsWithNextLine() 345 assertEquals(LINE_COUNT, mDefaultLayout.getLineCount()); in testGetLineCount() 613 assertEquals(2, layout.getLineCount()); in testImmutableStaticLayout() 619 assertEquals(2, layout.getLineCount()); in testImmutableStaticLayout() 1169 final int lineCount = layout.getLineCount(); in testGetOffsetForHorizontal_Multilines() 1316 for (int i = 0; i < layout.getLineCount(); i++) { 1332 for (int i = 0; i < layout.getLineCount(); i++) { 1593 assertTrue(layout0.getLineCount() > 2); [all …]
|
D | LayoutGetRangeForRectTest.java | 98 mLineCenters = new float[mLayout.getLineCount()]; in setup() 99 for (int i = 0; i < mLayout.getLineCount(); ++i) { in setup()
|
D | StaticLayoutLineBreakingVariantsTest.java | 77 assertEquals(expected.length, layout.getLineCount()); in assertLineBreak()
|
D | BoringLayoutTest.java | 141 assertEquals(1, mBoringLayout.getLineCount()); in testPreconditions()
|
/cts/tests/tests/assist/testapp/src/android/assist/testapp/ |
D | TextViewActivity.java | 55 scrollY = mTextView.getLayout().getLineTop(mTextView.getLineCount()) in onReceivedEventFromCaller()
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | TestStartActivity.java | 116 … scrollY = mTextView.getLayout().getLineTop(mTextView.getLineCount()) - mTextView.getHeight(); in scrollText()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | BaseKeyListenerTest.java | 630 private static int getLineCount(CharSequence content, TextView tv) { in getLineCount() method in BaseKeyListenerTest 635 .build().getLineCount(); in getLineCount() 644 if (getLineCount(content, mTextView) < lineCount) { in prepTextViewWithLinesSync() 647 if (getLineCount(content, mTextView) >= lineCount) { in prepTextViewWithLinesSync()
|
D | ArrowKeyMovementMethodTest.java | 167 assertEquals(1, mTextView.getLayout().getLineCount()); in testOnTakeFocus()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 1211 assertEquals(1, mTextView.getLineCount()); in testWidth() 1217 assertEquals(2, mTextView.getLineCount()); in testWidth() 1224 assertEquals(1, mTextView.getLineCount()); in testWidth() 1231 assertEquals(2, mTextView.getLineCount()); in testWidth() 1245 assertEquals(1, mTextView.getLineCount()); in testSetMinEms() 1267 assertEquals(1, mTextView.getLineCount()); in testSetMaxEms() 1273 assertEquals(1, mTextView.getLineCount()); in testSetMaxEms() 1279 assertTrue(1 < mTextView.getLineCount()); in testSetMaxEms() 1291 assertEquals("check height", 1, mTextView.getLineCount()); in testSetEms() 1296 assertEquals(1, mTextView.getLineCount()); in testSetEms() [all …]
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 18127 method @IntRange(from=0) public int getLineCount(); 47507 method public int getLineCount(); 47546 method public int getLineCount(); 47742 method public abstract int getLineCount(); 48078 method public int getLineCount(); 60900 method public int getLineCount();
|