Home
last modified time | relevance | path

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

/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DFocusLogicTest.java44 assertTrue(FocusLogic.shouldConsume(KeyEvent.KEYCODE_DPAD_LEFT)); in testShouldConsume()
45 assertTrue(FocusLogic.shouldConsume(KeyEvent.KEYCODE_DPAD_RIGHT)); in testShouldConsume()
46 assertTrue(FocusLogic.shouldConsume(KeyEvent.KEYCODE_DPAD_UP)); in testShouldConsume()
47 assertTrue(FocusLogic.shouldConsume(KeyEvent.KEYCODE_DPAD_DOWN)); in testShouldConsume()
48 assertTrue(FocusLogic.shouldConsume(KeyEvent.KEYCODE_MOVE_HOME)); in testShouldConsume()
49 assertTrue(FocusLogic.shouldConsume(KeyEvent.KEYCODE_MOVE_END)); in testShouldConsume()
50 assertTrue(FocusLogic.shouldConsume(KeyEvent.KEYCODE_PAGE_UP)); in testShouldConsume()
51 assertTrue(FocusLogic.shouldConsume(KeyEvent.KEYCODE_PAGE_DOWN)); in testShouldConsume()
52 assertTrue(FocusLogic.shouldConsume(KeyEvent.KEYCODE_DEL)); in testShouldConsume()
53 assertTrue(FocusLogic.shouldConsume(KeyEvent.KEYCODE_FORWARD_DEL)); in testShouldConsume()
/packages/apps/Launcher3/src/com/android/launcher3/
DFocusHelper.java83 boolean consume = FocusLogic.shouldConsume(keyCode); in onKey()
199 boolean consume = FocusLogic.shouldConsume(keyCode); in handleHotseatButtonKeyEvent()
338 boolean consume = FocusLogic.shouldConsume(keyCode); in handleIconKeyEvent()
DAppWidgetResizeFrame.java490 if (FocusLogic.shouldConsume(keyCode)) { in onKey()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFocusLogic.java75 public static boolean shouldConsume(int keyCode) { in shouldConsume() method in FocusLogic