Lines Matching refs:keyCode
110 public boolean onKeyDown(int keyCode, KeyEvent event) {
113 switch (keyCode) {
125 handled = mDigits.onKeyDown(keyCode, event);
126 handled &= mLetters.onKeyDown(keyCode, event);
130 handled = mLetters.onKeyDown(keyCode, event);
138 mLetters.onKeyDown(keyCode, event);
141 handled = mDigits.onKeyDown(keyCode, event);
145 handled = mDigits.onKeyDown(keyCode, event);
149 handled = mLetters.onKeyDown(keyCode, event);
159 handled = mLetters.onKeyDown(keyCode, event);
163 if (KeyEvent.isModifierKey(keyCode)) {
164 mDigits.onKeyDown(keyCode, event);
175 if (isPrint || keyCode == KeyEvent.KEYCODE_SPACE
176 || keyCode == KeyEvent.KEYCODE_TAB) {
179 handled &= mDigits.onKeyDown(keyCode, event);
188 handled = mDigits.onKeyDown(keyCode, event);
193 handled = mLetters.onKeyDown(keyCode, event);
199 return super.onKeyDown(keyCode, event);
206 public boolean onKeyUp(int keyCode, KeyEvent event) {
207 boolean a = mLetters.onKeyUp(keyCode, event);
208 boolean b = mDigits.onKeyUp(keyCode, event);