Searched refs:mContentObserver (Results 1 – 4 of 4) sorted by relevance
117 private ContentObserver mContentObserver; field in AggregationSuggestionEngine160 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()
45 private ContentObserver mContentObserver; field in ContactsContentObserver65 mContentObserver = new ContentObserver(null /* handler */) { in registerObserver()73 contentResolver.registerContentObserver(Contacts.CONTENT_URI, true, mContentObserver); in registerObserver()134 mContext.getContentResolver().unregisterContentObserver(mContentObserver); in unregister()
62 private ContentObserver mContentObserver; field in LocalPhotoSource70 mContentObserver = new ContentObserver(new Handler()) { in LocalPhotoSource()78 .registerContentObserver(CONTENT_URI, true, mContentObserver); in LocalPhotoSource()83 mContext.getContentResolver().unregisterContentObserver(mContentObserver); in close()
147 mContentObserver); in updateUi() local285 mContext.getContentResolver().unregisterContentObserver(mContentObserver); in onDestroy()474 private final ContentObserver mContentObserver = new ContentObserver(new Handler()) { field in FmRecordActivity