Home
last modified time | relevance | path

Searched refs:KeyGameEvent (Results 1 – 1 of 1) sorted by relevance

/development/samples/JetBoy/src/com/example/android/jetboy/
DJetBoyView.java83 class KeyGameEvent extends GameEvent { class in JetBoyView
87 public KeyGameEvent(int keyCode, boolean up, KeyEvent msg) { in KeyGameEvent() method in JetBoyView.KeyGameEvent
697 if (event instanceof KeyGameEvent) { in updateGameState()
699 mKeyContext = processKeyEvent((KeyGameEvent)event, mKeyContext); in updateGameState()
748 protected Object processKeyEvent(KeyGameEvent event, Object context) { in processKeyEvent()
1119 mEventQueue.add(new KeyGameEvent(keyCode, false, msg)); in doKeyDown()
1129 mEventQueue.add(new KeyGameEvent(keyCode, true, msg)); in doKeyUp()