Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DLayoutDirectionTest.java22 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 …]
DRelativeLayout_LayoutParamsTest.java222 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()
DToolbarTest.java368 mMainToolbar.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testContentInsetsRtl()
438 () -> mMainToolbar.setLayoutDirection(View.LAYOUT_DIRECTION_RTL)); in testCurrentContentInsetsRtl()
DRelativeLayoutTest.java382 .setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testBidiWidth()
DListViewTest.java842 mListView.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testResolveRtlOnReAttach()
871 mListView.getChildAt(0).getLayoutDirection(), View.LAYOUT_DIRECTION_RTL); in testResolveRtlOnReAttach()
DGridViewTest.java269 verifyAccessHorizontalSpacing(View.LAYOUT_DIRECTION_RTL); in testAccessHorizontalSpacingRTL()
DTextViewTest.java4063 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/
DConfigurationTest.java432 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 …]
DResources_ThemeTest.java145 View.LAYOUT_DIRECTION_RTL, config.getLayoutDirection()); in testRebase()
/cts/tests/tests/view/src/android/view/cts/
DViewGroup_MarginLayoutParamsTest.java153 vg.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testResolveMarginsRelative()
210 mMarginLayoutParams.resolveLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testResolveMarginsExplicit()
DGravityTest.java55 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()
DFocusFinderTest.java446 () -> mLayout.setLayoutDirection(View.LAYOUT_DIRECTION_RTL)); in testBasicFocusOrder()
DViewGroupTest.java2217 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/
DDrawableTest.java753 mockDrawable.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testAccessLayoutDirection()
754 assertEquals(View.LAYOUT_DIRECTION_RTL, mockDrawable.getLayoutDirection()); in testAccessLayoutDirection()
DAnimatedImageDrawableTest.java634 drawable.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testAutoMirroredDrawing()
/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java20 import static android.view.View.LAYOUT_DIRECTION_RTL;
2319 LAYOUT_DIRECTION_RTL, direction); in testGetLayoutDirectionFromLocale() local
2336 LAYOUT_DIRECTION_RTL, direction); in testGetLayoutDirectionFromLocale() local