Home
last modified time | relevance | path

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

12345678

/aosp12/packages/apps/TV/src/com/android/tv/guide/
H A DTimelineRow.java52 * (getLayoutDirection() == LAYOUT_DIRECTION_LTR ? 1 : -1); in scrollTo()
80 return (getLayoutDirection() == LAYOUT_DIRECTION_LTR) ? FADING_EDGE_STRENGTH_START : 0; in getLeftFadingEdgeStrength()
85 return (getLayoutDirection() == LAYOUT_DIRECTION_RTL) ? FADING_EDGE_STRENGTH_START : 0; in getRightFadingEdgeStrength()
H A DProgramRow.java120 return getLayoutDirection() == LAYOUT_DIRECTION_LTR in isDirectionStart()
127 return getLayoutDirection() == LAYOUT_DIRECTION_LTR in isDirectionEnd()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
H A DCompatUIWindowManager.java153 if (taskConfig.getLayoutDirection() != prevTaskConfig.getLayoutDirection()) { in updateCompatInfo()
155 mCompatUILayout.setLayoutDirection(taskConfig.getLayoutDirection()); in updateCompatInfo()
248 final int positionX = getLayoutDirection() == View.LAYOUT_DIRECTION_RTL in updateSurfacePosition()
257 private int getLayoutDirection() { in getLayoutDirection() method in CompatUIWindowManager
258 return mContext.getResources().getConfiguration().getLayoutDirection(); in getLayoutDirection()
/aosp12/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
H A DDrawableLayoutDirectionHelper.java38 && view.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in createRelativeInsetDrawable()
57 final int layoutDirection = context.getResources().getConfiguration().getLayoutDirection(); in createRelativeInsetDrawable()
/aosp12/frameworks/base/core/java/android/view/autofill/
H A 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()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/suggestions/
H A DSuggestionItemView.java58 if (getResources().getConfiguration().getLayoutDirection() == View.LAYOUT_DIRECTION_RTL) { in onFinishInflate()
89 getResources().getConfiguration().getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in focusSearch()
/aosp12/frameworks/base/core/java/android/transition/
H A 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()
H A DSlide.java93 final boolean isRtl = sceneRoot.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL;
121 final boolean isRtl = sceneRoot.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL;
/aosp12/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
H A DActionPresenterSelector.java73 return new ActionViewHolder(v, parent.getLayoutDirection()); in onCreateViewHolder()
96 return new ActionViewHolder(v, parent.getLayoutDirection()); in onCreateViewHolder()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
H A DClearAllButton.java76 mIsRtl = getLayoutDirection() == LAYOUT_DIRECTION_RTL; in ClearAllButton()
94 mIsRtl = getLayoutDirection() == LAYOUT_DIRECTION_RTL; in onRtlPropertiesChanged()
/aosp12/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
H A DIllustration.java192 && shouldMirrorDrawable(background, getLayoutDirection())) { in onDraw()
203 && shouldMirrorDrawable(illustration, getLayoutDirection())) { in onDraw()
/aosp12/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/template/
H A DRecyclerMixinTest.java129 doReturn(View.LAYOUT_DIRECTION_RTL).when(mTemplateLayout).getLayoutDirection(); in testDividerInsetLegacyRtl()
149 doReturn(View.LAYOUT_DIRECTION_RTL).when(mTemplateLayout).getLayoutDirection(); in testDividerInsetsRtl()
/aosp12/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
H A DFadeAndShortSlide.java60 sceneRoot.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL;
77 sceneRoot.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL;
136 sViewPositionComparator.mIsLtr = view.getLayoutDirection() == View.LAYOUT_DIRECTION_LTR; in getDelayOrder()
/aosp12/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/shadows/
H A DShadowConfiguration.java48 public int getLayoutDirection() { in getLayoutDirection() method in ShadowConfiguration
/aosp12/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
H A DListMixinTest.java133 doReturn(View.LAYOUT_DIRECTION_RTL).when(mTemplateLayout).getLayoutDirection(); in testDividerInsetLegacyRtl()
153 doReturn(View.LAYOUT_DIRECTION_RTL).when(mTemplateLayout).getLayoutDirection(); in testDividerInsetsRtl()
/aosp12/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/androidTest/java/com/android/car/ui/
H A DTestFocusArea.java93 public int getLayoutDirection() { in getLayoutDirection() method in TestFocusArea
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
H A DSetupStepIndicatorView.java41 final int layoutDirection = ViewCompat.getLayoutDirection(this); in setIndicatorPosition()
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
H A DWallpaperThumbnailView.java78 if (getLayoutDirection() == LAYOUT_DIRECTION_RTL) { in recomputeImageMatrix()
/aosp12/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactListPinnedHeaderView.java56 setLayoutDirection(parent.getLayoutDirection()); in ContactListPinnedHeaderView()
/aosp12/packages/apps/TV/src/com/android/tv/dvr/ui/list/
H A DSchedulesHeaderRowPresenter.java107 context.getResources().getConfiguration().getLayoutDirection() in SeriesRecordingHeaderRowPresenter()
203 context.getResources().getConfiguration().getLayoutDirection() in SeriesHeaderRowViewHolder()
/aosp12/frameworks/base/core/java/android/widget/
H A DToastPresenter.java143 int absGravity = Gravity.getAbsoluteGravity(gravity, config.getLayoutDirection()); in adjustLayoutParams()
173 mParams.gravity = Gravity.getAbsoluteGravity(gravity, config.getLayoutDirection()); in updateLayoutParams()
/aosp12/frameworks/base/core/java/android/app/
H A DTaskInfo.java389 && (!topActivityInSizeCompat || configuration.getLayoutDirection() in equalsForSizeCompat()
390 == that.configuration.getLayoutDirection()) in equalsForSizeCompat()
/aosp12/packages/apps/PhoneCommon/src/com/android/phone/common/util/
H A DViewUtil.java59 return view.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in isViewLayoutRtl()
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/
H A DViewUtil.java57 return view.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in isViewLayoutRtl()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/
H A DViewPagerTabStrip.java100 return OsUtil.isAtLeastJB_MR2() ? getLayoutDirection() == View.LAYOUT_DIRECTION_RTL : false; in isRtl()

12345678