/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | SuggestionsTest.java | 37 private MockDataSetObserver mObserver; field in SuggestionsTest 44 mObserver = new MockDataSetObserver(); in setUp() 45 mSuggestions.registerDataSetObserver(mObserver); in setUp() 88 mObserver.assertNotChanged(); in testObserverNotified() 89 mObserver.assertNotInvalidated(); in testObserverNotified() 92 mObserver.assertChanged(); in testObserverNotified() 93 mObserver.assertNotInvalidated(); in testObserverNotified()
|
/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 | 66 private ContentObserver mObserver; field in UserBinaryDictionary 89 mObserver = new ContentObserver(null) { in UserBinaryDictionary() 113 cres.registerContentObserver(Words.CONTENT_URI, true, mObserver); in UserBinaryDictionary() 133 if (mObserver != null) { in close() 134 mContext.getContentResolver().unregisterContentObserver(mObserver); in close() 135 mObserver = null; in close()
|
D | ContactsBinaryDictionary.java | 63 private ContentObserver mObserver; field in ContactsBinaryDictionary 84 if (mObserver != null) return; in registerObserver() 86 cres.registerContentObserver(Contacts.CONTENT_URI, true, mObserver = in registerObserver() 101 if (mObserver != null) { in close() 102 mContext.getContentResolver().unregisterContentObserver(mObserver); in close() 103 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() 277 DataSetObserver mObserver = new DataSetObserver() { field in BookmarkExpandableView.BookmarkAccountAdapter
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | ContactLoader.java | 90 private ForceLoadContentObserver mObserver; field in ContactLoader 841 if (mObserver == null) { in deliverResult() 842 mObserver = new ForceLoadContentObserver(); in deliverResult() 845 mLookupUri, true, mObserver); in deliverResult() 888 if (mObserver != null) { in unregisterObserver() 889 getContext().getContentResolver().unregisterContentObserver(mObserver); in unregisterObserver() 890 mObserver = null; in unregisterObserver()
|
/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/Dialer/src/com/android/dialer/list/ |
D | PhoneFavoriteMergedAdapter.java | 58 private final DataSetObserver mObserver; field in PhoneFavoriteMergedAdapter 75 mObserver = new CustomDataSetObserver(); in PhoneFavoriteMergedAdapter() 76 mContactTileAdapter.registerDataSetObserver(mObserver); in PhoneFavoriteMergedAdapter() 77 mContactEntryListAdapter.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/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/Email/src/com/android/email/activity/ |
D | MessageOrderManager.java | 61 private final ContentObserver mObserver; field in MessageOrderManager 139 mObserver = new ContentObserver(getHandlerForContentObserver()) { in MessageOrderManager() 377 mCursor.registerContentObserver(mObserver); in onCursorOpenDone()
|
/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()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
D | StatePanelTrack.java | 61 private DataSetObserver mObserver = new DataSetObserver() { field in StatePanelTrack 130 mAdapter.registerDataSetObserver(mObserver); in setAdapter()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | SimpleDayPickerFragment.java | 146 protected DataSetObserver mObserver = new DataSetObserver() { field in SimpleDayPickerFragment 209 mAdapter.registerDataSetObserver(mObserver); in setUpAdapter()
|