/packages/apps/Contacts/tests/src/com/android/contacts/widget/ |
D | CompositeListAdapterTest.java | 215 TestDataSetObserver observer = new TestDataSetObserver(); in testNotifyDataSetChangedPropagated() local 216 adapter.registerDataSetObserver(observer); in testNotifyDataSetChangedPropagated() 219 assertEquals(1, observer.changeCount); in testNotifyDataSetChangedPropagated() 220 assertEquals(0, observer.invalidationCount); in testNotifyDataSetChangedPropagated() 227 assertEquals(2, observer.changeCount); in testNotifyDataSetChangedPropagated() 228 assertEquals(0, observer.invalidationCount); in testNotifyDataSetChangedPropagated() 241 TestDataSetObserver observer = new TestDataSetObserver(); in testNotifyDataSetChangedOnAddingAdapter() local 242 adapter.registerDataSetObserver(observer); in testNotifyDataSetChangedOnAddingAdapter() 245 assertEquals(1, observer.changeCount); in testNotifyDataSetChangedOnAddingAdapter() 246 assertEquals(0, observer.invalidationCount); in testNotifyDataSetChangedOnAddingAdapter() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | MailObservable.java | 35 public void registerObserver(DataSetObserver observer) { in registerObserver() argument 37 super.registerObserver(observer); in registerObserver() 39 mName, observer, count, mObservers.size()); in registerObserver() 43 public void unregisterObserver(DataSetObserver observer) { in unregisterObserver() argument 45 super.unregisterObserver(observer); in unregisterObserver() 47 mName, observer, count, mObservers.size()); in unregisterObserver()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | AccountController.java | 37 void registerAccountObserver(DataSetObserver observer); in registerAccountObserver() argument 42 void unregisterAccountObserver(DataSetObserver observer); in unregisterAccountObserver() argument 56 void registerAllAccountObserver(DataSetObserver observer); in registerAllAccountObserver() argument 61 void unregisterAllAccountObserver(DataSetObserver observer); in unregisterAllAccountObserver() argument 81 void registerFolderOrAccountChangedObserver(final DataSetObserver observer); in registerFolderOrAccountChangedObserver() argument 86 void unregisterFolderOrAccountChangedObserver(final DataSetObserver observer); in unregisterFolderOrAccountChangedObserver() argument
|
D | ConversationCheckedSet.java | 95 public void addObserver(ConversationSetObserver observer) { in addObserver() argument 97 mObservers.add(observer); in addObserver() 148 for (ConversationSetObserver observer : observers) { in dispatchOnBecomeUnempty() 149 observer.onSetPopulated(this); in dispatchOnBecomeUnempty() 158 for (ConversationSetObserver observer : observers) { in dispatchOnChange() 159 observer.onSetChanged(this); in dispatchOnChange() 166 for (ConversationSetObserver observer : observers) { in dispatchOnEmpty() 167 observer.onSetEmpty(); in dispatchOnEmpty() 227 public void removeObserver(ConversationSetObserver observer) { in removeObserver() argument 229 mObservers.remove(observer); in removeObserver()
|
D | FolderSelectionActivity.java | 76 public void registerAccountObserver(DataSetObserver observer) { 81 public void unregisterAccountObserver(DataSetObserver observer) { 91 public void registerAllAccountObserver(DataSetObserver observer) { 96 public void unregisterAllAccountObserver(DataSetObserver observer) { 118 public void registerFolderOrAccountChangedObserver(final DataSetObserver observer) { 119 mFolderOrAccountObservers.registerObserver(observer); 123 public void unregisterFolderOrAccountChangedObserver(final DataSetObserver observer) { 124 mFolderOrAccountObservers.unregisterObserver(observer);
|
D | ConversationListCallbacks.java | 75 void registerConversationLoadedObserver(DataSetObserver observer); in registerConversationLoadedObserver() argument 76 void unregisterConversationLoadedObserver(DataSetObserver observer); in unregisterConversationLoadedObserver() argument 83 void registerConversationListObserver(DataSetObserver observer); in registerConversationListObserver() argument 84 void unregisterConversationListObserver(DataSetObserver observer); in unregisterConversationListObserver() argument
|
D | ContactLoaderCallbacks.java | 80 public void registerObserver(DataSetObserver observer) { in registerObserver() argument 81 mObservable.registerObserver(observer); in registerObserver() 85 public void unregisterObserver(DataSetObserver observer) { in unregisterObserver() argument 86 mObservable.unregisterObserver(observer); in unregisterObserver()
|
D | RecentFolderController.java | 31 void registerRecentFolderObserver(DataSetObserver observer); in registerRecentFolderObserver() argument 36 void unregisterRecentFolderObserver(DataSetObserver observer); in unregisterRecentFolderObserver() argument
|
D | FolderController.java | 33 void registerFolderObserver(DataSetObserver observer); in registerFolderObserver() argument 34 void unregisterFolderObserver(DataSetObserver observer); in unregisterFolderObserver() argument
|
D | FolderSettingsObservable.java | 27 void registerObserver(FolderSettingsObserver observer); in registerObserver() argument 28 void unregisterObserver(FolderSettingsObserver observer); in unregisterObserver() argument
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
D | AccountImageChangeObserver.java | 139 ContactChangeContentObserver observer; in registerChangeUriIfPresent() local 142 observer = mObserverMap.get(thisAccount.name); in registerChangeUriIfPresent() 143 if (observer != null) { in registerChangeUriIfPresent() 144 observer.addUriToNotifyList(changeNotifUri); in registerChangeUriIfPresent() 151 observer = new ContactChangeContentObserver(context, thisAccount); in registerChangeUriIfPresent() 152 mObserverMap.put(thisAccount.name, observer); in registerChangeUriIfPresent() 153 observer.addUriToNotifyList(changeNotifUri); in registerChangeUriIfPresent() 155 observer); in registerChangeUriIfPresent()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SuggestionCursorWrapper.java | 63 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver() argument 65 mCursor.registerDataSetObserver(observer); in registerDataSetObserver() 69 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver() argument 71 mCursor.unregisterDataSetObserver(observer); in unregisterDataSetObserver()
|
D | Suggestions.java | 110 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver() argument 114 mDataSetObservable.registerObserver(observer); in registerDataSetObserver() 121 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver() argument 122 mDataSetObservable.unregisterObserver(observer); in unregisterDataSetObserver()
|
D | ListSuggestionCursor.java | 119 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver() argument 120 mDataSetObservable.registerObserver(observer); in registerDataSetObserver() 129 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver() argument 130 mDataSetObservable.unregisterObserver(observer); in unregisterDataSetObserver()
|
D | SuggestionCursor.java | 72 void registerDataSetObserver(DataSetObserver observer); in registerDataSetObserver() argument 80 void unregisterDataSetObserver(DataSetObserver observer); in unregisterDataSetObserver() argument
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | BugleActionBarActivity.java | 155 for (final ImeUtil.ImeStateObserver observer : mImeStateObservers) { in onDisplayHeightChanged() 156 observer.onImeStateChanged(mImeOpen); in onDisplayHeightChanged() 162 public void registerImeStateObserver(final ImeUtil.ImeStateObserver observer) { in registerImeStateObserver() argument 163 mImeStateObservers.add(observer); in registerImeStateObserver() 167 public void unregisterImeStateObserver(final ImeUtil.ImeStateObserver observer) { in unregisterImeStateObserver() argument 168 mImeStateObservers.remove(observer); in unregisterImeStateObserver()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | HeaderGridView.java | 434 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver() argument 435 mDataSetObservable.registerObserver(observer); in registerDataSetObserver() 437 mAdapter.registerDataSetObserver(observer); in registerDataSetObserver() 442 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver() argument 443 mDataSetObservable.unregisterObserver(observer); in unregisterDataSetObserver() 445 mAdapter.unregisterDataSetObserver(observer); in unregisterDataSetObserver()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | SectionedAlbumDataAdapter.java | 167 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver() argument 168 mAlbumData.registerDataSetObserver(observer); in registerDataSetObserver() 172 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver() argument 173 mAlbumData.unregisterDataSetObserver(observer); in unregisterDataSetObserver()
|
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/task/ |
D | InstallPackageTaskTest.java | 110 IPackageInstallObserver observer = (IPackageInstallObserver) in testInstall_OnePackage() 115 observer.packageInstalled(TEST_PACKAGE_NAME, in testInstall_OnePackage() 136 IPackageInstallObserver observer = (IPackageInstallObserver) in testInstall_InstallFailedVersionDowngrade() 138 observer.packageInstalled(null, in testInstall_InstallFailedVersionDowngrade()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationPagerController.java | 260 public void registerConversationLoadedObserver(DataSetObserver observer) { in registerConversationLoadedObserver() argument 261 mLoadedObservable.registerObserver(observer); in registerConversationLoadedObserver() 264 public void unregisterConversationLoadedObserver(DataSetObserver observer) { in unregisterConversationLoadedObserver() argument 265 mLoadedObservable.unregisterObserver(observer); in unregisterConversationLoadedObserver()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | UninstallAppProgress.java | 115 final IPackageDeleteObserver2 observer = IPackageDeleteObserver2.Stub 118 observer.onPackageDeleted(mAppInfo.packageName, mResultCode, 256 final IPackageDeleteObserver2 observer = IPackageDeleteObserver2.Stub in onCreate() local 259 observer.onPackageDeleted(mAppInfo.packageName, mResultCode, null); in onCreate() 286 PackageDeleteObserver observer = new PackageDeleteObserver(); in onCreate() local 295 getPackageManager().deletePackageAsUser(mAppInfo.packageName, observer, in onCreate()
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
D | CallCardFragment.java | 404 final ViewTreeObserver observer = getView().getViewTreeObserver(); in setCallCardVisible() local 405 observer.addOnPreDrawListener(new ViewTreeObserver.OnPreDrawListener() { in setCallCardVisible() 660 final ViewTreeObserver observer = getView().getViewTreeObserver(); in setSecondaryInfoVisible() local 662 observer.addOnPreDrawListener(new ViewTreeObserver.OnPreDrawListener() { in setSecondaryInfoVisible() 1290 final ViewTreeObserver observer = getView().getViewTreeObserver(); in animateForNewOutgoingCall() local 1294 observer.addOnGlobalLayoutListener(new OnGlobalLayoutListener() { in animateForNewOutgoingCall() 1297 final ViewTreeObserver observer = getView().getViewTreeObserver(); in animateForNewOutgoingCall() 1298 if (!observer.isAlive()) { in animateForNewOutgoingCall() 1301 observer.removeOnGlobalLayoutListener(this); in animateForNewOutgoingCall() 1393 final ViewTreeObserver observer = parent.getViewTreeObserver(); in onResume() local [all …]
|
/packages/apps/Music/src/com/android/music/ |
D | SortCursor.java | 275 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver() argument 279 mCursors[i].registerDataSetObserver(observer); in registerDataSetObserver() 285 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver() argument 289 mCursors[i].unregisterDataSetObserver(observer); in unregisterDataSetObserver()
|
/packages/apps/Email/src/com/android/email/ |
D | EmailNotificationController.java | 281 ContentObserver observer = new MessageContentObserver( in registerMessageNotification() local 283 resolver.registerContentObserver(Message.NOTIFIER_URI, true, observer); in registerMessageNotification() 284 mNotificationMap.put(accountId, observer); in registerMessageNotification() 286 observer.onChange(true); in registerMessageNotification() 303 for (ContentObserver observer : mNotificationMap.values()) { in unregisterMessageNotification() 304 resolver.unregisterContentObserver(observer); in unregisterMessageNotification() 309 ContentObserver observer = mNotificationMap.remove(accountId); in unregisterMessageNotification() local 310 if (observer != null) { in unregisterMessageNotification() 311 resolver.unregisterContentObserver(observer); in unregisterMessageNotification()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
D | ContactInfoSource.java | 30 void registerObserver(DataSetObserver observer); in registerObserver() argument 31 void unregisterObserver(DataSetObserver observer); in unregisterObserver() argument
|