Home
last modified time | relevance | path

Searched refs:PLAYER1 (Results 1 – 3 of 3) sorted by relevance

/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
DGameActivity.java108 if (player == State.PLAYER1) { in selectTurn()
122 if (mGameView.getCurrentPlayer() == State.PLAYER1) { in onCellSelected()
137 } else if (player == State.PLAYER1) { in onClick()
174 return player == State.PLAYER1 ? State.PLAYER2 : State.PLAYER1; in getOtherPlayer()
252 } else if (player == State.PLAYER1) { in setWinState()
DGameView.java51 PLAYER1(1), enumConstant
232 case PLAYER1: in onDraw()
/development/samples/TicTacToeMain/src/com/example/android/tictactoe/
DMainActivity.java53 startWithHuman ? State.PLAYER1.getValue() : State.PLAYER2.getValue()); in startGame()