Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java144 protected boolean mIsRtl; field in PagedView
171 mIsRtl = Utilities.isRtl(getResources()); in PagedView()
330 int dir = !mIsRtl ? 1 : - 1; in ensureWithinScrollBounds()
670 final int startIndex = mIsRtl ? childCount - 1 : 0; in getPageScrolls()
671 final int endIndex = mIsRtl ? -1 : childCount; in getPageScrolls()
672 final int delta = mIsRtl ? -1 : 1; in getPageScrolls()
691 mIsRtl ? childPrimaryEnd - scrollOffsetEnd : childStart - scrollOffsetStart; in getPageScrolls()
731 final int index = mIsRtl ? 0 : childCount - 1; in computeMaxScroll()
815 if (mIsRtl) { in dispatchUnhandledMove()
1064 if ((delta < 0 && !mIsRtl) || (delta > 0 && mIsRtl)) { in getScrollProgress()
[all …]
DWorkspace.java959 if (mIsRtl) { in setLauncherOverlay()
1063 if (mIsRtl) { in onOverlayScrollChanged()
2296 layout = verifyInsidePage(nextPage + (mIsRtl ? 1 : -1), mTempTouchCoordinates);
2303 layout = verifyInsidePage(nextPage + (mIsRtl ? -1 : 1), mTempTouchCoordinates);
2311 layout = verifyInsidePage(nextPage + (mIsRtl ? -2 : 2), mTempTouchCoordinates);
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DClearAllButton.java49 private boolean mIsRtl; field in ClearAllButton
60 mIsRtl = getLayoutDirection() == LAYOUT_DIRECTION_RTL; in ClearAllButton()
68 mSidePadding = orientationHandler.getClearAllSidePadding(getRecentsView(), mIsRtl); in onLayout()
78 mIsRtl = getLayoutDirection() == LAYOUT_DIRECTION_RTL; in onRtlPropertiesChanged()
115 mNormalTranslationPrimary = mIsRtl ? -shift : shift; in onRecentsViewScroll()
DRecentsView.java602 mIsRtl = mOrientationHandler.getRecentsRtlSetting(getResources()); in RecentsView()
603 setLayoutDirection(mIsRtl ? View.LAYOUT_DIRECTION_RTL : View.LAYOUT_DIRECTION_LTR); in RecentsView()
646 return mIsRtl; in isRtl()
839 child.setLayoutDirection(mIsRtl ? View.LAYOUT_DIRECTION_LTR : View.LAYOUT_DIRECTION_RTL); in onViewAdded()
1069 int firstPageScroll = getScrollForPage(!mIsRtl ? 0 : getPageCount() - 1); in onNotSnappingToPageInFreeScroll()
1070 int lastPageScroll = getScrollForPage(!mIsRtl ? getPageCount() - 1 : 0); in onNotSnappingToPageInFreeScroll()
1297 mIsRtl = mOrientationHandler.getRecentsRtlSetting(getResources()); in updateOrientationHandler()
1298 setLayoutDirection(mIsRtl in updateOrientationHandler()
1301 mClearAllButton.setLayoutDirection(mIsRtl in updateOrientationHandler()
1390 accumulatedTranslationX += mIsRtl ? widthDiff : -widthDiff; in updateTaskSize()
[all …]
DLauncherRecentsView.java164 if (canComputeScrollX() && !mIsRtl) { in computeMinScroll()
172 if (canComputeScrollX() && mIsRtl) { in computeMaxScroll()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DTaskViewTouchController.java63 private final boolean mIsRtl; field in TaskViewTouchController
83 mIsRtl = Utilities.isRtl(activity.getResources()); in TaskViewTouchController()
160 .getUpDirection(mIsRtl); in onControllerInterceptTouchEvent()
227 int verticalFactor = orientationHandler.getTaskDragDisplacementFactor(mIsRtl); in reInitAnimationController()
266 reInitAnimationController(orientationHandler.isGoingUp(startDisplacement, mIsRtl)); in onDragStart()
281 orientationHandler.isGoingUp(totalDisplacement, mIsRtl); in onDrag()
345 boolean goingUp = orientationHandler.isGoingUp(velocity, mIsRtl); in onDragEnd()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DClippedFolderIconLayoutRule.java23 private boolean mIsRtl; field in ClippedFolderIconLayoutRule
30 mIsRtl = rtl; in init()
93 double theta0 = mIsRtl ? 0 : Math.PI; in getPosition()
96 int direction = mIsRtl ? 1 : -1; in getPosition()
DFolderPagedView.java77 public final boolean mIsRtl; field in FolderPagedView
105 mIsRtl = Utilities.isRtl(getResources()); in FolderPagedView()
347 (mIsRtl ? Gravity.RIGHT : Gravity.LEFT) : Gravity.CENTER_HORIZONTAL); in arrangeChildren()
441 float fraction = (direction == Folder.SCROLL_LEFT) ^ mIsRtl in showScrollHint()
607 .translationXBy((direction > 0 ^ mIsRtl) ? -v.getWidth() : v.getWidth()) in realTimeReorder()
DFolder.java698 mFolderName.setTranslationX(mContent.mIsRtl ? -translation : translation); in animateOpen()
925 if (currentPage > 0 && (mContent.mIsRtl ? isOutsideRightEdge : isOutsideLeftEdge)) { in onDragOver()
928 && (mContent.mIsRtl ? isOutsideLeftEdge : isOutsideRightEdge)) { in onDragOver()
/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()
DOverlayEdgeEffect.java31 private final boolean mIsRtl; field in OverlayEdgeEffect
39 mIsRtl = Utilities.isRtl(context.getResources()); in OverlayEdgeEffect()
54 mOverlay.onScrollChange(mDistance, mIsRtl); in onPullDistance()
/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/WallpaperPicker2/src/com/android/wallpaper/picker/
DWallpaperPreviewBitmapTransformation.java42 private boolean mIsRtl; field in WallpaperPreviewBitmapTransformation
49 mIsRtl = isRtl; in WallpaperPreviewBitmapTransformation()
65 scaledThumbnailSize, mScreenSize, false /* alignStart */, mIsRtl); in transform()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DBaseSwipeDetector.java53 protected final boolean mIsRtl; field in BaseSwipeDetector
77 mIsRtl = isRtl; in BaseSwipeDetector()
168 if (mIsRtl) { in onTouchEvent()
272 if (mIsRtl) { in reportDragEnd()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DClipIconView.java100 private final boolean mIsRtl; field in ClipIconView
134 mIsRtl = Utilities.isRtl(getResources()); in ClipIconView()
154 float dX = mIsRtl in update()
185 float dX = mIsRtl in update()
313 int left = mIsRtl in setIcon()
DFloatingIconView.java82 private final boolean mIsRtl; field in FloatingIconView
117 mIsRtl = Utilities.isRtl(getResources()); in FloatingIconView()
192 if (mIsRtl) { in updatePosition()
199 int left = mIsRtl in updatePosition()
/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/WallpaperPicker2/src/com/android/wallpaper/asset/
DStreamableAsset.java303 private final boolean mIsRtl; field in StreamableAsset.DecodeBitmapRegionAsyncTask
315 mIsRtl = isRtl; in DecodeBitmapRegionAsyncTask()
335 if (mIsRtl) { in doInBackground()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarView.java55 private final boolean mIsRtl; field in TaskbarView
110 mIsRtl = Utilities.isRtl(resources); in TaskbarView()
164 !mIsRtl ? i : hotseatItemInfos.length - i - 1]; in updateHotseatItems()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java105 protected final boolean mIsRtl; field in ArrowPopup
147 mIsRtl = Utilities.isRtl(getResources()); in ArrowPopup()
577 mIsLeftAligned = !mIsRtl ? allowAlignLeft : !allowAlignRight; in orientAboutObject()
622 if (!mIsRtl) { in orientAboutObject()