Lines Matching refs:keyCode
105 public boolean onKeyDown(int keyCode, KeyEvent event) {
108 switch (keyCode) {
120 handled = mDigits.onKeyDown(keyCode, event);
121 handled &= mLetters.onKeyDown(keyCode, event);
125 handled = mLetters.onKeyDown(keyCode, event);
133 mLetters.onKeyDown(keyCode, event);
136 handled = mDigits.onKeyDown(keyCode, event);
140 handled = mDigits.onKeyDown(keyCode, event);
144 handled = mLetters.onKeyDown(keyCode, event);
154 handled = mLetters.onKeyDown(keyCode, event);
158 if (KeyEvent.isModifierKey(keyCode)) {
159 mDigits.onKeyDown(keyCode, event);
170 if (isPrint || keyCode == KeyEvent.KEYCODE_SPACE
171 || keyCode == KeyEvent.KEYCODE_TAB) {
174 handled &= mDigits.onKeyDown(keyCode, event);
183 handled = mDigits.onKeyDown(keyCode, event);
188 handled = mLetters.onKeyDown(keyCode, event);
194 return super.onKeyDown(keyCode, event);
201 public boolean onKeyUp(int keyCode, KeyEvent event) {
202 boolean a = mLetters.onKeyUp(keyCode, event);
203 boolean b = mDigits.onKeyUp(keyCode, event);