/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMnsObexClient.java | 62 private BluetoothMapContentObserver mObserver; field in BluetoothMnsObexClient 85 mObserver = new BluetoothMapContentObserver(mContext); in BluetoothMnsObexClient() 86 mObserver.init(); in BluetoothMnsObexClient() 94 return mObserver; in getContentObserver() 175 mObserver.unregisterObserver(); in shutdown() 178 if (mObserver != null) { in shutdown() 179 mObserver.deinit(); in shutdown() 180 mObserver = null; in shutdown() 198 mObserver.unregisterObserver(); in handleRegistration() 207 mObserver.registerObserver(this, masId); in handleRegistration()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
D | ContactLoader.java | 34 ForceLoadContentObserver mObserver; field in ContactLoader 145 if (mObserver == null) { in deliverResult() 146 mObserver = new ForceLoadContentObserver(); in deliverResult() 148 getContext().getContentResolver().registerContentObserver(mLookupUri, true, mObserver); in deliverResult() 170 if (mObserver != null) { in stopLoading() 171 getContext().getContentResolver().unregisterContentObserver(mObserver); in stopLoading()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | UserBinaryDictionary.java | 74 private ContentObserver mObserver; field in UserBinaryDictionary 98 mObserver = new ContentObserver(null) { in UserBinaryDictionary() 114 cres.registerContentObserver(Words.CONTENT_URI, true, mObserver); in UserBinaryDictionary() 121 if (mObserver != null) { in close() 122 mContext.getContentResolver().unregisterContentObserver(mObserver); in close() 123 mObserver = null; in close()
|
D | ContactsBinaryDictionary.java | 66 private ContentObserver mObserver; field in ContactsBinaryDictionary 88 if (mObserver != null) return; in registerObserver() 90 cres.registerContentObserver(Contacts.CONTENT_URI, true, mObserver = in registerObserver() 105 if (mObserver != null) { in close() 106 mContext.getContentResolver().unregisterContentObserver(mObserver); in close() 107 mObserver = null; in close()
|
/packages/apps/Calculator/src/com/android/calculator2/ |
D | History.java | 31 BaseAdapter mObserver; field in History 50 mObserver = observer; in setObserver() 54 if (mObserver != null) { in notifyChanged() 55 mObserver.notifyDataSetChanged(); in notifyChanged()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadService.java | 84 private DownloadManagerContentObserver mObserver; field in DownloadService 171 mObserver = new DownloadManagerContentObserver(); in onCreate() 173 true, mObserver); in onCreate() 189 getContentResolver().unregisterContentObserver(mObserver); in onDestroy() 271 getContentResolver().unregisterContentObserver(mObserver);
|
/packages/apps/Browser/src/com/android/browser/view/ |
D | BasePieView.java | 33 private DataSetObserver mObserver; field in BasePieView 57 mAdapter.unregisterDataSetObserver(mObserver); in setAdapter() 62 mObserver = new DataSetObserver() { in setAdapter() 73 mAdapter.registerDataSetObserver(mObserver); in setAdapter()
|
D | BookmarkExpandableView.java | 126 existing.unregisterDataSetObserver(mAdapter.mObserver); in addAccount() 130 adapter.registerDataSetObserver(mAdapter.mObserver); in addAccount() 135 adapter.registerDataSetObserver(mAdapter.mObserver); in addAccount() 280 DataSetObserver mObserver = new DataSetObserver() { field in BookmarkExpandableView.BookmarkAccountAdapter
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | MergedAdapter.java | 38 private final DataSetObserver mObserver; field in MergedAdapter 58 mObserver = new DataSetObserver() { in MergedAdapter() 69 adapter.unregisterDataSetObserver(mObserver); in setAdapters() 76 adapter.registerDataSetObserver(mObserver); in setAdapters()
|
/packages/experimental/BugReportSender/src/com/android/bugreportsender/ |
D | BugReportListActivity.java | 62 private FileObserver mObserver = null; field in BugReportListActivity 72 mObserver = new FileObserver(REPORT_DIR.getPath(), flags) { in onCreate() 95 mObserver.startWatching(); in onStart() 102 mObserver.stopWatching(); in onStop()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppTransferActivity.java | 113 private BluetoothTransferContentObserver mObserver; field in BluetoothOppTransferActivity 152 mObserver = new BluetoothTransferContentObserver(); in onCreate() 154 mObserver); in onCreate() 172 if (mObserver != null) { in onDestroy() 173 getContentResolver().unregisterContentObserver(mObserver); in onDestroy()
|
D | BluetoothOppService.java | 91 private BluetoothShareContentObserver mObserver; field in BluetoothOppService 154 mObserver = new BluetoothShareContentObserver(); in onCreate() 155 getContentResolver().registerContentObserver(BluetoothShare.CONTENT_URI, true, mObserver); in onCreate() 333 getContentResolver().unregisterContentObserver(mObserver); in onDestroy()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | ContactLoader.java | 91 private ForceLoadContentObserver mObserver; field in ContactLoader 858 if (mObserver == null) { in deliverResult() 859 mObserver = new ForceLoadContentObserver(); in deliverResult() 862 mLookupUri, true, mObserver); in deliverResult() 905 if (mObserver != null) { in unregisterObserver() 906 getContext().getContentResolver().unregisterContentObserver(mObserver); in unregisterObserver() 907 mObserver = null; in unregisterObserver()
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
D | PhoneFavoriteMergedAdapter.java | 65 private final DataSetObserver mObserver; field in PhoneFavoriteMergedAdapter 114 mObserver = new CustomDataSetObserver(); in PhoneFavoriteMergedAdapter() 115 mCallLogAdapter.registerDataSetObserver(mObserver); in PhoneFavoriteMergedAdapter() 116 mContactTileAdapter.registerDataSetObserver(mObserver); in PhoneFavoriteMergedAdapter()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | AndroidWordLevelSpellCheckerSession.java | 54 private final ContentObserver mObserver; field in AndroidWordLevelSpellCheckerSession 103 mObserver = new ContentObserver(null) { in AndroidWordLevelSpellCheckerSession() 109 cres.registerContentObserver(Words.CONTENT_URI, true, mObserver); in AndroidWordLevelSpellCheckerSession() 123 cres.unregisterContentObserver(mObserver); in onClose()
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
D | SelectVisibleCalendarsActivity.java | 43 private final ContentObserver mObserver = new ContentObserver(new Handler()) { field in SelectVisibleCalendarsActivity 79 true, mObserver); in onResume() 85 getContentResolver().unregisterContentObserver(mObserver); in onPause()
|
/packages/apps/UnifiedEmail/src/com/android/mail/content/ |
D | ObjectCursorLoader.java | 36 final ForceLoadContentObserver mObserver; field in ObjectCursorLoader 67 mObserver = new ForceLoadContentObserver(); in ObjectCursorLoader() 84 inner.registerContentObserver(mObserver); in loadInBackground()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | DirectoryListLoader.java | 73 private final ContentObserver mObserver = new ContentObserver(new Handler()) { field in DirectoryListLoader 104 registerContentObserver(Directory.CONTENT_URI, false, mObserver); in onStartLoading() 110 getContext().getContentResolver().unregisterContentObserver(mObserver); in onStopLoading()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | EventInfoActivity.java | 53 private final ContentObserver mObserver = new ContentObserver(new Handler()) { field in EventInfoActivity 186 true, mObserver); in onResume() 192 getContentResolver().unregisterContentObserver(mObserver); in onPause()
|
D | SearchActivity.java | 83 private final ContentObserver mObserver = new ContentObserver(new Handler()) { field in SearchActivity 332 mContentResolver.registerContentObserver(Events.CONTENT_URI, true, mObserver); in onResume() 342 mContentResolver.unregisterContentObserver(mObserver); in onPause()
|
/packages/apps/Gallery2/src/com/android/photos/shims/ |
D | MediaItemsLoader.java | 56 private ContentListener mObserver = new ContentListener() { field in MediaItemsLoader 80 mMediaSet.addContentListener(mObserver); in onStartLoading() 98 mMediaSet.removeContentListener(mObserver); in onStopLoading()
|
D | MediaSetLoader.java | 53 private ContentListener mObserver = new ContentListener() { field in MediaSetLoader 78 mMediaSet.addContentListener(mObserver); in onStartLoading() 96 mMediaSet.removeContentListener(mObserver); in onStopLoading()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | VeiledAddressMatcher.java | 81 private final AccountObserver mObserver = new AccountObserver() { field in VeiledAddressMatcher 132 mObserver.initialize(controller); in initialize()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | GalleryThumbnailView.java | 59 private final AdapterDataSetObserver mObserver = new AdapterDataSetObserver(); field in GalleryThumbnailView 645 mAdapter.unregisterDataSetObserver(mObserver); in setAdapter() 654 adapter.registerDataSetObserver(mObserver); in setAdapter()
|
/packages/apps/Music/src/com/android/music/ |
D | SortCursor.java | 40 private DataSetObserver mObserver = new DataSetObserver() { field in SortCursor 65 mCursors[i].registerDataSetObserver(mObserver); in SortCursor()
|