/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | SeascapePagedViewHandler.java | 63 return Utilities.isRtl(resources); in getRecentsRtlSetting() 125 public int getUpDirection(boolean isRtl) { in getUpDirection() argument 126 return isRtl ? SingleAxisSwipeDetector.DIRECTION_POSITIVE in getUpDirection() 131 public boolean isGoingUp(float displacement, boolean isRtl) { in isGoingUp() argument 132 return isRtl ? displacement > 0 : displacement < 0; in isGoingUp() 136 public int getTaskDragDisplacementFactor(boolean isRtl) { in getTaskDragDisplacementFactor() argument 137 return isRtl ? -1 : 1; in getTaskDragDisplacementFactor()
|
D | LandscapePagedViewHandler.java | 145 public int getClearAllSidePadding(View view, boolean isRtl) { in getClearAllSidePadding() argument 146 return (isRtl ? view.getPaddingBottom() : - view.getPaddingTop()) / 2; in getClearAllSidePadding() 194 return !Utilities.isRtl(resources); in getRecentsRtlSetting() 311 public int getUpDirection(boolean isRtl) { in getUpDirection() argument 312 return isRtl ? SingleAxisSwipeDetector.DIRECTION_NEGATIVE in getUpDirection() 317 public boolean isGoingUp(float displacement, boolean isRtl) { in isGoingUp() argument 318 return isRtl ? displacement < 0 : displacement > 0; in isGoingUp() 322 public int getTaskDragDisplacementFactor(boolean isRtl) { in getTaskDragDisplacementFactor() argument 323 return isRtl ? 1 : -1; in getTaskDragDisplacementFactor()
|
D | PortraitPagedViewHandler.java | 141 public int getClearAllSidePadding(View view, boolean isRtl) { in getClearAllSidePadding() argument 142 return (isRtl ? view.getPaddingRight() : - view.getPaddingLeft()) / 2; in getClearAllSidePadding() 196 return !Utilities.isRtl(resources); in getRecentsRtlSetting() 331 public int getUpDirection(boolean isRtl) { in getUpDirection() argument 337 public boolean isGoingUp(float displacement, boolean isRtl) { in isGoingUp() argument 343 public int getTaskDragDisplacementFactor(boolean isRtl) { in getTaskDragDisplacementFactor() argument
|
D | PagedOrientationHandler.java | 75 int getClearAllSidePadding(View view, boolean isRtl); in getClearAllSidePadding() argument 150 int getUpDirection(boolean isRtl); in getUpDirection() argument 152 boolean isGoingUp(float displacement, boolean isRtl); in isGoingUp() argument 154 int getTaskDragDisplacementFactor(boolean isRtl); in getTaskDragDisplacementFactor() argument
|
D | BothAxesSwipeDetector.java | 46 this(ViewConfiguration.get(context), l, Utilities.isRtl(context.getResources())); in BothAxesSwipeDetector() 51 boolean isRtl) { in BothAxesSwipeDetector() argument 52 super(config, isRtl); in BothAxesSwipeDetector()
|
D | SingleAxisSwipeDetector.java | 109 this(ViewConfiguration.get(context), l, dir, Utilities.isRtl(context.getResources())); in SingleAxisSwipeDetector() 114 @NonNull Direction dir, boolean isRtl) { in SingleAxisSwipeDetector() argument 115 super(config, isRtl); in SingleAxisSwipeDetector()
|
D | BaseSwipeDetector.java | 74 protected BaseSwipeDetector(@NonNull ViewConfiguration config, boolean isRtl) { in BaseSwipeDetector() argument 77 mIsRtl = isRtl; in BaseSwipeDetector()
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | ViewPagerTabStrip.java | 82 final boolean isRtl = isRtl(); in onDraw() 84 isRtl ? mIndexForSelection > 0 : (mIndexForSelection < (getChildCount() - 1)); in onDraw() 87 View nextTitle = getChildAt(mIndexForSelection + (isRtl ? -1 : 1)); in onDraw() 107 private boolean isRtl() { in isRtl() method in ViewPagerTabStrip
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | ViewPagerTabStrip.java | 78 final boolean isRtl = isRtl(); in onDraw() 79 final boolean hasNextTab = isRtl ? mIndexForSelection > 0 in onDraw() 83 View nextTitle = getChildAt(mIndexForSelection + (isRtl ? -1 : 1)); in onDraw() 99 private boolean isRtl() { in isRtl() method in ViewPagerTabStrip
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | CursorAnchorInfoUtils.java | 182 final boolean isRtl = layout.isRtlCharAt(offset); in extractFromTextViewInternal() 190 if (isRtl) { in extractFromTextViewInternal() 198 if (!isRtl) { in extractFromTextViewInternal() 222 if (isRtl) { in extractFromTextViewInternal()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | WallpaperCropUtils.java | 124 boolean isRtl) { in calculateCenterPosition() argument 133 relativePosition.x = isRtl ? outer.x - inner.x : 0; in calculateCenterPosition() 211 if (isRtl(context)) { in calculateCropRect() 350 public static boolean isRtl(Context context) { in isRtl() method in WallpaperCropUtils
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | StreamableAsset.java | 145 boolean isRtl, BitmapReceiver receiver) { in runDecodeBitmapRegionTask() argument 147 new DecodeBitmapRegionAsyncTask(rect, targetWidth, targetHeight, isRtl, receiver); in runDecodeBitmapRegionTask() 310 boolean isRtl, BitmapReceiver receiver) { in DecodeBitmapRegionAsyncTask() argument 315 mIsRtl = isRtl; in DecodeBitmapRegionAsyncTask()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
D | SearchChipViewManager.java | 430 final boolean isRtl = mChipGroup.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in reorderCheckedChips() 431 float lastX = isRtl ? mChipGroup.getWidth() - chipSpacing / 2 : chipSpacing / 2; in reorderCheckedChips() 453 if (isRtl) { in reorderCheckedChips() 459 if (isRtl) { in reorderCheckedChips() 471 final int scrollToX = isRtl ? parent.getWidth() : 0; in reorderCheckedChips()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | BaseDialogFragment.java | 154 boolean isRtl = ViewCompat.getLayoutDirection(contentView) == in performEntryTransition() 156 int startDist = isRtl ? SLIDE_IN_DISTANCE : -SLIDE_IN_DISTANCE; in performEntryTransition() 157 int endDist = isRtl ? -actionFragmentView.getMeasuredWidth() : in performEntryTransition()
|
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/ |
D | FadeAndShortSlide.java | 59 final boolean isRtl = 62 if (isRtl) { 76 final boolean isRtl = 79 if (isRtl) {
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | FastScrollThumbDrawable.java | 37 public FastScrollThumbDrawable(Paint paint, boolean isRtl) { in FastScrollThumbDrawable() argument 39 mIsRtl = isRtl; in FastScrollThumbDrawable()
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
D | DialpadView.java | 81 private final boolean isRtl; // whether the dialpad is shown in a right-to-left locale field in DialpadView 111 isRtl = in DialpadView() 299 dialpadKey.setTranslationX((isRtl ? -1 : 1) * translateDistance); in animateShow() 340 if (isRtl) { in getKeyButtonAnimationDelay() 428 if (isRtl) { in getKeyButtonAnimationDuration()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultBitmapCropper.java | 35 boolean isRtl, Callback callback) { in cropAndScaleBitmap() argument 43 asset.decodeBitmapRegion(scaledCropRect, cropRect.width(), cropRect.height(), isRtl, in cropAndScaleBitmap()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | ConversationMessageView.java | 130 final boolean isRtl = isLayoutRtl(this); in onLayout() 143 if (isRtl) { in onLayout() 151 if (isRtl) { in onLayout()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | WallpaperPreviewBitmapTransformation.java | 44 public WallpaperPreviewBitmapTransformation(Context appContext, boolean isRtl) { in WallpaperPreviewBitmapTransformation() argument 49 mIsRtl = isRtl; in WallpaperPreviewBitmapTransformation()
|
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
D | DeepShortcutTextView.java | 69 if (!Utilities.isRtl(getResources())) { in onMeasure() 86 Utilities.isRtl(getResources()) ? mDragHandleWidth : getPaddingStart(), in setLoadingBounds()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
D | PreviewPager.java | 209 initialPage = isRtl() ? mAdapter.getCount() - 1 - mViewPager.getCurrentItem() in setAdapter() 214 mViewPager.setCurrentItem(isRtl() ? mAdapter.getCount() - 1 - initialPage : initialPage); in setAdapter() 230 public boolean isRtl() { in isRtl() method in PreviewPager
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | TaskThumbnailView.java | 387 boolean isRtl = getLayoutDirection() == LAYOUT_DIRECTION_RTL; in updateThumbnailMatrix() 390 currentRotation, isRtl); in updateThumbnailMatrix() 448 boolean isRtl) { in updateThumbnailMatrix() argument 529 if (isRtl) { in updateThumbnailMatrix()
|
/packages/apps/Dialer/java/com/android/dialer/app/ |
D | DialtactsActivity.java | 437 final boolean isLayoutRtl = ViewUtil.isRtl(); in onCreate() 1441 boolean isRtl = ViewUtil.isRtl(); in onPageScrolled() 1442 if (!isRtl && tabIndex == DialtactsPagerAdapter.TAB_INDEX_SPEED_DIAL && !isLandscape) { in onPageScrolled() 1444 } else if (isRtl && tabIndex == DialtactsPagerAdapter.TAB_INDEX_HISTORY && !isLandscape) { in onPageScrolled()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | OverlayEdgeEffect.java | 39 mIsRtl = Utilities.isRtl(context.getResources()); in OverlayEdgeEffect()
|