Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/editor/
DAggregationSuggestionEngine.java117 private ContentObserver mContentObserver; field in AggregationSuggestionEngine
160 if (mContentObserver != null) { in quit()
161 mContext.getContentResolver().unregisterContentObserver(mContentObserver); in quit()
162 mContentObserver = null; in quit()
176 if (mContentObserver == null) { in onNameChange()
177 mContentObserver = new SuggestionContentObserver(getHandler()); in onNameChange()
179 Contacts.CONTENT_URI, true, mContentObserver); in onNameChange()
181 } else if (mContentObserver != null) { in onNameChange()
182 mContext.getContentResolver().unregisterContentObserver(mContentObserver); in onNameChange()
183 mContentObserver = null; in onNameChange()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DLocalPhotoSource.java61 private ContentObserver mContentObserver; field in LocalPhotoSource
69 mContentObserver = new ContentObserver(new Handler()) { in LocalPhotoSource()
77 .registerContentObserver(CONTENT_URI, true, mContentObserver); in LocalPhotoSource()
81 mContext.getContentResolver().unregisterContentObserver(mContentObserver); in close()
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DDownloadList.java79 private MyContentObserver mContentObserver = new MyContentObserver(); field in DownloadList
363 mDateSortedCursor.registerContentObserver(mContentObserver); in onResume()
373 mDateSortedCursor.unregisterContentObserver(mContentObserver); in onPause()