/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/ContactsCommon/src/com/android/contacts/common/list/ |
H A D | ViewPagerTabStrip.java | 84 final boolean isRtl = isRtl(); 85 final boolean hasNextTab = isRtl ? mIndexForSelection > 0 89 View nextTitle = getChildAt(mIndexForSelection + (isRtl ? -1 : 1)); 105 private boolean isRtl() { method in class:ViewPagerTabStrip
|
/packages/apps/Dialer/src/com/android/dialer/util/ |
H A D | DialerUtils.java | 175 public static boolean isRtl() { method in class:DialerUtils
|
/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/Launcher3/src/com/android/launcher3/ |
H A D | FocusHelper.java | 109 final boolean isLayoutRtl = Utilities.isRtl(v.getResources()); 269 pageCount, Utilities.isRtl(v.getResources())); 392 pageCount, Utilities.isRtl(v.getResources())); 393 boolean isRtl = Utilities.isRtl(v.getResources()); 415 newPageIndex, pageCount, Utilities.isRtl(v.getResources())); 418 isRtl); 421 isRtl); 429 newIcon = getFirstFocusableIconInReadingOrder(workspaceLayout, isRtl); 432 newIcon = getFirstFocusableIconInReadingOrder(hotseatLayout, isRtl); 554 handlePreviousPageLastItem(Workspace workspace, CellLayout hotseatLayout, int pageIndex, boolean isRtl) argument 569 handleNextPageFirstItem(Workspace workspace, CellLayout hotseatLayout, int pageIndex, boolean isRtl) argument 584 getFirstFocusableIconInReadingOrder(CellLayout cellLayout, boolean isRtl) argument 598 getFirstFocusableIconInReverseReadingOrder(CellLayout cellLayout, boolean isRtl) argument [all...] |
H A D | Utilities.java | 718 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 | 84 int pageCount, boolean isRtl) { 98 newIndex = handleDpadHorizontal(iconIdx, cntX, cntY, map, -1 /*increment*/, isRtl); 99 if (!isRtl && newIndex == NOOP && pageIndex > 0) { 101 } else if (isRtl && newIndex == NOOP && pageIndex < pageCount - 1) { 106 newIndex = handleDpadHorizontal(iconIdx, cntX, cntY, map, 1 /*increment*/, isRtl); 107 if (!isRtl && newIndex == NOOP && pageIndex < pageCount - 1) { 109 } else if (isRtl && newIndex == NOOP && pageIndex > 0) { 321 int[][] matrix, int increment, boolean isRtl) { 385 if (isRtl) { 83 handleKeyEvent(int keyCode, int [][] map, int iconIdx, int pageIndex, int pageCount, boolean isRtl) argument 320 handleDpadHorizontal(int iconIdx, int cntX, int cntY, int[][] matrix, int increment, boolean isRtl) argument
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
H A D | InCallPresenter.java | 1718 public static boolean isRtl() { method in class:InCallPresenter
|
/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...] |