Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/editor/
DAggregationSuggestionEngine.java118 private ContentObserver mContentObserver; field in AggregationSuggestionEngine
171 if (mContentObserver != null) { in quit()
172 mContext.getContentResolver().unregisterContentObserver(mContentObserver); in quit()
173 mContentObserver = null; in quit()
187 if (mContentObserver == null) { in onNameChange()
188 mContentObserver = new SuggestionContentObserver(getHandler()); in onNameChange()
190 Contacts.CONTENT_URI, true, mContentObserver); in onNameChange()
192 } else if (mContentObserver != null) { in onNameChange()
193 mContext.getContentResolver().unregisterContentObserver(mContentObserver); in onNameChange()
194 mContentObserver = null; in onNameChange()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DContactsContentObserver.java45 private ContentObserver mContentObserver; field in ContactsContentObserver
65 mContentObserver = new ContentObserver(null /* handler */) { in registerObserver()
73 contentResolver.registerContentObserver(Contacts.CONTENT_URI, true, mContentObserver); in registerObserver()
134 mContext.getContentResolver().unregisterContentObserver(mContentObserver); in unregister()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DLocalPhotoSource.java62 private ContentObserver mContentObserver; field in LocalPhotoSource
70 mContentObserver = new ContentObserver(new Handler()) { in LocalPhotoSource()
78 .registerContentObserver(CONTENT_URI, true, mContentObserver); in LocalPhotoSource()
83 mContext.getContentResolver().unregisterContentObserver(mContentObserver); in close()
/packages/apps/TV/src/com/android/tv/recommendation/
DRecommendationDataManager.java77 private final ContentObserver mContentObserver; field in RecommendationDataManager
200 mContentObserver = new RecommendationContentObserver(mHandler); in RecommendationDataManager()
296 TvContract.WatchedPrograms.CONTENT_URI, true, mContentObserver); in onStart()
313 mContext.getContentResolver().unregisterContentObserver(mContentObserver); in onStop()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrDataManagerImpl.java69 private final ContentObserver mContentObserver = new ContentObserver(mMainThreadHandler) { field in DvrDataManagerImpl
142 cr.registerContentObserver(TvContract.RecordedPrograms.CONTENT_URI, true, mContentObserver); in start()
147 cr.unregisterContentObserver(mContentObserver); in stop()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DPhysicalKeyboardFragment.java247 mContentObserver, in registerShowVirtualKeyboardSettingsObserver() local
253 getActivity().getContentResolver().unregisterContentObserver(mContentObserver); in unregisterShowVirtualKeyboardSettingsObserver()
273 private final ContentObserver mContentObserver = new ContentObserver(new Handler(true)) { field in PhysicalKeyboardFragment