Home
last modified time | relevance | path

Searched refs:mIsRtl (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java139 protected boolean mIsRtl; field in PagedView
163 mIsRtl = Utilities.isRtl(getResources()); in PagedView()
280 int dir = !mIsRtl ? 1 : - 1; in ensureWithinScrollBounds()
387 boolean isXBeforeFirstPage = mIsRtl ? (x > mMaxScrollX) : (x < mMinScrollX); in scrollTo()
388 boolean isXAfterLastPage = mIsRtl ? (x < mMinScrollX) : (x > mMaxScrollX); in scrollTo()
395 super.scrollTo(mIsRtl ? mMaxScrollX : mMinScrollX, y); in scrollTo()
398 if (mIsRtl) { in scrollTo()
405 super.scrollTo(mIsRtl ? mMinScrollX : mMaxScrollX, y); in scrollTo()
408 if (mIsRtl) { in scrollTo()
623 final int startIndex = mIsRtl ? childCount - 1 : 0; in getPageScrolls()
[all …]
DWorkspace.java971 ((mIsRtl && getUnboundedScrollX() > mMaxScrollX) in isScrollingOverlay()
972 || (!mIsRtl && getUnboundedScrollX() < mMinScrollX)); in isScrollingOverlay()
1015 ((amount <= 0 && !mIsRtl) || (amount >= 0 && mIsRtl)); in overScroll()
1018 ((amount >= 0 && !mIsRtl) || (amount <= 0 && mIsRtl)); in overScroll()
1027 mLauncherOverlay.onScrollChange(mLastOverlayScroll, mIsRtl); in overScroll()
1033 mLauncherOverlay.onScrollChange(0, mIsRtl); in overScroll()
1040 if ((amount > 0 && !mIsRtl) || (amount < 0 && mIsRtl)) return false; in onOverscroll()
1092 if (mIsRtl) { in onOverlayScrollChanged()
2263 layout = verifyInsidePage(nextPage + (mIsRtl ? 1 : -1), mTempTouchCoordinates);
2270 layout = verifyInsidePage(nextPage + (mIsRtl ? -1 : 1), mTempTouchCoordinates);
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DClearAllButton.java47 private final boolean mIsRtl; field in ClearAllButton
53 mIsRtl = Utilities.isRtl(context.getResources()); in ClearAllButton()
61 mScrollOffset = mIsRtl ? parent.getPaddingRight() / 2 : - parent.getPaddingLeft() / 2; in onLayout()
91 setTranslationX(mIsRtl ? (mScrollOffset - shift) : (mScrollOffset + shift)); in onPageScroll()
DRecentsView.java337 mIsRtl = !Utilities.isRtl(getResources()); in RecentsView()
338 setLayoutDirection(mIsRtl ? View.LAYOUT_DIRECTION_RTL : View.LAYOUT_DIRECTION_LTR); in RecentsView()
366 return mIsRtl; in isRtl()
708 mScrollState.scrollFromEdge = mIsRtl ? scrollX : (mMaxScrollX - scrollX); in updateCurveProperties()
1127 int offset = mIsRtl ? scrollDiffPerPage : 0; in createTaskDismissAnimation()
1131 offset += mIsRtl ? -scrollDiffPerPage : scrollDiffPerPage; in createTaskDismissAnimation()
1137 offset += mIsRtl ? -scrollDiffPerPage : scrollDiffPerPage; in createTaskDismissAnimation()
1286 return snapToPageRelative(getPageCount(), mIsRtl ? -1 : 1, false /* cycle */); in dispatchKeyEvent()
1288 return snapToPageRelative(getPageCount(), mIsRtl ? 1 : -1, false /* cycle */); in dispatchKeyEvent()
1530 mIsRtl ? -displacementX : displacementX)); in createAdjacentPageAnimForTaskLaunch()
[all …]
DLauncherRecentsView.java328 if (canComputeScrollX() && !mIsRtl) { in computeMinScrollX()
336 if (canComputeScrollX() && mIsRtl) { in computeMaxScrollX()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DWallpaperPreviewBitmapTransformation.java40 private boolean mIsRtl; field in WallpaperPreviewBitmapTransformation
49 mIsRtl = isRtl; in WallpaperPreviewBitmapTransformation()
62 scaledThumbnailSize, mDefaultCropSurfaceSize, false /* alignStart */, mIsRtl); in transform()
65 mDefaultCropSurfaceSize, mScreenSize, true /* alignStart */, mIsRtl); in transform()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DWallpaperOffsetInterpolator.java34 private final boolean mIsRtl; field in WallpaperOffsetInterpolator
46 mIsRtl = Utilities.isRtl(workspace.getResources()); in WallpaperOffsetInterpolator()
72 out[0] = mIsRtl ? 1 : 0; in wallpaperOffsetForScroll()
84 if (mIsRtl) { in wallpaperOffsetForScroll()
111 if (mIsRtl) { in wallpaperOffsetForScroll()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DClippedFolderIconLayoutRule.java21 private boolean mIsRtl; field in ClippedFolderIconLayoutRule
28 mIsRtl = rtl; in init()
93 double theta0 = mIsRtl ? 0 : Math.PI; in getPosition()
96 int direction = mIsRtl ? 1 : -1; in getPosition()
DFolderPagedView.java73 public final boolean mIsRtl; field in FolderPagedView
99 mIsRtl = Utilities.isRtl(getResources()); in FolderPagedView()
332 (mIsRtl ? Gravity.RIGHT : Gravity.LEFT) : Gravity.CENTER_HORIZONTAL); in arrangeChildren()
426 float fraction = (direction == Folder.SCROLL_LEFT) ^ mIsRtl in showScrollHint()
590 .translationXBy((direction > 0 ^ mIsRtl) ? -v.getWidth() : v.getWidth()) in realTimeReorder()
DFolder.java584 mFolderName.setTranslationX(mContent.mIsRtl ? -translation : translation); in animateOpen()
779 if (currentPage > 0 && (mContent.mIsRtl ? isOutsideRightEdge : isOutsideLeftEdge)) { in onDragOver()
782 && (mContent.mIsRtl ? isOutsideLeftEdge : isOutsideRightEdge)) { in onDragOver()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java68 protected final boolean mIsRtl; field in ArrowPopup
87 mIsRtl = Utilities.isRtl(getResources()); in ArrowPopup()
213 return mIsLeftAligned && !mIsRtl || !mIsLeftAligned && mIsRtl; in isAlignedWithStart()
251 if (!canBeLeftAligned || (mIsRtl && canBeRightAligned)) { in orientAboutObject()
295 if (!mIsRtl) { in orientAboutObject()
465 int arrowCenterX = res.getDimensionPixelSize(mIsLeftAligned ^ mIsRtl ? in createOpenCloseOutlineProvider()
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
DPageIndicatorDots.java80 private final boolean mIsRtl; field in PageIndicatorDots
119 mIsRtl = Utilities.isRtl(getResources()); in PageIndicatorDots()
125 if (mIsRtl) { in setScroll()
251 if (mIsRtl) { in onDraw()
295 if (mIsRtl) { in getActiveRect()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DFastScrollThumbDrawable.java35 private final boolean mIsRtl; field in FastScrollThumbDrawable
39 mIsRtl = isRtl; in FastScrollThumbDrawable()
63 if (mIsRtl) { in onBoundsChange()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DBaseSwipeDetector.java49 protected final boolean mIsRtl; field in BaseSwipeDetector
71 mIsRtl = isRtl; in BaseSwipeDetector()
162 if (mIsRtl) { in onTouchEvent()
256 if (mIsRtl) { in reportDragEnd()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DPersonalWorkSlidingTabStrip.java57 private boolean mIsRtl; field in PersonalWorkSlidingTabStrip
77 mIsRtl = Utilities.isRtl(getResources()); in PersonalWorkSlidingTabStrip()
111 return mIsRtl ? getChildAt(1) : getChildAt(0); in getLeftTab()
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
DDialpadView.java67 private final boolean mIsRtl; field in DialpadView
109 mIsRtl = TextUtils.getLayoutDirectionFromLocale(Locale.getDefault()) == in DialpadView()
292 dialpadKey.setTranslationX((mIsRtl ? -1 : 1) * mTranslateDistance); in animateShow()
328 if (mIsRtl) { in getKeyButtonAnimationDelay()
416 if (mIsRtl) { in getKeyButtonAnimationDuration()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java131 private final boolean mIsRtl; field in FloatingIconView
177 mIsRtl = Utilities.isRtl(getResources()); in FloatingIconView()
217 float dX = mIsRtl in update()
331 if (mIsRtl) { in updatePosition()
338 int left = mIsRtl in updatePosition()
526 int left = mIsRtl in setIcon()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepAppTransitionManagerImpl.java144 private final boolean mIsRtl; field in QuickstepAppTransitionManagerImpl
173 mIsRtl = Utilities.isRtl(mLauncher.getResources()); in QuickstepAppTransitionManagerImpl()