Home
last modified time | relevance | path

Searched refs:LAYOUT_DIRECTION_LTR (Results 1 – 25 of 76) sorted by relevance

1234

/frameworks/support/compat/tests/java/android/support/v4/view/
DGravityCompatTest.java44 GravityCompat.getAbsoluteGravity(Gravity.LEFT, ViewCompat.LAYOUT_DIRECTION_LTR), in testGetAbsoluteGravity()
47 GravityCompat.getAbsoluteGravity(Gravity.RIGHT, ViewCompat.LAYOUT_DIRECTION_LTR), in testGetAbsoluteGravity()
58 ViewCompat.LAYOUT_DIRECTION_LTR), in testGetAbsoluteGravity()
62 ViewCompat.LAYOUT_DIRECTION_LTR), in testGetAbsoluteGravity()
94 new Rect(0, 0, 200, 100), outRect, ViewCompat.LAYOUT_DIRECTION_LTR); in testApplyNoOffsetsLtr()
100 new Rect(0, 0, 200, 100), outRect, ViewCompat.LAYOUT_DIRECTION_LTR); in testApplyNoOffsetsLtr()
106 new Rect(0, 0, 200, 100), outRect, ViewCompat.LAYOUT_DIRECTION_LTR); in testApplyNoOffsetsLtr()
112 new Rect(0, 0, 200, 100), outRect, ViewCompat.LAYOUT_DIRECTION_LTR); in testApplyNoOffsetsLtr()
118 new Rect(0, 0, 200, 100), outRect, ViewCompat.LAYOUT_DIRECTION_LTR); in testApplyNoOffsetsLtr()
124 new Rect(0, 0, 200, 100), outRect, ViewCompat.LAYOUT_DIRECTION_LTR); in testApplyNoOffsetsLtr()
[all …]
DMarginLayoutParamsCompatTest.java35 assertEquals("Default LTR layout direction", ViewCompat.LAYOUT_DIRECTION_LTR, in testLayoutDirection()
44 ViewCompat.LAYOUT_DIRECTION_LTR, in testLayoutDirection()
48 MarginLayoutParamsCompat.setLayoutDirection(mlp, ViewCompat.LAYOUT_DIRECTION_LTR); in testLayoutDirection()
49 assertEquals("Back to LTR layout direction", ViewCompat.LAYOUT_DIRECTION_LTR, in testLayoutDirection()
137 MarginLayoutParamsCompat.resolveLayoutDirection(mlp, ViewCompat.LAYOUT_DIRECTION_LTR); in testResolveMarginsLtr()
145 MarginLayoutParamsCompat.resolveLayoutDirection(mlp, ViewCompat.LAYOUT_DIRECTION_LTR); in testResolveMarginsLtr()
DViewCompatTest.java55 assertEquals("LTR constants", View.LAYOUT_DIRECTION_LTR, ViewCompat.LAYOUT_DIRECTION_LTR); in testConstants()
/frameworks/support/compat/java/android/support/v4/view/
DMarginLayoutParamsCompat.java130 result = ViewCompat.LAYOUT_DIRECTION_LTR; in getLayoutDirection()
133 if ((result != ViewCompat.LAYOUT_DIRECTION_LTR) in getLayoutDirection()
137 result = ViewCompat.LAYOUT_DIRECTION_LTR; in getLayoutDirection()
/frameworks/base/core/tests/coretests/src/android/text/
DTextUtilsTest.java544 assertEquals(View.LAYOUT_DIRECTION_LTR, TextUtils.getLayoutDirectionFromLocale(null)); in testGetLayoutDirectionFromLocale()
545 assertEquals(View.LAYOUT_DIRECTION_LTR, in testGetLayoutDirectionFromLocale()
547 assertEquals(View.LAYOUT_DIRECTION_LTR, in testGetLayoutDirectionFromLocale()
549 assertEquals(View.LAYOUT_DIRECTION_LTR, in testGetLayoutDirectionFromLocale()
551 assertEquals(View.LAYOUT_DIRECTION_LTR, in testGetLayoutDirectionFromLocale()
553 assertEquals(View.LAYOUT_DIRECTION_LTR, in testGetLayoutDirectionFromLocale()
555 assertEquals(View.LAYOUT_DIRECTION_LTR, in testGetLayoutDirectionFromLocale()
557 assertEquals(View.LAYOUT_DIRECTION_LTR, in testGetLayoutDirectionFromLocale()
559 assertEquals(View.LAYOUT_DIRECTION_LTR, in testGetLayoutDirectionFromLocale()
/frameworks/support/compat/java/android/support/v4/text/
DTextUtilsCompat.java109 return ViewCompat.LAYOUT_DIRECTION_LTR; in getLayoutDirectionFromLocale()
131 return ViewCompat.LAYOUT_DIRECTION_LTR; in getLayoutDirectionFromFirstChar()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DFocusSearchNavigationTest.java79 new Object[]{VERTICAL, ViewCompat.LAYOUT_DIRECTION_LTR}, in params()
80 new Object[]{HORIZONTAL, ViewCompat.LAYOUT_DIRECTION_LTR}, in params()
86 new Object[]{VERTICAL, ViewCompat.LAYOUT_DIRECTION_LTR}, in params()
87 new Object[]{HORIZONTAL, ViewCompat.LAYOUT_DIRECTION_LTR} in params()
DWrappedRecyclerView.java107 : ViewCompat.LAYOUT_DIRECTION_LTR; in getLayoutDirection()
/frameworks/support/core-ui/tests/java/android/support/v4/testutils/
DTestUtilsMatchers.java119 if (parentLayoutDirection == ViewCompat.LAYOUT_DIRECTION_LTR) {
165 if (parentLayoutDirection == ViewCompat.LAYOUT_DIRECTION_LTR) {
/frameworks/support/core-utils/api21/android/support/v4/graphics/drawable/
DRoundedBitmapDrawable21.java56 bounds, outRect, View.LAYOUT_DIRECTION_LTR); in gravityCompatApply()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DGuidedStepRootLayout.java54 if (getLayoutDirection() == ViewGroup.LAYOUT_DIRECTION_LTR in focusSearch()
/frameworks/support/core-utils/java/android/support/v4/graphics/drawable/
DRoundedBitmapDrawableFactory.java58 bounds, outRect, ViewCompat.LAYOUT_DIRECTION_LTR); in gravityCompatApply()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DDrawerLayoutDoubleTest.java159 setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_LTR)); in testDrawerOpenCloseLtr()
222 setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_LTR)); in testDrawerLockUnlockLtr()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
DLinearLayoutManagerActivity.java88 ViewCompat.LAYOUT_DIRECTION_RTL : ViewCompat.LAYOUT_DIRECTION_LTR); in createConfigToggles()
DGridLayoutManagerActivity.java87 ViewCompat.LAYOUT_DIRECTION_RTL : ViewCompat.LAYOUT_DIRECTION_LTR); in createConfigToggles()
/frameworks/opt/setupwizard/library/full-support/test/instrumentation/src/com/android/setupwizardlib/test/
DGlifPreferenceLayoutTest.java80 layout.setLayoutDirection(View.LAYOUT_DIRECTION_LTR); in testDividerInset()
DSetupWizardPreferenceLayoutTest.java80 layout.setLayoutDirection(View.LAYOUT_DIRECTION_LTR); in testDividerInset()
DSetupWizardRecyclerLayoutTest.java112 layout.setLayoutDirection(View.LAYOUT_DIRECTION_LTR); in testDividerInset()
DGlifRecyclerLayoutTest.java111 layout.setLayoutDirection(View.LAYOUT_DIRECTION_LTR); in testDividerInset()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DGlifListLayoutTest.java111 layout.setLayoutDirection(View.LAYOUT_DIRECTION_LTR); in testDividerInset()
DDrawableLayoutDirectionHelperTest.java54 View.LAYOUT_DIRECTION_LTR); in testCreateRelativeInsetDrawableLtr()
/frameworks/support/compat/java/android/support/v4/graphics/drawable/
DDrawableCompat.java98 return ViewCompat.LAYOUT_DIRECTION_LTR; in getLayoutDirection()
182 return ViewCompat.LAYOUT_DIRECTION_LTR; in getLayoutDirection()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestGridLayoutCodeLtr.java67 layout.setLayoutDirection(View.LAYOUT_DIRECTION_LTR); in create()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DPagingIndicator.java168 mIsLtr = res.getConfiguration().getLayoutDirection() == View.LAYOUT_DIRECTION_LTR; in PagingIndicator()
446 boolean isLtr = layoutDirection == View.LAYOUT_DIRECTION_LTR;
/frameworks/support/core-ui/java/android/support/v4/widget/
DDrawerLayout.java699 int leftLockMode = (layoutDirection == ViewCompat.LAYOUT_DIRECTION_LTR) in getDrawerLockMode()
709 int rightLockMode = (layoutDirection == ViewCompat.LAYOUT_DIRECTION_LTR) in getDrawerLockMode()
719 int startLockMode = (layoutDirection == ViewCompat.LAYOUT_DIRECTION_LTR) in getDrawerLockMode()
729 int endLockMode = (layoutDirection == ViewCompat.LAYOUT_DIRECTION_LTR) in getDrawerLockMode()
1127 if (layoutDirection == ViewCompat.LAYOUT_DIRECTION_LTR) { in resolveLeftShadow()
1145 if (layoutDirection == ViewCompat.LAYOUT_DIRECTION_LTR) { in resolveRightShadow()

1234