Home
last modified time | relevance | path

Searched refs:LAYOUT_DIRECTION_RTL (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DLayoutDirectionTest.java26 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 …]
DRelativeLayout_LayoutParamsTest.java188 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()
DGridViewTest.java241 testSetHorizontalSpacing(View.LAYOUT_DIRECTION_RTL); in testSetHorizontalSpacingRTL()
/cts/tests/tests/content/src/android/content/res/cts/
DConfigurationTest.java314 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()
DResources_ThemeTest.java125 View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testRebase()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableTest.java569 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/
DViewGroup_MarginLayoutParamsTest.java141 vg.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testResolveMarginsRelative()
DGravityTest.java45 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()
DViewGroupTest.java1517 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/
DTextUtilsTest.java21 import static android.view.View.LAYOUT_DIRECTION_RTL;
2103 LAYOUT_DIRECTION_RTL, direction); in testGetLayoutDirectionFromLocale() local
2120 LAYOUT_DIRECTION_RTL, direction); in testGetLayoutDirectionFromLocale() local