Home
last modified time | relevance | path

Searched refs:mContentObserver (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/content/
DContentQueryMap.java45 private ContentObserver mContentObserver; field in ContentQueryMap
91 mCursor.unregisterContentObserver(mContentObserver); in setKeepUpdated()
92 mContentObserver = null; in setKeepUpdated()
97 if (mContentObserver == null) { in setKeepUpdated()
98 mContentObserver = new ContentObserver(mHandlerForUpdateNotifications) { in setKeepUpdated()
112 mCursor.registerContentObserver(mContentObserver); in setKeepUpdated()
169 if (mContentObserver != null) { in close()
170 mCursor.unregisterContentObserver(mContentObserver); in close()
171 mContentObserver = null; in close()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/
DHapticFeedbackController.java24 private final ContentObserver mContentObserver; field in HapticFeedbackController
32 mContentObserver = new ContentObserver(null) { in HapticFeedbackController()
49 mContext.getContentResolver().registerContentObserver(uri, false, mContentObserver); in start()
57 mContext.getContentResolver().unregisterContentObserver(mContentObserver); in stop()
/frameworks/base/core/java/android/database/
DContentObserver.java221 private ContentObserver mContentObserver; field in ContentObserver.Transport
224 mContentObserver = contentObserver; in Transport()
229 ContentObserver contentObserver = mContentObserver; in onChange()
236 mContentObserver = null; in releaseContentObserver()
/frameworks/base/services/core/java/com/android/server/vr/
DSettingsObserver.java42 private final ContentObserver mContentObserver; field in SettingsObserver
84 mContentObserver = new ContentObserver(handler) { in SettingsObserver()
94 resolver.registerContentObserver(settingUri, false, mContentObserver, in SettingsObserver()
/frameworks/base/core/java/android/widget/
DCursorTreeAdapter.java405 private MyContentObserver mContentObserver; field in CursorTreeAdapter.MyCursorHelper
413 mContentObserver = new MyContentObserver(); in MyCursorHelper()
416 cursor.registerContentObserver(mContentObserver); in MyCursorHelper()
459 cursor.registerContentObserver(mContentObserver); in changeCursor()
478 mCursor.unregisterContentObserver(mContentObserver); in deactivate()
/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightService.java124 Secure.getUriFor(Secure.TWILIGHT_MODE), false, mContentObserver, mCurrentUser); in onBootPhase() local
125 mContentObserver.onChange(true); in onBootPhase()
133 contentResolver.unregisterContentObserver(mContentObserver); in reregisterSettingObserver()
135 mContentObserver, mCurrentUser); in reregisterSettingObserver() local
136 mContentObserver.onChange(true); in reregisterSettingObserver()
554 private final ContentObserver mContentObserver = new ContentObserver(new Handler()) { field in TwilightService.LocationHandler
/frameworks/base/core/java/android/view/accessibility/
DCaptioningManager.java57 private final ContentObserver mContentObserver; field in CaptioningManager
68 mContentObserver = new MyContentObserver(handler); in CaptioningManager()
169 mContentResolver.registerContentObserver(Secure.getUriFor(key), false, mContentObserver); in registerObserver() local
183 mContentResolver.unregisterContentObserver(mContentObserver); in removeCaptioningChangeListener()