OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SnakeView
(Results
1 - 2
of
2
) sorted by null
/development/samples/Snake/src/com/example/android/snake/
Snake.java
48
private
SnakeView
mSnakeView;
52
* and fires up the
SnakeView
.
61
mSnakeView = (
SnakeView
) findViewById(R.id.snake);
67
mSnakeView.setMode(
SnakeView
.READY);
74
mSnakeView.setMode(
SnakeView
.PAUSE);
81
if (mSnakeView.getGameState() ==
SnakeView
.RUNNING) {
96
// we start the game by sending MOVE_UP signal to
SnakeView
108
mSnakeView.setMode(
SnakeView
.PAUSE);
SnakeView.java
33
*
SnakeView
: implementation of a simple game of Snake
35
public class
SnakeView
extends TileView {
37
private static final String TAG = "
SnakeView
";
118
SnakeView
.this.update();
119
SnakeView
.this.invalidate();
129
* Constructs a
SnakeView
based on inflation from XML
134
public
SnakeView
(Context context, AttributeSet attrs) {
139
public
SnakeView
(Context context, AttributeSet attrs, int defStyle) {
Completed in 1644 milliseconds