Home
last modified time | relevance | path

Searched refs:mSettingsContentObserver (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DVibrationIntensityPreferenceController.java40 private final SettingObserver mSettingsContentObserver; field in VibrationIntensityPreferenceController
52 mSettingsContentObserver = new SettingObserver(settingKey) { in VibrationIntensityPreferenceController()
63 mSettingsContentObserver.uri, in onStart()
65 mSettingsContentObserver); in onStart()
70 mContext.getContentResolver().unregisterContentObserver(mSettingsContentObserver); in onStop()
DToggleAccessibilityServicePreferenceFragment.java60 private final SettingsContentObserver mSettingsContentObserver = field in ToggleAccessibilityServicePreferenceFragment
92 mSettingsContentObserver.register(getContentResolver()); in onResume()
99 mSettingsContentObserver.unregister(getContentResolver()); in onPause()
DAccessibilitySettings.java212 private final SettingsContentObserver mSettingsContentObserver; field in AccessibilitySettings
274 mSettingsContentObserver = new SettingsContentObserver(mHandler, shortcutFeatureKeys) { in AccessibilitySettings()
319 mSettingsContentObserver.register(getContentResolver()); in onResume()
329 mSettingsContentObserver.unregister(getContentResolver()); in onPause()
/packages/apps/Settings/src/com/android/settings/accessibility/
DVibrationIntensityPreferenceController.java40 private final SettingObserver mSettingsContentObserver; field in VibrationIntensityPreferenceController
54 mSettingsContentObserver = new SettingObserver(settingKey) { in VibrationIntensityPreferenceController()
70 mSettingsContentObserver.uri, in onStart()
72 mSettingsContentObserver); in onStart()
77 mContext.getContentResolver().unregisterContentObserver(mSettingsContentObserver); in onStop()
DToggleAccessibilityServicePreferenceFragment.java63 private final SettingsContentObserver mSettingsContentObserver = field in ToggleAccessibilityServicePreferenceFragment
95 mSettingsContentObserver.register(getContentResolver()); in onResume()
102 mSettingsContentObserver.unregister(getContentResolver()); in onPause()
DAccessibilitySettings.java213 private final SettingsContentObserver mSettingsContentObserver; field in AccessibilitySettings
275 mSettingsContentObserver = new SettingsContentObserver(mHandler, shortcutFeatureKeys) { in AccessibilitySettings()
320 mSettingsContentObserver.register(getContentResolver()); in onResume()
330 mSettingsContentObserver.unregister(getContentResolver()); in onPause()
/packages/apps/DeskClock/src/com/android/deskclock/
DScreensaver.java53 private final ContentObserver mSettingsContentObserver = field in Screensaver
125 if (mSettingsContentObserver != null) { in onAttachedToWindow()
128 getContentResolver().registerContentObserver(uri, false, mSettingsContentObserver); in onAttachedToWindow()
143 if (mSettingsContentObserver != null) { in onDetachedFromWindow()
144 getContentResolver().unregisterContentObserver(mSettingsContentObserver); in onDetachedFromWindow()
DScreensaverActivity.java76 private final ContentObserver mSettingsContentObserver = Utils.isPreL() field in ScreensaverActivity
151 if (mSettingsContentObserver != null) { in onStart()
154 getContentResolver().registerContentObserver(uri, false, mSettingsContentObserver); in onStart()
182 if (mSettingsContentObserver != null) { in onStop()
183 getContentResolver().unregisterContentObserver(mSettingsContentObserver); in onStop()