Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DTwoPaneLayout.java121 private boolean mIsRtl; field in TwoPaneLayout
156 if (mIsRtl) {
275 mIsRtl = ViewUtils.isViewRtl(this); in onLayout()
330 if (mIsRtl) { in computePanePositions()
349 final int openDrawerDelta = mIsRtl ? -mDrawerWidthDelta : mDrawerWidthDelta; in animateDrawer()
452 final int xEnd = mIsRtl ? mListLeft : mListRight; in onTransitionComplete()
501 (mIsRtl ? -mDrawerWidthDelta : mDrawerWidthDelta); in onDrag()
506 if (mIsRtl) { in onDrag()
518 if (mIsRtl) { in onDragEnded()
537 if (mIsRtl) {
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java193 protected final boolean mIsRtl; field in PagedView
212 mIsRtl = Utilities.isRtl(getResources()); in PagedView()
505 boolean isXBeforeFirstPage = mIsRtl ? (x > mMaxScrollX) : (x < 0); in scrollTo()
506 boolean isXAfterLastPage = mIsRtl ? (x < 0) : (x > mMaxScrollX); in scrollTo()
508 super.scrollTo(mIsRtl ? mMaxScrollX : 0, y); in scrollTo()
511 if (mIsRtl) { in scrollTo()
518 super.scrollTo(mIsRtl ? 0 : mMaxScrollX, y); in scrollTo()
521 if (mIsRtl) { in scrollTo()
790 final int startIndex = mIsRtl ? childCount - 1 : 0; in onLayout()
791 final int endIndex = mIsRtl ? -1 : childCount; in onLayout()
[all …]
DWorkspace.java1247 boolean swipeInIgnoreDirection = mIsRtl ? deltaX < 0 : deltaX > 0; in determineScrollingStart()
1336 … ((mIsRtl && getUnboundedScrollX() > mMaxScrollX) || (!mIsRtl && getUnboundedScrollX() < 0)); in isScrollingOverlay()
1379 boolean shouldOverScroll = (amount <= 0 && (!hasCustomContent() || mIsRtl)) || in overScroll()
1380 (amount >= 0 && (!hasCustomContent() || !mIsRtl)); in overScroll()
1383 ((amount <= 0 && !mIsRtl) || (amount >= 0 && mIsRtl)); in overScroll()
1386 ((amount >= 0 && !mIsRtl) || (amount <= 0 && mIsRtl)); in overScroll()
1395 mLauncherOverlay.onScrollChange(mLastOverlayScroll, mIsRtl); in overScroll()
1401 mLauncherOverlay.onScrollChange(0, mIsRtl); in overScroll()
1442 if (mIsRtl) { in onOverlayScrollChanged()
1687 if (mIsRtl) { in updateStateForCustomContent()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DWallpaperOffsetInterpolator.java27 private final boolean mIsRtl; field in WallpaperOffsetInterpolator
50 mIsRtl = Utilities.isRtl(workspace.getResources()); in WallpaperOffsetInterpolator()
113 return mIsRtl ? 1f : 0f; in wallpaperOffsetForScroll()
127 if (mIsRtl) { in wallpaperOffsetForScroll()
152 if (mIsRtl) { in wallpaperOffsetForScroll()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DClippedFolderIconLayoutRule.java22 private boolean mIsRtl; field in ClippedFolderIconLayoutRule
30 mIsRtl = rtl; in init()
96 double theta0 = mIsRtl ? 0 : Math.PI; in getPosition()
99 int direction = mIsRtl ? 1 : -1; in getPosition()
DFolderPagedView.java71 public final boolean mIsRtl; field in FolderPagedView
106 mIsRtl = Utilities.isRtl(getResources()); in FolderPagedView()
397 (mIsRtl ? Gravity.RIGHT : Gravity.LEFT) : Gravity.CENTER_HORIZONTAL); in arrangeChildren()
508 float fraction = (direction == Folder.SCROLL_LEFT) ^ mIsRtl in showScrollHint()
671 .translationXBy((direction > 0 ^ mIsRtl) ? -v.getWidth() : v.getWidth()) in realTimeReorder()
DFolder.java664 mFolderName.setTranslationX(mContent.mIsRtl ? -translation : translation); in animateOpen()
893 if (currentPage > 0 && (mContent.mIsRtl ? isOutsideRightEdge : isOutsideLeftEdge)) { in onDragOver()
896 && (mContent.mIsRtl ? isOutsideLeftEdge : isOutsideRightEdge)) { in onDragOver()
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
DPageIndicatorDots.java80 private final boolean mIsRtl; field in PageIndicatorDots
118 mIsRtl = Utilities.isRtl(getResources()); in PageIndicatorDots()
124 if (mIsRtl) { in setScroll()
249 if (mIsRtl) { in onDraw()
293 if (mIsRtl) { in getActiveRect()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java109 private final boolean mIsRtl; field in PopupContainerWithArrow
135 mIsRtl = Utilities.isRtl(getResources()); in PopupContainerWithArrow()
430 int arrowCenterX = getResources().getDimensionPixelSize(mIsLeftAligned ^ mIsRtl ? in computeAnimStartPoint()
470 if (!canBeLeftAligned || (mIsRtl && canBeRightAligned)) { in orientAboutIcon()
474 if (mIsRtl) { in orientAboutIcon()
510 if (mIsRtl) { in orientAboutIcon()
524 if (!mIsRtl) { in orientAboutIcon()
549 return mIsLeftAligned && !mIsRtl || !mIsLeftAligned && mIsRtl; in isAlignedWithStart()
DPopupItemView.java47 protected final boolean mIsRtl; field in PopupItemView
75 mIsRtl = Utilities.isRtl(getResources()); in PopupItemView()
/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/Dialer/java/com/android/dialer/dialpadview/
DDialpadView.java59 private final boolean mIsRtl; field in DialpadView
106 mIsRtl = in DialpadView()
286 dialpadKey.setTranslationX((mIsRtl ? -1 : 1) * mTranslateDistance); in animateShow()
323 if (mIsRtl) { in getKeyButtonAnimationDelay()
411 if (mIsRtl) { in getKeyButtonAnimationDuration()
/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/dragndrop/
DDragLayer.java85 private final boolean mIsRtl; field in DragLayer
132 mIsRtl = Utilities.isRtl(getResources()); in DragLayer()