Lines Matching refs:keyCode
77 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) {
80 if (keyCode == KeyEvent.KEYCODE_DPAD_LEFT ||
81 keyCode == KeyEvent.KEYCODE_DPAD_RIGHT) {
82 boolean eat = mHandler.eatHorizontalMove(keyCode == KeyEvent.KEYCODE_DPAD_LEFT);
87 if (action == KeyEvent.ACTION_MULTIPLE && keyCode == KeyEvent.KEYCODE_UNKNOWN) {
91 //Calculator.log("KEY " + keyCode + "; " + action);
100 if (keyCode != KeyEvent.KEYCODE_DPAD_CENTER &&
101 keyCode != KeyEvent.KEYCODE_DPAD_UP &&
102 keyCode != KeyEvent.KEYCODE_DPAD_DOWN &&
103 keyCode != KeyEvent.KEYCODE_ENTER) {
119 switch (keyCode) {