Searched refs:mIsRtl (Results 1 - 9 of 9) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DTwoPaneLayout.java121 private boolean mIsRtl; field in class:TwoPaneLayout
156 if (mIsRtl) {
275 mIsRtl = ViewUtils.isViewRtl(this);
330 if (mIsRtl) {
349 final int openDrawerDelta = mIsRtl ? -mDrawerWidthDelta : mDrawerWidthDelta;
452 final int xEnd = mIsRtl ? mListLeft : mListRight;
501 (mIsRtl ? -mDrawerWidthDelta : mDrawerWidthDelta);
506 if (mIsRtl) {
518 if (mIsRtl) {
537 if (mIsRtl) {
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DPagedView.java203 protected final boolean mIsRtl; field in class:PagedView
235 mIsRtl = Utilities.isRtl(getResources());
579 boolean isXBeforeFirstPage = mIsRtl ? (x > mMaxScrollX) : (x < 0);
580 boolean isXAfterLastPage = mIsRtl ? (x < 0) : (x > mMaxScrollX);
582 super.scrollTo(mIsRtl ? mMaxScrollX : 0, y);
585 if (mIsRtl) {
592 super.scrollTo(mIsRtl ? 0 : mMaxScrollX, y);
595 if (mIsRtl) {
854 final int startIndex = mIsRtl ? childCount - 1 : 0;
855 final int endIndex = mIsRtl
[all...]
H A DFolderPagedView.java64 public final boolean mIsRtl; field in class:FolderPagedView
98 mIsRtl = Utilities.isRtl(getResources());
354 (mIsRtl ? Gravity.RIGHT : Gravity.LEFT) : Gravity.CENTER_HORIZONTAL);
460 float fraction = (direction == DragController.SCROLL_LEFT) ^ mIsRtl
617 .translationXBy((direction > 0 ^ mIsRtl) ? -v.getWidth() : v.getWidth())
H A DDragController.java74 private final boolean mIsRtl; field in class:DragController
161 mIsRtl = Utilities.isRtl(r);
552 final int forwardDirection = mIsRtl ? SCROLL_RIGHT : SCROLL_LEFT;
553 final int backwardsDirection = mIsRtl ? SCROLL_LEFT : SCROLL_RIGHT;
H A DDragLayer.java67 private final boolean mIsRtl; field in class:DragLayer
118 mIsRtl = Utilities.isRtl(res);
916 CellLayout leftPage = (CellLayout) workspace.getChildAt(mIsRtl ? page + 1 : page - 1);
917 CellLayout rightPage = (CellLayout) workspace.getChildAt(mIsRtl ? page - 1 : page + 1);
H A DWorkspace.java310 mOverviewModeShrinkFactor = grid.getOverviewModeScale(mIsRtl);
1125 boolean swipeInIgnoreDirection = mIsRtl ? deltaX < 0 : deltaX > 0;
1232 boolean shouldOverScroll = (amount <= 0 && (!hasCustomContent() || mIsRtl)) ||
1233 (amount >= 0 && (!hasCustomContent() || !mIsRtl));
1236 ((amount <= 0 && !mIsRtl) || (amount >= 0 && mIsRtl));
1239 ((amount >= 0 && !mIsRtl) || (amount <= 0 && mIsRtl));
1253 mLauncherOverlay.onScrollChange(progress, mIsRtl);
1259 mLauncherOverlay.onScrollChange(0, mIsRtl);
[all...]
H A DFolder.java552 mFolderName.setTranslationX(mContent.mIsRtl ? -translation : translation);
712 if (currentPage > 0 && (mContent.mIsRtl ? isOutsideRightEdge : isOutsideLeftEdge)) {
715 && (mContent.mIsRtl ? isOutsideLeftEdge : isOutsideRightEdge)) {
1004 Rect workspacePadding = grid.getWorkspacePadding(mContent.mIsRtl);
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
H A DDialpadView.java63 private final boolean mIsRtl; field in class:DialpadView
105 mIsRtl = TextUtils.getLayoutDirectionFromLocale(Locale.getDefault()) ==
265 dialpadKey.setTranslationX((mIsRtl ? -1 : 1) * mTranslateDistance);
301 if (mIsRtl) {
365 if (mIsRtl) {
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
H A DAllAppsGridAdapter.java169 int x = mIsRtl ?
293 @Thunk boolean mIsRtl; field in class:AllAppsGridAdapter
345 mIsRtl = rtl;

Completed in 159 milliseconds