Lines Matching refs:keyCode
673 public boolean onKeyDown(int keyCode, KeyEvent event)
675 boolean isKeyCodeSupported = keyCode != KeyEvent.KEYCODE_BACK &&
676 keyCode != KeyEvent.KEYCODE_VOLUME_UP &&
677 keyCode != KeyEvent.KEYCODE_VOLUME_DOWN &&
678 keyCode != KeyEvent.KEYCODE_VOLUME_MUTE &&
679 keyCode != KeyEvent.KEYCODE_MENU &&
680 keyCode != KeyEvent.KEYCODE_CALL &&
681 keyCode != KeyEvent.KEYCODE_ENDCALL;
683 if (keyCode == KeyEvent.KEYCODE_HEADSETHOOK ||
684 keyCode == KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE) {
693 } else if (keyCode == KeyEvent.KEYCODE_MEDIA_PLAY) {
699 } else if (keyCode == KeyEvent.KEYCODE_MEDIA_STOP
700 || keyCode == KeyEvent.KEYCODE_MEDIA_PAUSE) {
711 return super.onKeyDown(keyCode, event);