Home
last modified time | relevance | path

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

/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
DGameActivity.java46 private GameView mGameView; field in GameActivity
73 mGameView = (GameView) findViewById(R.id.game_view); in onCreate()
77 mGameView.setFocusable(true); in onCreate()
78 mGameView.setFocusableInTouchMode(true); in onCreate()
79 mGameView.setCellListener(new MyCellListener()); in onCreate()
88 State player = mGameView.getCurrentPlayer(); in onResume()
99 setWinState(mGameView.getWinner()); in onResume()
105 mGameView.setCurrentPlayer(player); in selectTurn()
110 mGameView.setEnabled(true); in selectTurn()
114 mGameView.setEnabled(false); in selectTurn()
[all …]