Searched refs:LAYOUT_DIRECTION_RTL (Results 1 – 10 of 10) 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 | 188 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd() 210 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd() 230 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd() 249 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd() 268 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd() 285 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd() 302 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd() 324 layoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testStartEnd()
|
D | GridViewTest.java | 241 testSetHorizontalSpacing(View.LAYOUT_DIRECTION_RTL); in testSetHorizontalSpacingRTL()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ConfigurationTest.java | 314 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetLocale() 319 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetLocale() 324 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetLocale() 341 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetGetLayoutDirection() 345 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetGetLayoutDirection() 349 assertEquals(View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testSetGetLayoutDirection()
|
D | Resources_ThemeTest.java | 125 View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testRebase()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableTest.java | 569 mockDrawable.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testSetLayoutDirection() 570 assertEquals(View.LAYOUT_DIRECTION_RTL, mockDrawable.getLayoutDirection()); in testSetLayoutDirection() 579 mockDrawable.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testGetLayoutDirection() 580 assertEquals(View.LAYOUT_DIRECTION_RTL, mockDrawable.getLayoutDirection()); in testGetLayoutDirection()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroup_MarginLayoutParamsTest.java | 141 vg.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testResolveMarginsRelative()
|
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 | 1517 vg.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testSetPadding() 1556 vg.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testSetPaddingRelative() 1569 vg.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testSetPaddingRelative()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | TextUtilsTest.java | 21 import static android.view.View.LAYOUT_DIRECTION_RTL; 2103 LAYOUT_DIRECTION_RTL, direction); in testGetLayoutDirectionFromLocale() local 2120 LAYOUT_DIRECTION_RTL, direction); in testGetLayoutDirectionFromLocale() local
|