Home
last modified time | relevance | path

Searched refs:handleKeyEvent (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DFocusLogicTest.java70 int i = FocusLogic.handleKeyEvent(KeyEvent.KEYCODE_DPAD_RIGHT, map, 100, 1, 2, false); in testMoveFromBottomRightToBottomLeft()
82 int i = FocusLogic.handleKeyEvent(KeyEvent.KEYCODE_DPAD_RIGHT, map, 100, 1, 2, false); in testMoveFromBottomRightToTopLeft()
95 int i = FocusLogic.handleKeyEvent(KeyEvent.KEYCODE_DPAD_DOWN, map, 0, 1, 1, true); in testMoveIntoHotseatWithEqualHotseatAndWorkspaceColumns()
106 i = FocusLogic.handleKeyEvent(KeyEvent.KEYCODE_DPAD_DOWN, map, 0, 1, 1, true); in testMoveIntoHotseatWithEqualHotseatAndWorkspaceColumns()
121 int i = FocusLogic.handleKeyEvent(KeyEvent.KEYCODE_DPAD_DOWN, map, 0, 1, 1, true); in testMoveIntoHotseatWithExtraColumnForAllApps()
133 i = FocusLogic.handleKeyEvent(KeyEvent.KEYCODE_DPAD_DOWN, map, 0, 1, 1, true); in testMoveIntoHotseatWithExtraColumnForAllApps()
145 i = FocusLogic.handleKeyEvent(KeyEvent.KEYCODE_DPAD_UP, map, 1, 1, 1, true); in testMoveIntoHotseatWithExtraColumnForAllApps()
156 i = FocusLogic.handleKeyEvent(KeyEvent.KEYCODE_DPAD_RIGHT, map, 0, 1, 1, true); in testMoveIntoHotseatWithExtraColumnForAllApps()
167 i = FocusLogic.handleKeyEvent(KeyEvent.KEYCODE_DPAD_LEFT, map, 1, 1, 1, true); in testMoveIntoHotseatWithExtraColumnForAllApps()
178 i = FocusLogic.handleKeyEvent(KeyEvent.KEYCODE_DPAD_DOWN, map, 0, 1, 1, true); in testMoveIntoHotseatWithExtraColumnForAllApps()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DFocusHelper.java92 final boolean handleKeyEvent = (action != KeyEvent.ACTION_UP); in handleAppsCustomizeTabKeyEvent()
96 if (handleKeyEvent) { in handleAppsCustomizeTabKeyEvent()
105 if (handleKeyEvent) { in handleAppsCustomizeTabKeyEvent()
150 final boolean handleKeyEvent = (action != KeyEvent.ACTION_UP); in handlePagedViewGridLayoutWidgetKeyEvent()
158 if (handleKeyEvent) { in handlePagedViewGridLayoutWidgetKeyEvent()
175 if (handleKeyEvent) { in handlePagedViewGridLayoutWidgetKeyEvent()
192 if (handleKeyEvent) { in handlePagedViewGridLayoutWidgetKeyEvent()
205 if (handleKeyEvent) { in handlePagedViewGridLayoutWidgetKeyEvent()
217 if (handleKeyEvent) { in handlePagedViewGridLayoutWidgetKeyEvent()
225 if (handleKeyEvent) { in handlePagedViewGridLayoutWidgetKeyEvent()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DFocusHelper.java113 int newIconIndex = FocusLogic.handleKeyEvent(keyCode, matrix, iconIndex, pageIndex, in onKey()
268 int newIconIndex = FocusLogic.handleKeyEvent(keyCode, matrix, iconIndex, pageIndex, in handleHotseatButtonKeyEvent()
391 int newIconIndex = FocusLogic.handleKeyEvent(keyCode, matrix, iconIndex, pageIndex, in handleIconKeyEvent()
414 newIconIndex = FocusLogic.handleKeyEvent(keyCode, matrix, FocusLogic.PIVOT, in handleIconKeyEvent()
453 newIconIndex = FocusLogic.handleKeyEvent(keyCode, matrix, FocusLogic.PIVOT, in handleIconKeyEvent()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFocusLogic.java83 public static int handleKeyEvent(int keyCode, int [][] map, int iconIdx, int pageIndex, in handleKeyEvent() method in FocusLogic