Home
last modified time | relevance | path

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

/development/samples/JetBoy/src/com/example/android/jetboy/
DJetBoy.java22 import com.example.android.jetboy.JetBoyView.JetBoyThread;
35 private JetBoyThread mJetBoyThread;
92 if (mJetBoyThread.getGameState() == JetBoyThread.STATE_START) { in onClick()
97 mJetBoyThread.setGameState(JetBoyThread.STATE_PLAY); in onClick()
101 else if (mJetBoyThread.getGameState() == JetBoyThread.STATE_PLAY) { in onClick()
105 mJetBoyThread.setGameState(JetBoyThread.STATE_RUNNING); in onClick()
121 mJetBoyThread.setGameState(JetBoyThread.STATE_PLAY); in onClick()
DJetBoyView.java125 class JetBoyThread extends Thread implements OnJetEventListener { class in JetBoyView
286 public JetBoyThread(SurfaceHolder surfaceHolder, Context context, Handler handler) { in JetBoyThread() method in JetBoyView.JetBoyThread
1293 private JetBoyThread thread;
1318 thread = new JetBoyThread(holder, context, new Handler() { in JetBoyView()
1384 public JetBoyThread getThread() { in getThread()