Home
last modified time | relevance | path

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

12345

/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.java224 mTaskConfig.getLayoutDirection() != prevTaskConfig.getLayoutDirection(); in updateCompatInfo()
231 layout.setLayoutDirection(mTaskConfig.getLayoutDirection()); in updateCompatInfo()
349 protected int getLayoutDirection() { in getLayoutDirection() method in CompatUIWindowManagerAbstract
350 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.java174 oldConfig.getLayoutDirection() != mConfiguration.getLayoutDirection(); in updateIcons()
200 final boolean isRtl = mConfiguration.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in orientBackButton()
347 || mTmpLastConfiguration.getLayoutDirection() in onConfigurationChanged()
348 != 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/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DSplitPresenter.java686 switch (computedSplitAttributes.getLayoutDirection()) { in getPrimaryBounds()
696 final boolean isLtr = taskConfiguration.getLayoutDirection() in getPrimaryBounds()
714 + computedSplitAttributes.getLayoutDirection()); in getPrimaryBounds()
726 switch (computedSplitAttributes.getLayoutDirection()) { in getSecondaryBounds()
736 final boolean isLtr = taskConfiguration.getLayoutDirection() in getSecondaryBounds()
754 + splitAttributes.getLayoutDirection()); in getSecondaryBounds()
766 .setLayoutDirection(splitAttributes.getLayoutDirection()) in updateSplitAttributesType()
892 switch (splitAttributes.getLayoutDirection()) { in shouldSplitHorizontally()
914 final int layoutDirection = splitAttributes.getLayoutDirection(); in computeSplitType()
931 boolean isLtr = taskConfiguration.getLayoutDirection() in computeSplitType()
/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/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/main/src/com/android/setupwizardlib/view/
DIllustration.java192 && shouldMirrorDrawable(background, getLayoutDirection())) { in onDraw()
203 && shouldMirrorDrawable(illustration, getLayoutDirection())) { in onDraw()
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/
DWindowExtensionsTest.java62 assertThat(splitAttributes.getLayoutDirection()) in testSplitAttributes_default()
/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/packages/SystemUI/shared/src/com/android/systemui/shared/animation/
DUnfoldConstantTranslateAnimator.kt63 if (rootView.getLayoutDirection() == LAYOUT_DIRECTION_RTL) { in <lambda>()
/frameworks/base/core/java/android/widget/
DToastPresenter.java164 int absGravity = Gravity.getAbsoluteGravity(gravity, config.getLayoutDirection()); in adjustLayoutParams()
194 mParams.gravity = Gravity.getAbsoluteGravity(gravity, config.getLayoutDirection()); in updateLayoutParams()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsPopupMenu.java114 if (getAnchorView().getLayoutDirection() == LayoutDirection.LTR) { in show()
/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/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DReverseLinearLayout.java86 boolean isLayoutRtl = getLayoutDirection() == LAYOUT_DIRECTION_RTL; in updateOrder()
/frameworks/base/core/java/android/view/
DViewParent.java447 public int getLayoutDirection(); in getLayoutDirection() method
/frameworks/base/core/java/com/android/internal/view/menu/
DCascadingMenuPopup.java297 final int layoutDirection = mAnchorView.getLayoutDirection(); in getInitialMenuPosition()
689 dropDownGravity, mAnchorView.getLayoutDirection()); in setGravity()
700 mRawDropDownGravity, mAnchorView.getLayoutDirection()); in setAnchorView()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DDrawableLayoutDirectionHelperTest.java147 public int getLayoutDirection() { in getLayoutDirection() method in DrawableLayoutDirectionHelperTest.ForceRtlView
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DContextMenuUtils.java139 final boolean rtl = anchor.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in assertContextMenuAlignment()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBarView.java461 … final boolean dirChange = oldConfig.getLayoutDirection() != mConfiguration.getLayoutDirection(); in updateIcons()
516 final boolean isRtl = mConfiguration.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in orientBackButton()
1040 … || mTmpLastConfiguration.getLayoutDirection() != mConfiguration.getLayoutDirection()) { in onConfigurationChanged()
/frameworks/base/core/java/android/app/
DTaskInfo.java541 && (!hasCompatUI() || configuration.getLayoutDirection() in equalsForCompatUi()
542 == that.configuration.getLayoutDirection()) in equalsForCompatUi()

12345