Lines Matching refs:keyCode
84 public boolean onKeyDown(int keyCode, KeyEvent event) {
85 if (KeyEvent.isConfirmKey(keyCode)) {
88 } else if (keyCode == KeyEvent.KEYCODE_DEL) {
92 if (keyCode >= KeyEvent.KEYCODE_0 && keyCode <= KeyEvent.KEYCODE_9) {
93 int number = keyCode - KeyEvent.KEYCODE_0;
97 if (keyCode >= KeyEvent.KEYCODE_NUMPAD_0 && keyCode <= KeyEvent.KEYCODE_NUMPAD_9) {
98 int number = keyCode - KeyEvent.KEYCODE_NUMPAD_0;
102 return super.onKeyDown(keyCode, event);
249 public boolean onKey(View v, int keyCode, KeyEvent event) {
251 return onKeyDown(keyCode, event);