HomeSort by relevance Sort by last modified time
    Searched refs:mYTileCount (Results 1 - 2 of 2) sorted by null

  /development/samples/Snake/src/com/example/android/snake/
TileView.java 43 protected static int mYTileCount;
87 for (int y = 0; y < mYTileCount; y++) {
112 for (int y = 0; y < mYTileCount; y += 1) {
148 mYTileCount = (int) Math.floor(h / mTileSize);
151 mYOffset = ((h - (mTileSize * mYTileCount)) / 2);
153 mTileGrid = new int[mXTileCount][mYTileCount];
SnakeView.java 384 int newY = 1 + RNG.nextInt(mYTileCount - 2);
432 setTile(GREEN_STAR, x, mYTileCount - 1);
434 for (int y = 1; y < mYTileCount - 1; y++) {
485 || (newHead.y > mYTileCount - 2)) {

Completed in 48 milliseconds