Searched refs:mXTileCount (Results 1 – 2 of 2) sorted by relevance
42 protected static int mXTileCount; field in TileView86 for (int x = 0; x < mXTileCount; x++) { in clearTiles()111 for (int x = 0; x < mXTileCount; x += 1) { in onDraw()147 mXTileCount = (int) Math.floor(w / mTileSize); in onSizeChanged()150 mXOffset = ((w - (mTileSize * mXTileCount)) / 2); in onSizeChanged()153 mTileGrid = new int[mXTileCount][mYTileCount]; in onSizeChanged()
383 int newX = 1 + RNG.nextInt(mXTileCount - 2); in addRandomApple()430 for (int x = 0; x < mXTileCount; x++) { in updateWalls()436 setTile(GREEN_STAR, mXTileCount - 1, y); in updateWalls()484 if ((newHead.x < 1) || (newHead.y < 1) || (newHead.x > mXTileCount - 2) in updateSnake()