Searched refs:mContentObserver (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/content/ |
D | ContentQueryMap.java | 45 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/ |
D | HapticFeedbackController.java | 24 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/ |
D | ContentObserver.java | 221 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/ |
D | SettingsObserver.java | 42 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/ |
D | CursorTreeAdapter.java | 405 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/ |
D | TwilightService.java | 124 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/ |
D | CaptioningManager.java | 57 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()
|