Searched refs:mYTileCount (Results 1 – 2 of 2) sorted by relevance
43 protected static int mYTileCount; field in TileView87 for (int y = 0; y < mYTileCount; y++) { in clearTiles()112 for (int y = 0; y < mYTileCount; y += 1) { in onDraw()148 mYTileCount = (int) Math.floor(h / mTileSize); in onSizeChanged()151 mYOffset = ((h - (mTileSize * mYTileCount)) / 2); in onSizeChanged()153 mTileGrid = new int[mXTileCount][mYTileCount]; in onSizeChanged()
384 int newY = 1 + RNG.nextInt(mYTileCount - 2); in addRandomApple()432 setTile(GREEN_STAR, x, mYTileCount - 1); in updateWalls()434 for (int y = 1; y < mYTileCount - 1; y++) { in updateWalls()485 || (newHead.y > mYTileCount - 2)) { in updateSnake()