/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | KeyboardUtils.java | 29 public static boolean isKeycodeDirectionStart(int keyCode, boolean isRtl) { argument 30 return (!isRtl && keyCode == KeyEvent.KEYCODE_DPAD_LEFT) || 31 (isRtl && keyCode == KeyEvent.KEYCODE_DPAD_RIGHT); 38 public static boolean isKeycodeDirectionEnd(int keyCode, boolean isRtl) { argument 39 return (isRtl && keyCode == KeyEvent.KEYCODE_DPAD_LEFT) || 40 (!isRtl && keyCode == KeyEvent.KEYCODE_DPAD_RIGHT);
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
H A D | ViewPagerTabStrip.java | 81 final boolean isRtl = isRtl(); 83 isRtl ? mIndexForSelection > 0 : (mIndexForSelection < (getChildCount() - 1)); 86 View nextTitle = getChildAt(mIndexForSelection + (isRtl ? -1 : 1)); 106 private boolean isRtl() { method in class:ViewPagerTabStrip
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | ViewPagerTabStrip.java | 78 final boolean isRtl = isRtl(); 79 final boolean hasNextTab = isRtl ? mIndexForSelection > 0 83 View nextTitle = getChildAt(mIndexForSelection + (isRtl ? -1 : 1)); 99 private boolean isRtl() { method in class:ViewPagerTabStrip
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
H A D | ViewUtil.java | 70 public static boolean isRtl() { method in class:ViewUtil
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
H A D | WallpaperUtils.java | 154 public static boolean isRtl(Resources res) { method in class:WallpaperUtils
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | FocusHelper.java | 112 final boolean isLayoutRtl = Utilities.isRtl(v.getResources()); 262 pageCount, Utilities.isRtl(v.getResources())); 375 pageCount, Utilities.isRtl(v.getResources())); 376 boolean isRtl = Utilities.isRtl(v.getResources()); 398 newPageIndex, pageCount, Utilities.isRtl(v.getResources())); 401 isRtl); 404 isRtl); 412 newIcon = getFirstFocusableIconInReadingOrder(workspaceLayout, isRtl); 415 newIcon = getFirstFocusableIconInReadingOrder(hotseatLayout, isRtl); 519 handlePreviousPageLastItem(Workspace workspace, CellLayout hotseatLayout, int pageIndex, boolean isRtl) argument 534 handleNextPageFirstItem(Workspace workspace, CellLayout hotseatLayout, int pageIndex, boolean isRtl) argument 549 getFirstFocusableIconInReadingOrder(CellLayout cellLayout, boolean isRtl) argument 563 getFirstFocusableIconInReverseReadingOrder(CellLayout cellLayout, boolean isRtl) argument [all...] |
H A D | Utilities.java | 451 public static boolean isRtl(Resources res) { method in class:Utilities
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | ButtonDropTarget.java | 120 private boolean isRtl() { method in class:ButtonDropTarget 137 if (isRtl()) {
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | FocusLogic.java | 86 int pageCount, boolean isRtl) { 100 newIndex = handleDpadHorizontal(iconIdx, cntX, cntY, map, -1 /*increment*/, isRtl); 101 if (!isRtl && newIndex == NOOP && pageIndex > 0) { 103 } else if (isRtl && newIndex == NOOP && pageIndex < pageCount - 1) { 108 newIndex = handleDpadHorizontal(iconIdx, cntX, cntY, map, 1 /*increment*/, isRtl); 109 if (!isRtl && newIndex == NOOP && pageIndex < pageCount - 1) { 111 } else if (isRtl && newIndex == NOOP && pageIndex > 0) { 327 int[][] matrix, int increment, boolean isRtl) { 391 if (isRtl) { 85 handleKeyEvent(int keyCode, int [][] map, int iconIdx, int pageIndex, int pageCount, boolean isRtl) argument 326 handleDpadHorizontal(int iconIdx, int cntX, int cntY, int[][] matrix, int increment, boolean isRtl) argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | ConversationItemView.java | 299 boolean isRtl) { 321 int xStart = (isRtl) ? coordinates.snippetX + width : right - width; 329 final int actualStart = isRtl ? xStart - measurements[index] : xStart; 336 xStart += (isRtl) ? -usedWidth : usedWidth; 965 final boolean isRtl = ViewUtils.isViewRtl(this); 970 mInfoIconX = (isRtl) ? mCoordinates.infoIconX : 976 mDateX = (isRtl) ? mCoordinates.dateX : mCoordinates.dateXRight - mDateWidth; 983 mDateX = (isRtl) ? mCoordinates.infoIconX : mCoordinates.infoIconXRight - mDateWidth; 990 mPaperclipX = (isRtl) ? mDateX + mDateWidth + mCoordinates.datePaddingStart : 1001 dateAttachmentStart = (isRtl) 298 drawFolders(Canvas canvas, ConversationItemViewCoordinates coordinates, boolean isRtl) argument 1509 isTouchInStarTargetX(boolean isRtl, float x) argument [all...] |