Home
last modified time | relevance | path

Searched refs:isLayoutRtl (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/recents/
DRecentsUtilsTest.java46 when(mRecyclerView.isLayoutRtl()).thenReturn(true); in areItemsRightToLeft_returnsFalse_RTL_reversedLayout()
54 when(mRecyclerView.isLayoutRtl()).thenReturn(true); in areItemsRightToLeft_returnsTrue_RTL_noReversedLayout()
62 when(mRecyclerView.isLayoutRtl()).thenReturn(false); in areItemsRightToLeft_returnsTrue_LTR_reversedLayout()
70 when(mRecyclerView.isLayoutRtl()).thenReturn(false); in areItemsRightToLeft_returnsFalse_LTR_noReversedLayout()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/
DBubbleBarView.java368 final boolean onLeft = mBubbleBarLocation.isOnLeft(isLayoutRtl()); in onBubbleBarLocationChanged()
423 if (getBubbleBarLocation().isOnLeft(isLayoutRtl()) != location.isOnLeft(isLayoutRtl())) { in getBubbleBarDragReleaseTranslation()
428 if (location.isOnLeft(isLayoutRtl())) { in getBubbleBarDragReleaseTranslation()
455 boolean newLocationOnLeft = location.isOnLeft(isLayoutRtl()); in getDraggedBubbleReleaseTranslation()
456 if (getBubbleBarLocation().isOnLeft(isLayoutRtl()) != newLocationOnLeft) { in getDraggedBubbleReleaseTranslation()
498 mBubbleBarBackground.setAnchorLeft(bubbleBarLocation.isOnLeft(isLayoutRtl())); in animateToBubbleBarLocation()
511 final boolean onLeft = newLocation.isOnLeft(isLayoutRtl()); in getLocationUpdateFadeOutAnimator()
531 final boolean onLeft = newLocation.isOnLeft(isLayoutRtl()); in getLocationUpdateFadeInAnimator()
771 final boolean onLeft = bubbleBarLocation.isOnLeft(isLayoutRtl()); in updateBubblesLayoutProperties()
1041 index, getChildCount(), bubbleBarLocation.isOnLeft(isLayoutRtl())); in arrowPositionForSelectedWhenExpanded()
[all …]
DBubbleDragController.java137 bubbleView.isLayoutRtl())); in setupBubbleView()
203 bubbleBarView.getBubbleBarLocation().isOnLeft(bubbleBarView.isLayoutRtl())); in setupBubbleBarView()
DBubbleBarPinController.kt84 val onLeft = location.isOnLeft(container.isLayoutRtl) in <lambda>()
DBubblePinController.kt98 val onLeft = location.isOnLeft(container.isLayoutRtl) in <lambda>()
DBubbleStashedHandleViewController.java135 if (bubbleBarLocation.isOnLeft(mStashedHandleView.isLayoutRtl())) { in updateBounds()
/packages/apps/Settings/src/com/android/settings/accessibility/
DTextReadingPreviewController.java105 final boolean isLayoutRtl = in displayPreference()
108 final PreviewPagerAdapter pagerAdapter = new PreviewPagerAdapter(mContext, isLayoutRtl, in displayPreference()
112 isLayoutRtl ? previewSamples.length - 1 : FRAME_INITIAL_INDEX); in displayPreference()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DUdfpsEnrollEnrollingView.java70 final boolean isLayoutRtl = (TextUtils.getLayoutDirectionFromLocale(Locale.getDefault()) in UdfpsEnrollEnrollingView()
72 mShouldUseReverseLandscape = (mRotation == Surface.ROTATION_90 && isLayoutRtl) in UdfpsEnrollEnrollingView()
73 || (mRotation == Surface.ROTATION_270 && !isLayoutRtl); in UdfpsEnrollEnrollingView()
/packages/apps/Dialer/java/com/android/dialer/widget/
DFloatingActionButtonController.java187 if (isLayoutRtl()) { in getTranslationXForAlignment()
193 private boolean isLayoutRtl() { in isLayoutRtl() method in FloatingActionButtonController
/packages/apps/Contacts/src/com/android/contacts/widget/
DFloatingActionButtonController.java220 if (isLayoutRtl()) { in getTranslationXForAlignment()
226 private boolean isLayoutRtl() { in isLayoutRtl() method in FloatingActionButtonController
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java360 final boolean isLayoutRtl = isLayoutRtl(); in drawDividersHorizontal()
368 if (isLayoutRtl) { in drawDividersHorizontal()
382 if (isLayoutRtl) { in drawDividersHorizontal()
389 if (isLayoutRtl) { in drawDividersHorizontal()
1217 final boolean isLayoutRtl = isLayoutRtl(); in layoutHorizontal()
1261 if (isLayoutRtl) { in layoutHorizontal()
DDefaultIndicatorSeekBar.java66 final int indicatorPosition = isLayoutRtl() && getMirrorForRtl() in drawTickMarks()
/packages/apps/Settings/src/com/android/settings/display/
DConversationMessageView.java132 final boolean isRtl = isLayoutRtl(this); in onLayout()
168 private static boolean isLayoutRtl(final View view) { in isLayoutRtl() method in ConversationMessageView
231 if (isLayoutRtl(this)) { in updateViewAppearance()
DPreviewPagerAdapter.java58 public PreviewPagerAdapter(Context context, boolean isLayoutRtl, in PreviewPagerAdapter() argument
60 mIsLayoutRtl = isLayoutRtl; in PreviewPagerAdapter()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/recents/
DRecentsUtils.java39 return recyclerView.isLayoutRtl() ^ isLayoutReversed; in areItemsRightToLeft()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListItemView.java618 final boolean isLayoutRtl = ViewUtil.isViewLayoutRtl(this); in onLayout()
627 isLayoutRtl ? rightBound - mHeaderWidth : leftBound, in onLayout()
629 isLayoutRtl ? rightBound : leftBound + mHeaderWidth, in onLayout()
632 if (isLayoutRtl) { in onLayout()
642 if (isLayoutRtl) { in onLayout()
731 if (!isLayoutRtl) { in onLayout()
803 if (isLayoutRtl) { in onLayout()
857 if (!isLayoutRtl) { in onLayout()
874 if (!isLayoutRtl) { in onLayout()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DResolverViewPager.java79 || (!isLayoutRtl() && mSwipingEnabled && super.onInterceptTouchEvent(ev)); in onInterceptTouchEvent()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DAlbumsTabItemDecoration.java90 if (ViewUtils.isLayoutRtl(parent)) { in getItemOffsets()
DPhotosTabItemDecoration.java81 if (ViewUtils.isLayoutRtl(parent)) { in getItemOffsets()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DIconAppChipView.java279 if (isLayoutRtl()) { in setIconOrientation()
369 boolean isRtl = isLayoutRtl(); in revealAnim()
DTaskMenuView.java399 enableOverviewIconMenu() && isLayoutRtl() ? getWidth() : 0,
401 enableOverviewIconMenu() && !isLayoutRtl() ? 0 : getWidth(),
/packages/apps/Messaging/src/com/android/messaging/util/
DAccessibilityUtil.java103 public static boolean isLayoutRtl(final View view) { in isLayoutRtl() method in AccessibilityUtil
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDialpadFragment.java204 private boolean isLayoutRtl; field in DialpadFragment
535 isLayoutRtl = ViewUtil.isRtl(); in onAttach()
1635 animation = isLayoutRtl ? R.anim.dialpad_slide_out_left : R.anim.dialpad_slide_out_right; in slideDown()
1653 animation = isLayoutRtl ? R.anim.dialpad_slide_in_left : R.anim.dialpad_slide_in_right; in slideUp()
/packages/apps/Dialer/java/com/android/dialer/app/
DDialtactsActivity.java437 final boolean isLayoutRtl = ViewUtil.isRtl(); in onCreate()
441 this, isLayoutRtl ? R.anim.dialpad_slide_in_left : R.anim.dialpad_slide_in_right); in onCreate()
444 this, isLayoutRtl ? R.anim.dialpad_slide_out_left : R.anim.dialpad_slide_out_right); in onCreate()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/
DCarVolumeDialogImpl.java353 public void onLayoutDirectionChanged(boolean isLayoutRtl) { in onLayoutDirectionChanged() argument
356 isLayoutRtl ? View.LAYOUT_DIRECTION_RTL : View.LAYOUT_DIRECTION_LTR); in onLayoutDirectionChanged()

12