Home
last modified time | relevance | path

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

/development/samples/browseable/MidiSynth/src/com.example.android.midisynth/
DMainActivity.java63 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
/development/samples/browseable/MidiScope/src/com.example.android.midiscope/
DMainActivity.java108 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
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameActivity.java135 setKeepScreenOn(!paused); in setGamePaused()
DVideoPlayerActivity.java150 setKeepScreenOn(!paused); in setPlayPaused()