Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DDevelopmentFragment.java181 private SwitchPreference mKeepScreenOn; field in DevelopmentFragment
312 mKeepScreenOn = findAndInitSwitchPref(KEEP_SCREEN_ON); in onCreatePreferences()
507 mDisabledPrefs.add(mKeepScreenOn); in onResume()
509 mDisabledPrefs.remove(mKeepScreenOn); in onResume()
579 updateSwitchPreference(mKeepScreenOn, Settings.Global.getInt(cr, in updateAllOptions()
1561 } else if (preference == mKeepScreenOn) { in onPreferenceTreeClick()
1563 mKeepScreenOn.isChecked() ? in onPreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/
DDevelopmentSettings.java238 private RestrictedSwitchPreference mKeepScreenOn; field in DevelopmentSettings
370 mKeepScreenOn = (RestrictedSwitchPreference) findAndInitSwitchPref(KEEP_SCREEN_ON); in onCreate()
574 mKeepScreenOn.setDisabledByAdmin(admin); in onResume()
576 mDisabledPrefs.remove(mKeepScreenOn); in onResume()
578 mDisabledPrefs.add(mKeepScreenOn); in onResume()
655 updateSwitchPreference(mKeepScreenOn, Settings.Global.getInt(cr, in updateAllOptions()
1810 } else if (preference == mKeepScreenOn) { in onPreferenceTreeClick()
1813 mKeepScreenOn.isChecked() ? in onPreferenceTreeClick()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java320 private boolean mKeepScreenOn; field in CameraActivity
1317 mKeepScreenOn = enabled; in enableKeepScreenOn()
1318 if (mKeepScreenOn) { in enableKeepScreenOn()
2836 if (mKeepScreenOn) { in keepScreenOnForAWhile()
2845 mKeepScreenOn = false; in resetScreenOn()