Searched refs:mDirection (Results 1 – 1 of 1) sorted by relevance
52 private int mDirection = NORTH; field in SnakeView210 map.putInt("mDirection", Integer.valueOf(mDirection)); in saveState()246 mDirection = icicle.getInt("mDirection"); in restoreState()282 if (mDirection != SOUTH) { in moveSnake()289 if (mDirection != NORTH) { in moveSnake()296 if (mDirection != EAST) { in moveSnake()303 if (mDirection != WEST) { in moveSnake()461 mDirection = mNextDirection; in updateSnake()463 switch (mDirection) { in updateSnake()