Home
last modified time | relevance | path

Searched refs:getParagraphDirection (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DBoringLayoutTest.java115 assertEquals(Layout.DIR_LEFT_TO_RIGHT, mBoringLayout.getParagraphDirection(0)); in testPreconditions()
118 assertEquals(Layout.DIR_LEFT_TO_RIGHT, mBoringLayout.getParagraphDirection(0)); in testPreconditions()
DDynamicLayoutTest.java171 assertEquals(Layout.DIR_LEFT_TO_RIGHT, mDynamicLayout.getParagraphDirection(LINE0)); in testLineLayout()
DStaticLayoutTest.java286 assertEquals(mDefaultLayout.getParagraphDirection(0), in testGetParagraphDirection()
287 mDefaultLayout.getParagraphDirection(1)); in testGetParagraphDirection()
289 mDefaultLayout.getParagraphDirection(-1); in testGetParagraphDirection()
295 mDefaultLayout.getParagraphDirection(LARGER_THAN_LINE_COUNT); in testGetParagraphDirection()
DLayoutTest.java345 public int getParagraphDirection(int line) { in getParagraphDirection() method in LayoutTest.MockLayout
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java3958 assertEquals(Layout.DIR_LEFT_TO_RIGHT, layout.getParagraphDirection(0)); in testTextDirectionFirstStrongLtr()
3973 assertEquals(Layout.DIR_RIGHT_TO_LEFT, layout.getParagraphDirection(0)); in testTextDirectionFirstStrongLtr()
3989 assertEquals(Layout.DIR_LEFT_TO_RIGHT, layout.getParagraphDirection(0)); in testTextDirectionFirstStrongLtr()
4008 assertEquals(Layout.DIR_LEFT_TO_RIGHT, layout.getParagraphDirection(0)); in testTextDirectionFirstStrongRtl()
4023 assertEquals(Layout.DIR_RIGHT_TO_LEFT, layout.getParagraphDirection(0)); in testTextDirectionFirstStrongRtl()
4039 assertEquals(Layout.DIR_RIGHT_TO_LEFT, layout.getParagraphDirection(0)); in testTextDirectionFirstStrongRtl()