Home
last modified time | relevance | path

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

/development/samples/Snake/src/com/example/android/snake/
DSnake.java67 mSnakeView.setMode(SnakeView.READY); in onCreate()
74 mSnakeView.setMode(SnakeView.PAUSE); in onCreate()
108 mSnakeView.setMode(SnakeView.PAUSE); in onPause()
DSnakeView.java243 setMode(PAUSE); in restoreState()
268 setMode(RUNNING); in moveSnake()
277 setMode(RUNNING); in moveSnake()
329 public void setMode(int newMode) { in setMode() method in SnakeView
486 setMode(LOSE); in updateSnake()
496 setMode(LOSE); in updateSnake()