Home
last modified time | relevance | path

Searched refs:getLayoutDirection (Results 1 – 25 of 122) sorted by relevance

12345

/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DSplitAttributesHelper.java33 switch (splitAttributes.getLayoutDirection()) { in isReversedLayout()
41 return configuration.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in isReversedLayout()
44 "Invalid layout direction:" + splitAttributes.getLayoutDirection()); in isReversedLayout()
DSplitPresenter.java935 switch (computedSplitAttributes.getLayoutDirection()) { in getPrimaryBounds()
945 final boolean isLtr = taskConfiguration.getLayoutDirection() in getPrimaryBounds()
963 + computedSplitAttributes.getLayoutDirection()); in getPrimaryBounds()
975 switch (computedSplitAttributes.getLayoutDirection()) { in getSecondaryBounds()
985 final boolean isLtr = taskConfiguration.getLayoutDirection() in getSecondaryBounds()
1003 + splitAttributes.getLayoutDirection()); in getSecondaryBounds()
1158 switch (splitAttributes.getLayoutDirection()) { in shouldSplitHorizontally()
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/
DSplitNavLayoutTest.java99 assertThat(layout.getLayoutDirection()).isEqualTo(View.LAYOUT_DIRECTION_LTR); in test_layoutDirectionIsLtr_inRtrLocale()
102 assertThat(buttonContainer.getLayoutDirection()).isEqualTo(View.LAYOUT_DIRECTION_LTR); in test_layoutDirectionIsLtr_inRtrLocale()
113 assertThat(layout.getLayoutDirection()).isEqualTo(View.LAYOUT_DIRECTION_LTR); in test_layoutDirectionIsLtrInUltraWide_isRtrLocale()
116 assertThat(buttonContainer.getLayoutDirection()).isEqualTo(View.LAYOUT_DIRECTION_LTR); in test_layoutDirectionIsLtrInUltraWide_isRtrLocale()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DCompatUIWindowManagerAbstract.java240 mTaskConfig.getLayoutDirection() != prevTaskConfig.getLayoutDirection(); in updateCompatInfo()
247 layout.setLayoutDirection(mTaskConfig.getLayoutDirection()); in updateCompatInfo()
370 protected int getLayoutDirection() { in getLayoutDirection() method in CompatUIWindowManagerAbstract
371 return mContext.getResources().getConfiguration().getLayoutDirection(); in getLayoutDirection()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DDrawableLayoutDirectionHelper.java38 && view.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in createRelativeInsetDrawable()
57 final int layoutDirection = context.getResources().getConfiguration().getLayoutDirection(); in createRelativeInsetDrawable()
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DNavigationBarView.java178 oldConfig.getLayoutDirection() != mConfiguration.getLayoutDirection(); in updateIcons()
204 final boolean isRtl = mConfiguration.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in orientBackButton()
351 || mTmpLastConfiguration.getLayoutDirection() in onConfigurationChanged()
352 != mConfiguration.getLayoutDirection()) { in onConfigurationChanged()
DReverseLinearLayout.java88 boolean isLayoutRtl = getLayoutDirection() == LAYOUT_DIRECTION_RTL; in updateOrder()
/frameworks/base/core/java/android/view/autofill/
DAutofillPopupWindow.java169 public int getLayoutDirection() { in update()
170 return anchor.getLayoutDirection(); in update()
242 final int layoutDirection = anchor != null ? anchor.getLayoutDirection() in update()
285 anchor.getLayoutDirection()); in showAsDropDown()
/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/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/shadows/
DShadowConfiguration.java48 public int getLayoutDirection() { in getLayoutDirection() method in ShadowConfiguration
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DIllustration.java192 && shouldMirrorDrawable(background, getLayoutDirection())) { in onDraw()
203 && shouldMirrorDrawable(illustration, getLayoutDirection())) { in onDraw()
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/template/
DRecyclerMixinTest.java129 doReturn(View.LAYOUT_DIRECTION_RTL).when(mTemplateLayout).getLayoutDirection(); in testDividerInsetLegacyRtl()
149 doReturn(View.LAYOUT_DIRECTION_RTL).when(mTemplateLayout).getLayoutDirection(); in testDividerInsetsRtl()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DListMixinTest.java133 doReturn(View.LAYOUT_DIRECTION_RTL).when(mTemplateLayout).getLayoutDirection(); in testDividerInsetLegacyRtl()
153 doReturn(View.LAYOUT_DIRECTION_RTL).when(mTemplateLayout).getLayoutDirection(); in testDividerInsetsRtl()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DActivityEmbeddingSecondaryActivity.java61 .getLayoutDirection()) in onCreate()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/animation/
DUnfoldConstantTranslateAnimator.kt70 if (rootView.getLayoutDirection() == LAYOUT_DIRECTION_RTL) { in <lambda>()
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/
DWindowExtensionsTest.java109 assertThat(splitAttributes.getLayoutDirection()) in testSplitAttributes_default()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsPopupMenu.java114 if (getAnchorView().getLayoutDirection() == LayoutDirection.LTR) { in show()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/activity/
DA11yMenuSettingsActivity.java85 view.getResources().getConfiguration().getLayoutDirection()); in onViewCreated()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
DPdfManipulationService.java140 if (configuration.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL) { in renderPage()
281 .getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in applyPrintAttributes()
/frameworks/base/core/java/android/widget/
DToastPresenter.java166 int absGravity = Gravity.getAbsoluteGravity(gravity, config.getLayoutDirection()); in adjustLayoutParams()
196 mParams.gravity = Gravity.getAbsoluteGravity(gravity, config.getLayoutDirection()); in updateLayoutParams()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DReverseLinearLayout.java86 boolean isLayoutRtl = getLayoutDirection() == LAYOUT_DIRECTION_RTL; in updateOrder()
/frameworks/base/core/java/com/android/internal/view/menu/
DCascadingMenuPopup.java303 final int layoutDirection = mAnchorView.getLayoutDirection(); in getInitialMenuPosition()
695 dropDownGravity, mAnchorView.getLayoutDirection()); in setGravity()
706 mRawDropDownGravity, mAnchorView.getLayoutDirection()); in setAnchorView()
/frameworks/base/core/java/android/view/
DViewParent.java448 public int getLayoutDirection(); in getLayoutDirection() method
/frameworks/base/core/java/android/app/
DTaskInfo.java452 && (!hasCompatUI || configuration.getLayoutDirection() in equalsForCompatUi()
453 == that.configuration.getLayoutDirection()) in equalsForCompatUi()

12345