Home
last modified time | relevance | path

Searched refs:setLayoutDirection (Results 1 – 25 of 101) sorted by relevance

12345

/frameworks/support/compat/tests/java/android/support/v4/view/
DMarginLayoutParamsCompatTest.java38 MarginLayoutParamsCompat.setLayoutDirection(mlp, ViewCompat.LAYOUT_DIRECTION_RTL); in testLayoutDirection()
48 MarginLayoutParamsCompat.setLayoutDirection(mlp, ViewCompat.LAYOUT_DIRECTION_LTR); in testLayoutDirection()
73 MarginLayoutParamsCompat.setLayoutDirection(mlp, ViewCompat.LAYOUT_DIRECTION_RTL); in testMappingOldMarginsToNewMarginsRtl()
115 MarginLayoutParamsCompat.setLayoutDirection(mlp, ViewCompat.LAYOUT_DIRECTION_RTL); in testMappingNewMarginsToNewMarginsRtl()
/frameworks/support/compat/tests/java/android/support/v4/testutils/
DLayoutDirectionActions.java31 public static ViewAction setLayoutDirection(final int layoutDirection) { in setLayoutDirection() method in LayoutDirectionActions
47 ViewCompat.setLayoutDirection(view, layoutDirection); in setLayoutDirection()
/frameworks/support/percent/tests/java/android/support/percent/
DLayoutDirectionActions.java31 public static ViewAction setLayoutDirection(final int layoutDirection) { in setLayoutDirection() method in LayoutDirectionActions
47 ViewCompat.setLayoutDirection(view, layoutDirection); in setLayoutDirection()
DPercentFrameTest.java18 import static android.support.percent.LayoutDirectionActions.setLayoutDirection;
181 setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_INHERIT)); in testMarginStartRtl()
184 setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_RTL)); in testMarginStartRtl()
223 setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_INHERIT)); in testMarginEndRtl()
226 setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_RTL)); in testMarginEndRtl()
DPercentRelativeRtlTest.java18 import static android.support.percent.LayoutDirectionActions.setLayoutDirection;
118 setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_RTL)); in switchToRtl()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DDrawerLayoutDoubleTest.java23 import static android.support.v7.testutils.TestUtilsActions.setLayoutDirection;
163 setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_LTR)); in testDrawerOpenCloseLtr()
172 setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_RTL)); in testDrawerOpenCloseRtl()
226 setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_LTR)); in testDrawerLockUnlockLtr()
235 setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_RTL)); in testDrawerLockUnlockRtl()
DAppCompatVectorDrawableIntegrationTest.java86 view1.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in testVectorDrawableAutoMirrored()
/frameworks/support/compat/java/android/support/v4/view/
DMarginLayoutParamsCompat.java149 public static void setLayoutDirection(ViewGroup.MarginLayoutParams lp, int layoutDirection) { in setLayoutDirection() method in MarginLayoutParamsCompat
151 lp.setLayoutDirection(layoutDirection); in setLayoutDirection()
/frameworks/support/design/tests/src/android/support/design/widget/
DBaseDynamicCoordinatorLayoutTest.java106 protected ViewAction setLayoutDirection(final int layoutDir) {
122 ViewCompat.setLayoutDirection(view, layoutDir);
DCustomSnackbarTest.java19 import static android.support.design.testutils.TestUtilsActions.setLayoutDirection;
201 onView(withId(R.id.col)).perform(setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_RTL)); in testDismissViaSwipeRtl()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
DTestUtilsActions.java37 public static ViewAction setLayoutDirection(final int layoutDirection) { in setLayoutDirection() method in TestUtilsActions
53 ViewCompat.setLayoutDirection(view, layoutDirection); in setLayoutDirection()
/frameworks/base/media/java/android/media/
DIVolumeController.aidl32 void setLayoutDirection(int layoutDirection); in setLayoutDirection() method
/frameworks/support/compat/tests/java/android/support/v4/widget/
DTextViewCompatTest.java21 import static android.support.v4.testutils.LayoutDirectionActions.setLayoutDirection;
177 onView(withId(R.id.text_view)).perform(setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_RTL)); in testCompoundDrawablesRelativeRtl()
256 onView(withId(R.id.text_view)).perform(setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_RTL)); in testCompoundDrawablesRelativeWithIntrinsicBoundsRtl()
342 onView(withId(R.id.text_view)).perform(setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_RTL)); in testCompoundDrawablesRelativeWithIntrinsicBoundsByIdRtl()
398 onView(withId(R.id.text_view)).perform(setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_RTL)); in testCompoundDrawablesRelativeGetterAndSetter()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DSetupWizardListLayoutTest.java98 layout.setLayoutDirection(View.LAYOUT_DIRECTION_LTR); in testDividerInsetLegacy()
113 layout.setLayoutDirection(View.LAYOUT_DIRECTION_LTR); in testDividerInsets()
DGlifListLayoutTest.java111 layout.setLayoutDirection(View.LAYOUT_DIRECTION_LTR); in testDividerInsetLegacy()
126 layout.setLayoutDirection(View.LAYOUT_DIRECTION_LTR); in testDividerInsets()
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/test/
DSetupWizardRecyclerLayoutTest.java112 layout.setLayoutDirection(View.LAYOUT_DIRECTION_LTR); in testDividerInsetLegacy()
127 layout.setLayoutDirection(View.LAYOUT_DIRECTION_LTR); in testDividerInsets()
DGlifRecyclerLayoutTest.java111 layout.setLayoutDirection(View.LAYOUT_DIRECTION_LTR); in testDividerInsetLegacy()
126 layout.setLayoutDirection(View.LAYOUT_DIRECTION_LTR); in testDividerInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DScreenPinningRequest.java214 mLayout.setLayoutDirection(View.LAYOUT_DIRECTION_LTR); in inflateView()
217 .setLayoutDirection(View.LAYOUT_DIRECTION_LOCALE); in inflateView()
220 buttons.setLayoutDirection(View.LAYOUT_DIRECTION_LOCALE); in inflateView()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DGuidedStepFragmentTestActivity.java48 findViewById(android.R.id.content).setLayoutDirection(layoutDirection); in onCreate()
DGuidedStepSupportFragmentTestActivity.java51 findViewById(android.R.id.content).setLayoutDirection(layoutDirection); in onCreate()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContainer.java203 mBackground.setLayoutDirection(layoutDirection); in onResolveDrawables()
206 mStackedBackground.setLayoutDirection(layoutDirection); in onResolveDrawables()
209 mSplitBackground.setLayoutDirection(layoutDirection); in onResolveDrawables()
/frameworks/support/compat/java/android/support/v4/graphics/drawable/
DDrawableCompat.java357 public static boolean setLayoutDirection(@NonNull Drawable drawable, int layoutDirection) { in setLayoutDirection() method in DrawableCompat
359 return drawable.setLayoutDirection(layoutDirection); in setLayoutDirection()
/frameworks/support/design/tests/src/android/support/design/testutils/
DTestUtilsActions.java92 public static ViewAction setLayoutDirection(final int layoutDirection) {
108 ViewCompat.setLayoutDirection(view, layoutDirection);
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
DLinearLayoutManagerActivity.java87 ViewCompat.setLayoutDirection(mRecyclerView, newValue ? in createConfigToggles()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableContainer.java355 return mDrawableContainerState.setLayoutDirection(layoutDirection, getCurrentIndex()); in onLayoutDirectionChanged()
555 d.setLayoutDirection(getLayoutDirection()); in initializeDrawableForDisplay()
883 child.setLayoutDirection(mLayoutDirection); in prepareDrawable()
927 final boolean setLayoutDirection(int layoutDirection, int currentIndex) { in setLayoutDirection() method in DrawableContainer.DrawableContainerState
936 final boolean childChanged = drawables[i].setLayoutDirection(layoutDirection); in setLayoutDirection()

12345