Home
last modified time | relevance | path

Searched refs:isRtl (Results 1 – 25 of 57) sorted by relevance

123

/packages/apps/Launcher3/src/com/android/launcher3/touch/
DSeascapePagedViewHandler.java63 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()
DLandscapePagedViewHandler.java145 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()
DPortraitPagedViewHandler.java141 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
DPagedOrientationHandler.java75 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
DBothAxesSwipeDetector.java46 this(ViewConfiguration.get(context), l, Utilities.isRtl(context.getResources())); in BothAxesSwipeDetector()
51 boolean isRtl) { in BothAxesSwipeDetector() argument
52 super(config, isRtl); in BothAxesSwipeDetector()
DSingleAxisSwipeDetector.java109 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()
DBaseSwipeDetector.java74 protected BaseSwipeDetector(@NonNull ViewConfiguration config, boolean isRtl) { in BaseSwipeDetector() argument
77 mIsRtl = isRtl; in BaseSwipeDetector()
/packages/apps/Dialer/java/com/android/contacts/common/list/
DViewPagerTabStrip.java82 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/
DViewPagerTabStrip.java78 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/
DCursorAnchorInfoUtils.java182 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/
DWallpaperCropUtils.java124 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/
DStreamableAsset.java145 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/
DSearchChipViewManager.java430 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/
DBaseDialogFragment.java154 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/
DFadeAndShortSlide.java59 final boolean isRtl =
62 if (isRtl) {
76 final boolean isRtl =
79 if (isRtl) {
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DFastScrollThumbDrawable.java37 public FastScrollThumbDrawable(Paint paint, boolean isRtl) { in FastScrollThumbDrawable() argument
39 mIsRtl = isRtl; in FastScrollThumbDrawable()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDialpadView.java81 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/
DDefaultBitmapCropper.java35 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/
DConversationMessageView.java130 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/
DWallpaperPreviewBitmapTransformation.java44 public WallpaperPreviewBitmapTransformation(Context appContext, boolean isRtl) { in WallpaperPreviewBitmapTransformation() argument
49 mIsRtl = isRtl; in WallpaperPreviewBitmapTransformation()
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DDeepShortcutTextView.java69 if (!Utilities.isRtl(getResources())) { in onMeasure()
86 Utilities.isRtl(getResources()) ? mDragHandleWidth : getPaddingStart(), in setLoadingBounds()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DPreviewPager.java209 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/
DTaskThumbnailView.java387 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/
DDialtactsActivity.java437 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/
DOverlayEdgeEffect.java39 mIsRtl = Utilities.isRtl(context.getResources()); in OverlayEdgeEffect()

123