Home
last modified time | relevance | path

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

123456

/frameworks/support/compat/tests/java/android/support/v4/view/
DGravityCompatTest.java50 GravityCompat.getAbsoluteGravity(Gravity.LEFT, ViewCompat.LAYOUT_DIRECTION_RTL), in testGetAbsoluteGravity()
53 GravityCompat.getAbsoluteGravity(Gravity.RIGHT, ViewCompat.LAYOUT_DIRECTION_RTL), in testGetAbsoluteGravity()
69 ViewCompat.LAYOUT_DIRECTION_RTL), in testGetAbsoluteGravity()
73 ViewCompat.LAYOUT_DIRECTION_RTL), in testGetAbsoluteGravity()
79 ViewCompat.LAYOUT_DIRECTION_RTL), in testGetAbsoluteGravity()
83 ViewCompat.LAYOUT_DIRECTION_RTL), in testGetAbsoluteGravity()
195 new Rect(0, 0, 200, 100), outRect, ViewCompat.LAYOUT_DIRECTION_RTL); in testApplyNoOffsetsRtl()
201 new Rect(0, 0, 200, 100), outRect, ViewCompat.LAYOUT_DIRECTION_RTL); in testApplyNoOffsetsRtl()
207 new Rect(0, 0, 200, 100), outRect, ViewCompat.LAYOUT_DIRECTION_RTL); in testApplyNoOffsetsRtl()
213 new Rect(0, 0, 200, 100), outRect, ViewCompat.LAYOUT_DIRECTION_RTL); in testApplyNoOffsetsRtl()
[all …]
DMarginLayoutParamsCompatTest.java38 MarginLayoutParamsCompat.setLayoutDirection(mlp, ViewCompat.LAYOUT_DIRECTION_RTL); in testLayoutDirection()
40 assertEquals("RTL layout direction", ViewCompat.LAYOUT_DIRECTION_RTL, in testLayoutDirection()
73 MarginLayoutParamsCompat.setLayoutDirection(mlp, ViewCompat.LAYOUT_DIRECTION_RTL); in testMappingOldMarginsToNewMarginsRtl()
115 MarginLayoutParamsCompat.setLayoutDirection(mlp, ViewCompat.LAYOUT_DIRECTION_RTL); in testMappingNewMarginsToNewMarginsRtl()
156 MarginLayoutParamsCompat.resolveLayoutDirection(mlp, ViewCompat.LAYOUT_DIRECTION_RTL); in testResolveMarginsRtl()
171 MarginLayoutParamsCompat.resolveLayoutDirection(mlp, ViewCompat.LAYOUT_DIRECTION_RTL); in testResolveMarginsRtl()
DViewCompatTest.java56 assertEquals("RTL constants", View.LAYOUT_DIRECTION_RTL, ViewCompat.LAYOUT_DIRECTION_RTL); in testConstants()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DDrawableLayoutDirectionHelper.java39 && view.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in createRelativeInsetDrawable()
55 isRtl = layoutDirection == View.LAYOUT_DIRECTION_RTL; in createRelativeInsetDrawable()
70 layoutDirection == View.LAYOUT_DIRECTION_RTL); in createRelativeInsetDrawable()
/frameworks/support/compat/tests/java/android/support/v4/widget/
DTextViewCompatTest.java177 onView(withId(R.id.text_view)).perform(setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_RTL)); in testCompoundDrawablesRelativeRtl()
191 if (ViewCompat.getLayoutDirection(mTextView) != ViewCompat.LAYOUT_DIRECTION_RTL) { in testCompoundDrawablesRelativeRtl()
256 onView(withId(R.id.text_view)).perform(setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_RTL)); in testCompoundDrawablesRelativeWithIntrinsicBoundsRtl()
267 if (ViewCompat.getLayoutDirection(mTextView) != ViewCompat.LAYOUT_DIRECTION_RTL) { in testCompoundDrawablesRelativeWithIntrinsicBoundsRtl()
342 onView(withId(R.id.text_view)).perform(setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_RTL)); in testCompoundDrawablesRelativeWithIntrinsicBoundsByIdRtl()
350 if (ViewCompat.getLayoutDirection(mTextView) != ViewCompat.LAYOUT_DIRECTION_RTL) { in testCompoundDrawablesRelativeWithIntrinsicBoundsByIdRtl()
398 onView(withId(R.id.text_view)).perform(setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_RTL)); in testCompoundDrawablesRelativeGetterAndSetter()
403 if (ViewCompat.getLayoutDirection(mTextView) != ViewCompat.LAYOUT_DIRECTION_RTL) { in testCompoundDrawablesRelativeGetterAndSetter()
/frameworks/base/core/tests/coretests/src/android/text/
DTextUtilsTest.java585 assertEquals(View.LAYOUT_DIRECTION_RTL, in testGetLayoutDirectionFromLocale()
587 assertEquals(View.LAYOUT_DIRECTION_RTL, in testGetLayoutDirectionFromLocale()
589 assertEquals(View.LAYOUT_DIRECTION_RTL, in testGetLayoutDirectionFromLocale()
591 assertEquals(View.LAYOUT_DIRECTION_RTL, in testGetLayoutDirectionFromLocale()
593 assertEquals(View.LAYOUT_DIRECTION_RTL, in testGetLayoutDirectionFromLocale()
595 assertEquals(View.LAYOUT_DIRECTION_RTL, in testGetLayoutDirectionFromLocale()
597 assertEquals(View.LAYOUT_DIRECTION_RTL, in testGetLayoutDirectionFromLocale()
599 assertEquals(View.LAYOUT_DIRECTION_RTL, in testGetLayoutDirectionFromLocale()
601 assertEquals(View.LAYOUT_DIRECTION_RTL, in testGetLayoutDirectionFromLocale()
603 assertEquals(View.LAYOUT_DIRECTION_RTL, in testGetLayoutDirectionFromLocale()
/frameworks/support/compat/java/android/support/v4/text/
DTextUtilsCompat.java100 return ViewCompat.LAYOUT_DIRECTION_RTL; in getLayoutDirectionFromLocale()
121 return ViewCompat.LAYOUT_DIRECTION_RTL; in getLayoutDirectionFromFirstChar()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
DLinearLayoutManagerActivity.java82 ViewCompat.LAYOUT_DIRECTION_RTL; in createConfigToggles()
88 ViewCompat.LAYOUT_DIRECTION_RTL : ViewCompat.LAYOUT_DIRECTION_LTR); in createConfigToggles()
DGridLayoutManagerActivity.java81 ViewCompat.LAYOUT_DIRECTION_RTL; in createConfigToggles()
87 ViewCompat.LAYOUT_DIRECTION_RTL : ViewCompat.LAYOUT_DIRECTION_LTR); in createConfigToggles()
/frameworks/base/core/java/android/transition/
DSidePropagation.java125 final boolean isRtl = sceneRoot.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in distance()
128 final boolean isRtl = sceneRoot.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in distance()
DSlide.java93 final boolean isRtl = sceneRoot.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL;
121 final boolean isRtl = sceneRoot.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL;
/frameworks/support/transition/src/android/support/transition/
DSidePropagation.java126 == ViewCompat.LAYOUT_DIRECTION_RTL; in distance()
130 == ViewCompat.LAYOUT_DIRECTION_RTL; in distance()
DSlide.java102 == ViewCompat.LAYOUT_DIRECTION_RTL;
131 == ViewCompat.LAYOUT_DIRECTION_RTL;
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DDrawableLayoutDirectionHelperTest.java72 View.LAYOUT_DIRECTION_RTL); in testCreateRelativeInsetDrawableRtl()
141 return View.LAYOUT_DIRECTION_RTL; in getLayoutDirection()
/frameworks/support/compat/java/android/support/v4/widget/
DTextViewCompat.java243 boolean rtl = textView.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in setCompoundDrawablesRelative()
251 boolean rtl = textView.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in setCompoundDrawablesRelativeWithIntrinsicBounds()
260 boolean rtl = textView.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in setCompoundDrawablesRelativeWithIntrinsicBounds()
267 final boolean rtl = textView.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in getCompoundDrawablesRelative()
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/template/
DRecyclerMixinTest.java132 doReturn(View.LAYOUT_DIRECTION_RTL).when(mTemplateLayout).getLayoutDirection(); in testDividerInsetLegacyRtl()
152 doReturn(View.LAYOUT_DIRECTION_RTL).when(mTemplateLayout).getLayoutDirection(); in testDividerInsetsRtl()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DThemePreviewNavigationBar.java46 View.LAYOUT_DIRECTION_RTL, in ThemePreviewNavigationBar()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DListMixinTest.java137 doReturn(View.LAYOUT_DIRECTION_RTL).when(mTemplateLayout).getLayoutDirection(); in testDividerInsetLegacyRtl()
157 doReturn(View.LAYOUT_DIRECTION_RTL).when(mTemplateLayout).getLayoutDirection(); in testDividerInsetsRtl()
/frameworks/support/compat/java/android/support/v4/view/
DMarginLayoutParamsCompat.java134 && (result != ViewCompat.LAYOUT_DIRECTION_RTL)) { in getLayoutDirection()
/frameworks/support/percent/tests/java/android/support/percent/
DPercentFrameTest.java184 setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_RTL)); in testMarginStartRtl()
226 setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_RTL)); in testMarginEndRtl()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DHorizontalHoverCardSwitcher.java50 boolean isRtl = ViewCompat.getLayoutDirection(view) == ViewCompat.LAYOUT_DIRECTION_RTL; in onViewSelected()
DTitleHelper.java49 == ViewCompat.LAYOUT_DIRECTION_RTL;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DViewUtils.java57 return ViewCompat.getLayoutDirection(view) == ViewCompat.LAYOUT_DIRECTION_RTL; in isLayoutRtl()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DWrappedRecyclerView.java106 return Boolean.TRUE.equals(mFakeRTL) ? ViewCompat.LAYOUT_DIRECTION_RTL in getLayoutDirection()
/frameworks/support/design/src/android/support/design/widget/
DSwipeDismissBehavior.java276 == ViewCompat.LAYOUT_DIRECTION_RTL;
307 == ViewCompat.LAYOUT_DIRECTION_RTL;

123456