Searched defs:mIsRtl (Results 1 - 12 of 12) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/folder/
H A DClippedFolderIconLayoutRule.java26 private boolean mIsRtl; field in class:ClippedFolderIconLayoutRule
34 mIsRtl = rtl;
71 double theta0 = mIsRtl ? 0 : Math.PI;
74 int direction = mIsRtl ? 1 : -1;
H A DFolderPagedView.java73 public final boolean mIsRtl; field in class:FolderPagedView
108 mIsRtl = Utilities.isRtl(getResources());
374 (mIsRtl ? Gravity.RIGHT : Gravity.LEFT) : Gravity.CENTER_HORIZONTAL);
485 float fraction = (direction == Folder.SCROLL_LEFT) ^ mIsRtl
641 .translationXBy((direction > 0 ^ mIsRtl) ? -v.getWidth() : v.getWidth())
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
H A DDialpadView.java59 private final boolean mIsRtl; field in class:DialpadView
106 mIsRtl =
286 dialpadKey.setTranslationX((mIsRtl ? -1 : 1) * mTranslateDistance);
323 if (mIsRtl) {
411 if (mIsRtl) {
/packages/apps/Launcher3/src/com/android/launcher3/
H A DBaseRecyclerViewFastScrollBar.java60 private final boolean mIsRtl; field in class:BaseRecyclerViewFastScrollBar
109 mIsRtl = Utilities.isRtl(res);
126 return mIsRtl ? 0 : (mRv.getWidth() - mMaxWidth);
162 int smallWidth = mIsRtl ? mWidth : -mWidth;
163 int largeWidth = mIsRtl ? mMaxWidth : -mMaxWidth;
265 if (!mIsRtl) {
269 int thumbWidth = mIsRtl ? mWidth : -mWidth;
H A DPagedView.java184 protected final boolean mIsRtl; field in class:PagedView
207 mIsRtl = Utilities.isRtl(getResources());
502 boolean isXBeforeFirstPage = mIsRtl ? (x > mMaxScrollX) : (x < 0);
503 boolean isXAfterLastPage = mIsRtl ? (x < 0) : (x > mMaxScrollX);
505 super.scrollTo(mIsRtl ? mMaxScrollX : 0, y);
508 if (mIsRtl) {
515 super.scrollTo(mIsRtl ? 0 : mMaxScrollX, y);
518 if (mIsRtl) {
784 final int startIndex = mIsRtl ? childCount - 1 : 0;
785 final int endIndex = mIsRtl
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
H A DPageIndicatorDots.java80 private final boolean mIsRtl; field in class:PageIndicatorDots
118 mIsRtl = Utilities.isRtl(getResources());
124 if (mIsRtl) {
249 if (mIsRtl) {
293 if (mIsRtl) {
/packages/apps/Launcher3/src/com/android/launcher3/popup/
H A DPopupItemView.java51 protected final boolean mIsRtl; field in class:PopupItemView
79 mIsRtl = Utilities.isRtl(getResources());
125 int arrowCenter = getResources().getDimensionPixelSize(pivotLeft ^ mIsRtl ?
151 int arrowCenter = getResources().getDimensionPixelSize(pivotLeft ^ mIsRtl ?
H A DPopupContainerWithArrow.java94 private final boolean mIsRtl; field in class:PopupContainerWithArrow
117 mIsRtl = Utilities.isRtl(getResources());
386 if (!canBeLeftAligned || (mIsRtl && canBeRightAligned)) {
390 if (mIsRtl) {
424 if (mIsRtl) {
437 if (!mIsRtl) {
472 return mIsLeftAligned && !mIsRtl || !mIsLeftAligned && mIsRtl;
/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DWallpaperOffsetInterpolator.java27 private final boolean mIsRtl; field in class:WallpaperOffsetInterpolator
50 mIsRtl = Utilities.isRtl(workspace.getResources());
113 return mIsRtl ? 1f : 0f;
127 if (mIsRtl) {
152 if (mIsRtl) {
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
H A DDialpadView.java67 private final boolean mIsRtl; field in class:DialpadView
109 mIsRtl = TextUtils.getLayoutDirectionFromLocale(Locale.getDefault()) ==
292 dialpadKey.setTranslationX((mIsRtl ? -1 : 1) * mTranslateDistance);
328 if (mIsRtl) {
416 if (mIsRtl) {
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
H A DDragLayer.java85 private final boolean mIsRtl; field in class:DragLayer
131 mIsRtl = Utilities.isRtl(getResources());
/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...]

Completed in 310 milliseconds