Home | History | Annotate | Download | only in email

Lines Matching full:observer

83     /** Maps account id to its observer */
258 * Registers an observer for changes to mailboxes in the given account.
260 * @param accountId The ID of the account to register the observer for. May be
282 ContentObserver observer = new MessageContentObserver(
284 resolver.registerContentObserver(Message.NOTIFIER_URI, true, observer);
285 mNotificationMap.put(accountId, observer);
286 // Now, ping the observer for any initial notifications
287 observer.onChange(true);
292 * Unregisters the observer for the given account. If the specified account does not have
293 * a registered observer, no action is performed. This will not clear any existing notification
304 for (ContentObserver observer : mNotificationMap.values()) {
305 resolver.unregisterContentObserver(observer);
310 ContentObserver observer = mNotificationMap.remove(accountId);
311 if (observer != null) {
312 resolver.unregisterContentObserver(observer);
735 * Observer invoked whenever a message we're notifying the user about changes.
755 * Observer invoked whenever an account is modified. This could mean the user changed the