Lines Matching refs:keyEvent
43 import android.view.KeyEvent;
285 public boolean dispatchKeyEvent(@NonNull KeyEvent keyEvent) {
287 LOGGER.v("dispatchKeyEvent: %s", keyEvent);
289 final int keyCode = keyEvent.getKeyCode();
292 case KeyEvent.KEYCODE_VOLUME_UP:
293 case KeyEvent.KEYCODE_VOLUME_DOWN:
294 case KeyEvent.KEYCODE_VOLUME_MUTE:
295 case KeyEvent.KEYCODE_HEADSETHOOK:
296 case KeyEvent.KEYCODE_CAMERA:
297 case KeyEvent.KEYCODE_FOCUS:
301 if (keyEvent.getAction() == KeyEvent.ACTION_UP) {
306 if (keyEvent.getAction() == KeyEvent.ACTION_UP) {
313 return super.dispatchKeyEvent(keyEvent);