Home
last modified time | relevance | path

Searched refs:sendDownAndUpKeyEvents (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DSystemActionPerformer.java280 sendDownAndUpKeyEvents(KeyEvent.KEYCODE_BACK, InputDevice.SOURCE_KEYBOARD); in performSystemAction()
284 sendDownAndUpKeyEvents(KeyEvent.KEYCODE_HOME, InputDevice.SOURCE_KEYBOARD); in performSystemAction()
307 sendDownAndUpKeyEvents(KeyEvent.KEYCODE_HEADSETHOOK, in performSystemAction()
312 sendDownAndUpKeyEvents(KeyEvent.KEYCODE_DPAD_UP, in performSystemAction()
316 sendDownAndUpKeyEvents(KeyEvent.KEYCODE_DPAD_DOWN, in performSystemAction()
320 sendDownAndUpKeyEvents(KeyEvent.KEYCODE_DPAD_LEFT, in performSystemAction()
324 sendDownAndUpKeyEvents(KeyEvent.KEYCODE_DPAD_RIGHT, in performSystemAction()
328 sendDownAndUpKeyEvents(KeyEvent.KEYCODE_DPAD_CENTER, in performSystemAction()
340 private void sendDownAndUpKeyEvents(int keyCode, int source) { in sendDownAndUpKeyEvents() method in SystemActionPerformer
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DSystemActions.java463 sendDownAndUpKeyEvents(KeyEvent.KEYCODE_BACK); in handleBack()
467 sendDownAndUpKeyEvents(KeyEvent.KEYCODE_HOME); in handleHome()
470 private void sendDownAndUpKeyEvents(int keyCode) { in sendDownAndUpKeyEvents() method in SystemActions
528 sendDownAndUpKeyEvents(KeyEvent.KEYCODE_HEADSETHOOK); in handleHeadsetHook()
554 sendDownAndUpKeyEvents(KeyEvent.KEYCODE_DPAD_UP); in handleDpadUp()
558 sendDownAndUpKeyEvents(KeyEvent.KEYCODE_DPAD_DOWN); in handleDpadDown()
562 sendDownAndUpKeyEvents(KeyEvent.KEYCODE_DPAD_LEFT); in handleDpadLeft()
566 sendDownAndUpKeyEvents(KeyEvent.KEYCODE_DPAD_RIGHT); in handleDpadRight()
570 sendDownAndUpKeyEvents(KeyEvent.KEYCODE_DPAD_CENTER); in handleDpadCenter()