Home
last modified time | relevance | path

Searched refs:LAYOUT_DIRECTION_RTL (Results 1 – 11 of 11) 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.java189 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()
DToolbarTest.java353 mMainToolbar.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testContentInsetsRtl()
DGridViewTest.java243 testSetHorizontalSpacing(View.LAYOUT_DIRECTION_RTL); in testSetHorizontalSpacingRTL()
/cts/tests/tests/content/src/android/content/res/cts/
DConfigurationTest.java359 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 …]
DResources_ThemeTest.java135 View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testRebase()
/cts/tests/tests/view/src/android/view/cts/
DViewGroup_MarginLayoutParamsTest.java141 vg.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testResolveMarginsRelative()
197 mMarginLayoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testResolveMarginsExplicit()
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.java1554 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/
DDrawableTest.java601 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/
DTextUtilsTest.java21 import static android.view.View.LAYOUT_DIRECTION_RTL;
2109 LAYOUT_DIRECTION_RTL, direction); in testGetLayoutDirectionFromLocale() local
2126 LAYOUT_DIRECTION_RTL, direction); in testGetLayoutDirectionFromLocale() local