Home
last modified time | relevance | path

Searched refs:observer (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Mms/src/com/android/mms/model/
DModel.java26 public void registerModelChangedObserver(IModelChangedObserver observer) { in registerModelChangedObserver() argument
27 if (!mModelChangedObservers.contains(observer)) { in registerModelChangedObserver()
28 mModelChangedObservers.add(observer); in registerModelChangedObserver()
29 registerModelChangedObserverInDescendants(observer); in registerModelChangedObserver()
33 public void unregisterModelChangedObserver(IModelChangedObserver observer) { in unregisterModelChangedObserver() argument
34 mModelChangedObservers.remove(observer); in unregisterModelChangedObserver()
35 unregisterModelChangedObserverInDescendants(observer); in unregisterModelChangedObserver()
44 for (IModelChangedObserver observer : mModelChangedObservers) { in notifyModelChanged()
45 observer.onModelChanged(this, dataChanged); in notifyModelChanged()
50 IModelChangedObserver observer) { in registerModelChangedObserverInDescendants() argument
[all …]
DLayoutModel.java253 IModelChangedObserver observer) { in registerModelChangedObserverInDescendants() argument
255 mRootLayout.registerModelChangedObserver(observer); in registerModelChangedObserverInDescendants()
259 mImageRegion.registerModelChangedObserver(observer); in registerModelChangedObserverInDescendants()
263 mTextRegion.registerModelChangedObserver(observer); in registerModelChangedObserverInDescendants()
269 IModelChangedObserver observer) { in unregisterModelChangedObserverInDescendants() argument
271 mRootLayout.unregisterModelChangedObserver(observer); in unregisterModelChangedObserverInDescendants()
275 mImageRegion.unregisterModelChangedObserver(observer); in unregisterModelChangedObserverInDescendants()
279 mTextRegion.unregisterModelChangedObserver(observer); in unregisterModelChangedObserverInDescendants()
DSlideshowModel.java337 for (IModelChangedObserver observer : mModelChangedObservers) { in add()
338 object.registerModelChangedObserver(observer); in add()
354 for (IModelChangedObserver observer : mModelChangedObservers) { in clear()
355 slide.unregisterModelChangedObserver(observer); in clear()
419 for (IModelChangedObserver observer : mModelChangedObservers) { in add()
420 object.registerModelChangedObserver(observer); in add()
484 for (IModelChangedObserver observer : mModelChangedObservers) { in set()
485 object.registerModelChangedObserver(observer); in set()
499 IModelChangedObserver observer) { in registerModelChangedObserverInDescendants() argument
500 mLayout.registerModelChangedObserver(observer); in registerModelChangedObserverInDescendants()
[all …]
DSlideModel.java158 for (IModelChangedObserver observer : mModelChangedObservers) { in internalAddOrReplace()
159 media.registerModelChangedObserver(observer); in internalAddOrReplace()
413 IModelChangedObserver observer) { in registerModelChangedObserverInDescendants() argument
415 media.registerModelChangedObserver(observer); in registerModelChangedObserverInDescendants()
421 IModelChangedObserver observer) { in unregisterModelChangedObserverInDescendants() argument
423 media.unregisterModelChangedObserver(observer); in unregisterModelChangedObserverInDescendants()
/packages/apps/Mms/src/com/android/mms/transaction/
DObservable.java48 public void attach(Observer observer) { in attach() argument
49 mObservers.add(observer); in attach()
57 public void detach(Observer observer) { in detach() argument
61 mObservers.remove(observer); in detach()
/packages/apps/Browser/src/com/android/browser/
DImageAdapter.java227 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver() argument
228 mDataObservers.add(observer); in registerDataSetObserver()
241 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver() argument
242 mDataObservers.remove(observer); in unregisterDataSetObserver()
249 for (DataSetObserver observer : mDataObservers) { in notifyObservers()
250 observer.onChanged(); in notifyObservers()
DMostVisitedActivity.java187 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver() argument
188 mObservers.add(observer); in registerDataSetObserver()
191 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver() argument
192 mObservers.remove(observer); in unregisterDataSetObserver()
DBrowserHistoryPage.java447 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver() argument
448 mObservers.add(observer); in registerDataSetObserver()
451 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver() argument
452 mObservers.remove(observer); in unregisterDataSetObserver()
/packages/apps/Calculator/src/com/android/calculator2/
DHistory.java49 void setObserver(BaseAdapter observer) { in setObserver() argument
50 mObserver = observer; in setObserver()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DInstallAppProgress.java114 PackageInstallObserver observer = new PackageInstallObserver(); in initView() local
115 pm.installPackage(mPackageURI, observer, installFlags, installerPackageName); in initView()
DUninstallAppProgress.java110 PackageDeleteObserver observer = new PackageDeleteObserver(); in initView() local
111 getPackageManager().deletePackage(mAppInfo.packageName, observer, 0); in initView()
/packages/apps/IM/src/com/android/im/app/
DContactListTreeAdapter.java426 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver() argument
427 mAdapter.registerDataSetObserver(observer); in registerDataSetObserver()
428 super.registerDataSetObserver(observer); in registerDataSetObserver()
432 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver() argument
433 mAdapter.unregisterDataSetObserver(observer); in unregisterDataSetObserver()
434 super.unregisterDataSetObserver(observer); in unregisterDataSetObserver()
DChatView.java1251 public void registerContentObserver(ContentObserver observer) { in registerContentObserver() argument
1252 mInnerCursor.registerContentObserver(observer); in registerContentObserver()
1255 public void unregisterContentObserver(ContentObserver observer) { in unregisterContentObserver() argument
1256 mInnerCursor.unregisterContentObserver(observer); in unregisterContentObserver()
1259 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver() argument
1260 mInnerCursor.registerDataSetObserver(observer); in registerDataSetObserver()
1263 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver() argument
1264 mInnerCursor.unregisterDataSetObserver(observer); in unregisterDataSetObserver()