Searched refs:mKeepScreenOn (Results 1 – 3 of 3) sorted by relevance
181 private SwitchPreference mKeepScreenOn; field in DevelopmentFragment312 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()
238 private RestrictedSwitchPreference mKeepScreenOn; field in DevelopmentSettings370 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()
320 private boolean mKeepScreenOn; field in CameraActivity1317 mKeepScreenOn = enabled; in enableKeepScreenOn()1318 if (mKeepScreenOn) { in enableKeepScreenOn()2836 if (mKeepScreenOn) { in keepScreenOnForAWhile()2845 mKeepScreenOn = false; in resetScreenOn()