Searched refs:LAYOUT_DIRECTION_RTL (Results 1 – 16 of 16) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | LayoutDirectionTest.java | 22 import static android.view.View.LAYOUT_DIRECTION_RTL; 76 vg.setLayoutDirection(LAYOUT_DIRECTION_RTL); in verifyDirectionForOneLayoutWithCode() 77 assertEquals(LAYOUT_DIRECTION_RTL, vg.getLayoutDirection()); in verifyDirectionForOneLayoutWithCode() 110 parent.setLayoutDirection(LAYOUT_DIRECTION_RTL); in verifyDirectionInheritanceForOneLayoutWithCode() 112 assertEquals(LAYOUT_DIRECTION_RTL, parent.getLayoutDirection()); in verifyDirectionInheritanceForOneLayoutWithCode() 113 assertEquals(LAYOUT_DIRECTION_RTL, child.getLayoutDirection()); in verifyDirectionInheritanceForOneLayoutWithCode() 155 R.id.layout_linearlayout_ltr_child_2, LAYOUT_DIRECTION_RTL, LAYOUT_DIRECTION_RTL, in testDirectionFromXml() 164 R.id.layout_linearlayout_rtl, LAYOUT_DIRECTION_RTL, LAYOUT_DIRECTION_RTL, in testDirectionFromXml() 166 R.id.layout_linearlayout_rtl_child_2, LAYOUT_DIRECTION_RTL, LAYOUT_DIRECTION_RTL, in testDirectionFromXml() 169 LAYOUT_DIRECTION_RTL, in testDirectionFromXml() [all …]
|
D | RelativeLayout_LayoutParamsTest.java | 222 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd() 244 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd() 264 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd() 283 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd() 302 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd() 319 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd() 336 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd() 358 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd()
|
D | ToolbarTest.java | 368 mMainToolbar.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testContentInsetsRtl() 438 () -> mMainToolbar.setLayoutDirection(View.LAYOUT_DIRECTION_RTL)); in testCurrentContentInsetsRtl()
|
D | RelativeLayoutTest.java | 382 .setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testBidiWidth()
|
D | ListViewTest.java | 842 mListView.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testResolveRtlOnReAttach() 871 mListView.getChildAt(0).getLayoutDirection(), View.LAYOUT_DIRECTION_RTL); in testResolveRtlOnReAttach()
|
D | GridViewTest.java | 269 verifyAccessHorizontalSpacing(View.LAYOUT_DIRECTION_RTL); in testAccessHorizontalSpacingRTL()
|
D | TextViewTest.java | 4063 mTextView.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testGetCompoundDrawablesRelative() 8395 textView.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testGetTextDirectionHeuristic_RtlLayout_TextDirectionFirstStrong() 8407 textView.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testGetTextDirectionHeuristic_RtlLayout_TextDirectionAnyRtl() 8441 textView.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testGetTextDirectionHeuristic_RtlLayout_TextDirectionFirstStrongLtr() 8455 textView.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testGetTextDirectionHeuristic_RtlLayout_TextDirectionFirstStrongRtl() 8470 textView.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testGetTextDirectionHeuristic_phoneInputType_returnsLTR()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ConfigurationTest.java | 432 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetLocale() 438 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetLocale() 444 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetLocale() 450 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetLocale() 464 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetGetLayoutDirection() 468 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetGetLayoutDirection() 472 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetGetLayoutDirection() 476 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetGetLayoutDirection() 661 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetLocales_oneRtl() 672 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetLocales_twoLocales() [all …]
|
D | Resources_ThemeTest.java | 145 View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testRebase()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroup_MarginLayoutParamsTest.java | 153 vg.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testResolveMarginsRelative() 210 mMarginLayoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testResolveMarginsExplicit()
|
D | GravityTest.java | 55 final int layoutDirection = bRtl ? View.LAYOUT_DIRECTION_RTL : View.LAYOUT_DIRECTION_LTR; in applyGravity() 353 final int layoutDirection = isRtl ? View.LAYOUT_DIRECTION_RTL : View.LAYOUT_DIRECTION_LTR; in verifyOneGravity()
|
D | FocusFinderTest.java | 446 () -> mLayout.setLayoutDirection(View.LAYOUT_DIRECTION_RTL)); in testBasicFocusOrder()
|
D | ViewGroupTest.java | 2217 mMockViewGroup.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testSetPadding() 2256 mMockViewGroup.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testSetPaddingRelative() 2269 mMockViewGroup.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testSetPaddingRelative()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableTest.java | 753 mockDrawable.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testAccessLayoutDirection() 754 assertEquals(View.LAYOUT_DIRECTION_RTL, mockDrawable.getLayoutDirection()); in testAccessLayoutDirection()
|
D | AnimatedImageDrawableTest.java | 634 drawable.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testAutoMirroredDrawing()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | TextUtilsTest.java | 20 import static android.view.View.LAYOUT_DIRECTION_RTL; 2319 LAYOUT_DIRECTION_RTL, direction); in testGetLayoutDirectionFromLocale() local 2336 LAYOUT_DIRECTION_RTL, direction); in testGetLayoutDirectionFromLocale() local
|