Home
last modified time | relevance | path

Searched refs:mIsRtl (Results 1 – 9 of 9) 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.java198 protected final boolean mIsRtl; field in PagedView
230 mIsRtl = Utilities.isRtl(getResources()); in PagedView()
578 boolean isXBeforeFirstPage = mIsRtl ? (x > mMaxScrollX) : (x < 0); in scrollTo()
579 boolean isXAfterLastPage = mIsRtl ? (x < 0) : (x > mMaxScrollX); in scrollTo()
581 super.scrollTo(mIsRtl ? mMaxScrollX : 0, y); in scrollTo()
584 if (mIsRtl) { in scrollTo()
591 super.scrollTo(mIsRtl ? 0 : mMaxScrollX, y); in scrollTo()
594 if (mIsRtl) { in scrollTo()
853 final int startIndex = mIsRtl ? childCount - 1 : 0; in onLayout()
854 final int endIndex = mIsRtl ? -1 : childCount; in onLayout()
[all …]
DFolderPagedView.java64 public final boolean mIsRtl; field in FolderPagedView
98 mIsRtl = Utilities.isRtl(getResources()); in FolderPagedView()
358 (mIsRtl ? Gravity.RIGHT : Gravity.LEFT) : Gravity.CENTER_HORIZONTAL); in arrangeChildren()
476 float fraction = (direction == DragController.SCROLL_LEFT) ^ mIsRtl in showScrollHint()
633 .translationXBy((direction > 0 ^ mIsRtl) ? -v.getWidth() : v.getWidth()) in realTimeReorder()
DDragController.java76 private final boolean mIsRtl; field in DragController
161 mIsRtl = Utilities.isRtl(r); in DragController()
553 final int forwardDirection = mIsRtl ? SCROLL_RIGHT : SCROLL_LEFT; in checkScrollState()
554 final int backwardsDirection = mIsRtl ? SCROLL_LEFT : SCROLL_RIGHT; in checkScrollState()
DWorkspace.java1160 boolean swipeInIgnoreDirection = mIsRtl ? deltaX < 0 : deltaX > 0; in determineScrollingStart()
1274 ((mIsRtl && mUnboundedScrollX > mMaxScrollX) || (!mIsRtl && mUnboundedScrollX < 0)); in isScrollingOverlay()
1284 int finalScroll = mIsRtl ? mMaxScrollX : 0; in snapToDestination()
1303 boolean shouldOverScroll = (amount <= 0 && (!hasCustomContent() || mIsRtl)) || in overScroll()
1304 (amount >= 0 && (!hasCustomContent() || !mIsRtl)); in overScroll()
1307 ((amount <= 0 && !mIsRtl) || (amount >= 0 && mIsRtl)); in overScroll()
1310 ((amount >= 0 && !mIsRtl) || (amount <= 0 && mIsRtl)); in overScroll()
1319 mLauncherOverlay.onScrollChange(mLastOverlaySroll, mIsRtl); in overScroll()
1325 mLauncherOverlay.onScrollChange(0, mIsRtl); in overScroll()
1345 if (mIsRtl) { in onOverlayScrollChanged()
[all …]
DDragLayer.java67 private final boolean mIsRtl; field in DragLayer
116 mIsRtl = Utilities.isRtl(res); in DragLayer()
898 CellLayout leftPage = (CellLayout) workspace.getChildAt(mIsRtl ? page + 1 : page - 1); in drawPageHints()
899 CellLayout rightPage = (CellLayout) workspace.getChildAt(mIsRtl ? page - 1 : page + 1); in drawPageHints()
DFolder.java566 mFolderName.setTranslationX(mContent.mIsRtl ? -translation : translation); in animateOpen()
758 if (currentPage > 0 && (mContent.mIsRtl ? isOutsideRightEdge : isOutsideLeftEdge)) { in onDragOver()
761 && (mContent.mIsRtl ? isOutsideLeftEdge : isOutsideRightEdge)) { in onDragOver()
1049 Rect workspacePadding = grid.getWorkspacePadding(mContent.mIsRtl); in getContentAreaHeight()
/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/allapps/
DAllAppsGridAdapter.java268 int x = mIsRtl ? in onDraw()
392 private final boolean mIsRtl; field in AllAppsGridAdapter
433 mIsRtl = Utilities.isRtl(res); in AllAppsGridAdapter()