Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/
DDevelopmentSettings.java229 private boolean mLastEnabledState; field in DevelopmentSettings
582 mLastEnabledState = Settings.Global.getInt(cr, in onResume()
584 mSwitchBar.setChecked(mLastEnabledState); in onResume()
585 setPrefsEnabledState(mLastEnabledState); in onResume()
587 if (mHaveDebugSettings && !mLastEnabledState) { in onResume()
594 mLastEnabledState = true; in onResume()
595 mSwitchBar.setChecked(mLastEnabledState); in onResume()
596 setPrefsEnabledState(mLastEnabledState); in onResume()
1720 if (isChecked != mLastEnabledState) { in onSwitchChanged()
1736 mLastEnabledState = isChecked; in onSwitchChanged()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DDevelopmentFragment.java171 private boolean mLastEnabledState; field in DevelopmentFragment
512 mLastEnabledState = Settings.Global.getInt(mContentResolver, in onResume()
514 mEnableDeveloper.setChecked(mLastEnabledState); in onResume()
515 setPrefsEnabledState(mLastEnabledState); in onResume()
517 if (mHaveDebugSettings && !mLastEnabledState) { in onResume()
524 mLastEnabledState = true; in onResume()
525 mEnableDeveloper.setChecked(mLastEnabledState); in onResume()
526 setPrefsEnabledState(mLastEnabledState); in onResume()
1490 mLastEnabledState = true; in onEnableDevelopmentConfirm()
1537 mLastEnabledState = false; in onPreferenceTreeClick()