Home
last modified time | relevance | path

Searched refs:fromInt (Results 1 – 2 of 2) sorted by relevance

/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
DGameView.java64 public static State fromInt(int i) { in fromInt() method in GameView.State
150 mData[i] = State.fromInt(rnd.nextInt(3)); in GameView()
400 mData[i] = State.fromInt(data[i]);
405 mSelectedValue = State.fromInt(b.getInt("gv_sel_val", State.EMPTY.getValue()));
406 mCurrentPlayer = State.fromInt(b.getInt("gv_curr_play", State.EMPTY.getValue()));
407 mWinner = State.fromInt(b.getInt("gv_winner", State.EMPTY.getValue()));
DGameActivity.java90 player = State.fromInt(getIntent().getIntExtra(EXTRA_START_PLAYER, 1)); in onResume()