Searched refs:LAYOUT_DIRECTION_RTL (Results 1 – 11 of 11) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | LayoutDirectionTest.java | 26 import static android.view.View.LAYOUT_DIRECTION_RTL; 53 vg.setLayoutDirection(LAYOUT_DIRECTION_RTL); in checkDirectionForOneLayoutWithCode() 54 assertEquals(LAYOUT_DIRECTION_RTL, vg.getLayoutDirection()); in checkDirectionForOneLayoutWithCode() 86 parent.setLayoutDirection(LAYOUT_DIRECTION_RTL); in checkDirectionInheritanceForOneLayoutWithCode() 88 assertEquals(LAYOUT_DIRECTION_RTL, parent.getLayoutDirection()); in checkDirectionInheritanceForOneLayoutWithCode() 89 assertEquals(LAYOUT_DIRECTION_RTL, child.getLayoutDirection()); in checkDirectionInheritanceForOneLayoutWithCode() 128 R.id.layout_linearlayout_ltr_child_2, LAYOUT_DIRECTION_RTL, LAYOUT_DIRECTION_RTL, in testDirectionFromXml() 135 R.id.layout_linearlayout_rtl, LAYOUT_DIRECTION_RTL, LAYOUT_DIRECTION_RTL, in testDirectionFromXml() 137 R.id.layout_linearlayout_rtl_child_2, LAYOUT_DIRECTION_RTL, LAYOUT_DIRECTION_RTL, in testDirectionFromXml() 139 … R.id.layout_linearlayout_rtl_child_3, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_RTL, in testDirectionFromXml() [all …]
|
D | RelativeLayout_LayoutParamsTest.java | 189 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd() 211 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd() 231 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd() 250 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd() 269 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd() 286 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd() 303 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd() 325 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd()
|
D | ToolbarTest.java | 353 mMainToolbar.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testContentInsetsRtl()
|
D | GridViewTest.java | 243 testSetHorizontalSpacing(View.LAYOUT_DIRECTION_RTL); in testSetHorizontalSpacingRTL()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ConfigurationTest.java | 359 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetLocale() 365 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetLocale() 371 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetLocale() 377 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetLocale() 391 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetGetLayoutDirection() 395 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetGetLayoutDirection() 399 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetGetLayoutDirection() 403 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetGetLayoutDirection() 572 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetLocales_oneRtl() 583 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetLocales_twoLocales() [all …]
|
D | Resources_ThemeTest.java | 135 View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testRebase()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroup_MarginLayoutParamsTest.java | 141 vg.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testResolveMarginsRelative() 197 mMarginLayoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testResolveMarginsExplicit()
|
D | GravityTest.java | 45 final int layoutDirection = bRtl ? View.LAYOUT_DIRECTION_RTL : View.LAYOUT_DIRECTION_LTR; in applyGravity() 339 final int layoutDirection = isRtl ? View.LAYOUT_DIRECTION_RTL : View.LAYOUT_DIRECTION_LTR; in assertOneGravity()
|
D | ViewGroupTest.java | 1554 vg.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testSetPadding() 1593 vg.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testSetPaddingRelative() 1606 vg.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testSetPaddingRelative()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableTest.java | 601 mockDrawable.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testAccessLayoutDirection() 602 assertEquals(View.LAYOUT_DIRECTION_RTL, mockDrawable.getLayoutDirection()); in testAccessLayoutDirection()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | TextUtilsTest.java | 21 import static android.view.View.LAYOUT_DIRECTION_RTL; 2109 LAYOUT_DIRECTION_RTL, direction); in testGetLayoutDirectionFromLocale() local 2126 LAYOUT_DIRECTION_RTL, direction); in testGetLayoutDirectionFromLocale() local
|