Lines Matching defs:keyEvent
35 private static final String EVENT_TYPE_KEY = "KeyEvent";
173 if (event instanceof KeyEvent) {
174 final KeyEvent keyEvent = (KeyEvent)event;
175 onKeyEvent(keyEvent, nestingLevel);
197 public void onKeyEvent(KeyEvent event, int nestingLevel) {
210 case KeyEvent.ACTION_DOWN: {
229 case KeyEvent.ACTION_UP: {
238 case KeyEvent.ACTION_MULTIPLE:
241 problem("Invalid action " + KeyEvent.actionToString(action)
591 if (event instanceof KeyEvent) {
592 final KeyEvent keyEvent = (KeyEvent)event;
593 final int deviceId = keyEvent.getDeviceId();
594 final int source = keyEvent.getSource();
595 final int keyCode = keyEvent.getKeyCode();
613 final int normalizedMetaState = KeyEvent.normalizeMetaState(metaState);