Home
last modified time | relevance | path

Searched refs:LAYOUT_DIRECTION_LTR (Results 1 – 25 of 82) 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/support/compat/java/android/support/v4/text/
DTextUtilsCompat.java103 return ViewCompat.LAYOUT_DIRECTION_LTR; in getLayoutDirectionFromLocale()
125 return ViewCompat.LAYOUT_DIRECTION_LTR; in getLayoutDirectionFromFirstChar()
/frameworks/base/core/tests/coretests/src/android/text/
DTextUtilsTest.java567 assertEquals(View.LAYOUT_DIRECTION_LTR, TextUtils.getLayoutDirectionFromLocale(null)); in testGetLayoutDirectionFromLocale()
568 assertEquals(View.LAYOUT_DIRECTION_LTR, in testGetLayoutDirectionFromLocale()
570 assertEquals(View.LAYOUT_DIRECTION_LTR, in testGetLayoutDirectionFromLocale()
572 assertEquals(View.LAYOUT_DIRECTION_LTR, in testGetLayoutDirectionFromLocale()
574 assertEquals(View.LAYOUT_DIRECTION_LTR, in testGetLayoutDirectionFromLocale()
576 assertEquals(View.LAYOUT_DIRECTION_LTR, in testGetLayoutDirectionFromLocale()
578 assertEquals(View.LAYOUT_DIRECTION_LTR, in testGetLayoutDirectionFromLocale()
580 assertEquals(View.LAYOUT_DIRECTION_LTR, in testGetLayoutDirectionFromLocale()
582 assertEquals(View.LAYOUT_DIRECTION_LTR, in testGetLayoutDirectionFromLocale()
/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/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()
DDrawableLayoutDirectionHelperTest.java54 View.LAYOUT_DIRECTION_LTR); in testCreateRelativeInsetDrawableLtr()
/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/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()
DGlifPreferenceLayoutTest.java80 layout.setLayoutDirection(View.LAYOUT_DIRECTION_LTR); in testDividerInset()
DSetupWizardPreferenceLayoutTest.java80 layout.setLayoutDirection(View.LAYOUT_DIRECTION_LTR); in testDividerInset()
/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/compat/java/android/support/v4/graphics/drawable/
DDrawableCompat.java417 return ViewCompat.LAYOUT_DIRECTION_LTR; in getLayoutDirection()
419 return ViewCompat.LAYOUT_DIRECTION_LTR; in getLayoutDirection()
/frameworks/support/core-utils/java/android/support/v4/graphics/drawable/
DRoundedBitmapDrawableFactory.java58 bounds, outRect, ViewCompat.LAYOUT_DIRECTION_LTR); in gravityCompatApply()
/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/support/v7/appcompat/tests/src/android/support/v7/app/
DDrawerLayoutDoubleTest.java163 setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_LTR)); in testDrawerOpenCloseLtr()
226 setLayoutDirection(ViewCompat.LAYOUT_DIRECTION_LTR)); in testDrawerLockUnlockLtr()
/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;

1234