Searched refs:setKeepScreenOn (Results 1 – 4 of 4) sorted by relevance
63 setKeepScreenOn(menu.findItem(R.id.action_keep_screen_on).isChecked()); in onCreateOptionsMenu()72 setKeepScreenOn(checked); in onOptionsItemSelected()79 private void setKeepScreenOn(boolean keepScreenOn) { in setKeepScreenOn() method in MainActivity
108 setKeepScreenOn(menu.findItem(R.id.action_keep_screen_on).isChecked()); in onCreateOptionsMenu()121 setKeepScreenOn(checked); in onOptionsItemSelected()128 private void setKeepScreenOn(boolean keepScreenOn) { in setKeepScreenOn() method in MainActivity
135 setKeepScreenOn(!paused); in setGamePaused()
150 setKeepScreenOn(!paused); in setPlayPaused()