Searched refs:mIsRtl (Results 1 – 9 of 9) sorted by relevance
121 private boolean mIsRtl; field in TwoPaneLayout156 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 …]
198 protected final boolean mIsRtl; field in PagedView230 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 …]
64 public final boolean mIsRtl; field in FolderPagedView98 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()
76 private final boolean mIsRtl; field in DragController161 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()
1160 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 …]
67 private final boolean mIsRtl; field in DragLayer116 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()
566 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()
67 private final boolean mIsRtl; field in DialpadView109 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()
268 int x = mIsRtl ? in onDraw()392 private final boolean mIsRtl; field in AllAppsGridAdapter433 mIsRtl = Utilities.isRtl(res); in AllAppsGridAdapter()