Searched refs:mObserver (Results 1 - 25 of 32) sorted by relevance

12

/packages/apps/Calculator/src/com/android/calculator2/
H A DHistory.java31 BaseAdapter mObserver; field in class:History
50 mObserver = observer;
54 if (mObserver != null) {
55 mObserver.notifyDataSetChanged();
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DVeiledAddressMatcher.java81 private final AccountObserver mObserver = new AccountObserver() { field in class:VeiledAddressMatcher
132 mObserver.initialize(controller);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMnsObexClient.java61 private BluetoothMapContentObserver mObserver; field in class:BluetoothMnsObexClient
82 mObserver = new BluetoothMapContentObserver(mContext);
83 mObserver.init();
91 return mObserver;
146 mObserver.unregisterObserver();
149 if (mObserver != null) {
150 mObserver.deinit();
151 mObserver = null;
178 mObserver.unregisterObserver();
186 mObserver
[all...]
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
H A DSelectVisibleCalendarsActivity.java43 private final ContentObserver mObserver = new ContentObserver(new Handler()) { field in class:SelectVisibleCalendarsActivity
79 true, mObserver);
85 getContentResolver().unregisterContentObserver(mObserver);
/packages/apps/Browser/src/com/android/browser/view/
H A DBasePieView.java33 private DataSetObserver mObserver; field in class:BasePieView
57 mAdapter.unregisterDataSetObserver(mObserver);
62 mObserver = new DataSetObserver() {
73 mAdapter.registerDataSetObserver(mObserver);
H A DBookmarkExpandableView.java126 existing.unregisterDataSetObserver(mAdapter.mObserver);
130 adapter.registerDataSetObserver(mAdapter.mObserver);
135 adapter.registerDataSetObserver(mAdapter.mObserver);
280 DataSetObserver mObserver = new DataSetObserver() { field in class:BookmarkExpandableView.BookmarkAccountAdapter
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DMergedAdapter.java38 private final DataSetObserver mObserver; field in class:MergedAdapter
58 mObserver = new DataSetObserver() {
69 adapter.unregisterDataSetObserver(mObserver);
76 adapter.registerDataSetObserver(mObserver);
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DContactLoader.java34 ForceLoadContentObserver mObserver; field in class:ContactLoader
145 if (mObserver == null) {
146 mObserver = new ForceLoadContentObserver();
148 getContext().getContentResolver().registerContentObserver(mLookupUri, true, mObserver);
170 if (mObserver != null) {
171 getContext().getContentResolver().unregisterContentObserver(mObserver);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DContactsBinaryDictionary.java66 private ContentObserver mObserver; field in class:ContactsBinaryDictionary
88 if (mObserver != null) return;
90 cres.registerContentObserver(Contacts.CONTENT_URI, true, mObserver =
105 if (mObserver != null) {
106 mContext.getContentResolver().unregisterContentObserver(mObserver);
107 mObserver = null;
H A DUserBinaryDictionary.java74 private ContentObserver mObserver; field in class:UserBinaryDictionary
98 mObserver = new ContentObserver(null) {
114 cres.registerContentObserver(Words.CONTENT_URI, true, mObserver);
121 if (mObserver != null) {
122 mContext.getContentResolver().unregisterContentObserver(mObserver);
123 mObserver = null;
/packages/apps/Calendar/src/com/android/calendar/
H A DEventInfoActivity.java53 private final ContentObserver mObserver = new ContentObserver(new Handler()) { field in class:EventInfoActivity
186 true, mObserver);
192 getContentResolver().unregisterContentObserver(mObserver);
H A DSearchActivity.java83 private final ContentObserver mObserver = new ContentObserver(new Handler()) { field in class:SearchActivity
332 mContentResolver.registerContentObserver(Events.CONTENT_URI, true, mObserver);
342 mContentResolver.unregisterContentObserver(mObserver);
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DDirectoryListLoader.java73 private final ContentObserver mObserver = new ContentObserver(new Handler()) { field in class:DirectoryListLoader
104 registerContentObserver(Directory.CONTENT_URI, false, mObserver);
110 getContext().getContentResolver().unregisterContentObserver(mObserver);
/packages/apps/UnifiedEmail/src/com/android/mail/content/
H A DObjectCursorLoader.java36 final ForceLoadContentObserver mObserver; field in class:ObjectCursorLoader
67 mObserver = new ForceLoadContentObserver();
84 inner.registerContentObserver(mObserver);
/packages/experimental/BugReportSender/src/com/android/bugreportsender/
H A DBugReportListActivity.java62 private FileObserver mObserver = null; field in class:BugReportListActivity
72 mObserver = new FileObserver(REPORT_DIR.getPath(), flags) {
95 mObserver.startWatching();
102 mObserver.stopWatching();
/packages/apps/Dialer/src/com/android/dialer/list/
H A DPhoneFavoriteMergedAdapter.java65 private final DataSetObserver mObserver; field in class:PhoneFavoriteMergedAdapter
114 mObserver = new CustomDataSetObserver();
115 mCallLogAdapter.registerDataSetObserver(mObserver);
116 mContactTileAdapter.registerDataSetObserver(mObserver);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
H A DAndroidWordLevelSpellCheckerSession.java54 private final ContentObserver mObserver; field in class:AndroidWordLevelSpellCheckerSession
103 mObserver = new ContentObserver(null) {
109 cres.registerContentObserver(Words.CONTENT_URI, true, mObserver);
123 cres.unregisterContentObserver(mObserver);
/packages/apps/Gallery2/src/com/android/photos/shims/
H A DMediaItemsLoader.java56 private ContentListener mObserver = new ContentListener() { field in class:MediaItemsLoader
80 mMediaSet.addContentListener(mObserver);
98 mMediaSet.removeContentListener(mObserver);
H A DMediaSetLoader.java53 private ContentListener mObserver = new ContentListener() { field in class:MediaSetLoader
78 mMediaSet.addContentListener(mObserver);
96 mMediaSet.removeContentListener(mObserver);
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadService.java84 private DownloadManagerContentObserver mObserver; field in class:DownloadService
171 mObserver = new DownloadManagerContentObserver();
173 true, mObserver);
189 getContentResolver().unregisterContentObserver(mObserver);
271 getContentResolver().unregisterContentObserver(mObserver);
/packages/apps/Music/src/com/android/music/
H A DSortCursor.java40 private DataSetObserver mObserver = new DataSetObserver() { field in class:SortCursor
65 mCursors[i].registerDataSetObserver(mObserver);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppTransferActivity.java113 private BluetoothTransferContentObserver mObserver; field in class:BluetoothOppTransferActivity
152 mObserver = new BluetoothTransferContentObserver();
154 mObserver);
172 if (mObserver != null) {
173 getContentResolver().unregisterContentObserver(mObserver);
/packages/apps/Contacts/src/com/android/contacts/model/
H A DContactLoader.java91 private ForceLoadContentObserver mObserver; field in class:ContactLoader
856 if (mObserver == null) {
857 mObserver = new ForceLoadContentObserver();
860 mLookupUri, true, mObserver);
903 if (mObserver != null) {
904 getContext().getContentResolver().unregisterContentObserver(mObserver);
905 mObserver = null;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
H A DStatePanelTrack.java62 private DataSetObserver mObserver = new DataSetObserver() { field in class:StatePanelTrack
137 mAdapter.registerDataSetObserver(mObserver);
/packages/apps/Gallery2/src/com/android/photos/views/
H A DGalleryThumbnailView.java59 private final AdapterDataSetObserver mObserver = new AdapterDataSetObserver(); field in class:GalleryThumbnailView
645 mAdapter.unregisterDataSetObserver(mObserver);
654 adapter.registerDataSetObserver(mObserver);

Completed in 1271 milliseconds

12