Searched refs:callbacks (Results 1 - 20 of 20) sorted by relevance

/packages/apps/Mms/src/com/android/mms/util/
H A DBackgroundLoaderManager.java57 * these, just add new callbacks.
117 Set<ItemLoadedCallback> callbacks = mCallbacks.get(uri);
118 if (callbacks == null) {
119 callbacks = new HashSet<ItemLoadedCallback>(4);
120 mCallbacks.put(uri, callbacks);
122 callbacks.add(callback);
131 final Set<ItemLoadedCallback> callbacks = mCallbacks.get(uri);
132 callbacks.remove(callback);
H A DPduLoaderManager.java198 final Set<ItemLoadedCallback> callbacks = mCallbacks.get(mUri);
199 if (callbacks != null) {
201 for (final ItemLoadedCallback<PduLoaded> callback : asList(callbacks)) {
H A DThumbnailManager.java263 final Set<ItemLoadedCallback> callbacks = mCallbacks.get(mUri);
264 if (callbacks != null) {
270 for (final ItemLoadedCallback<ImageLoaded> callback : asList(callbacks)) {
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DObjectCache.java42 * @param callbacks Callback object that that will return a new instance of the object, and
45 public ObjectCache(Callback<T> callbacks, int maxSize) { argument
46 mCallback = callbacks;
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncherModel.java770 public void initialize(Callbacks callbacks) { argument
772 mCallbacks = new WeakReference<Callbacks>(callbacks);
847 Callbacks callbacks = mCallbacks.get();
848 if (callbacks != null) {
849 callbacks.bindSearchablesChanged();
883 Callbacks callbacks = mCallbacks.get();
884 if (callbacks != null) {
886 if (!callbacks.setLoadOnResume()) {
1177 * Gets the callbacks object. If we've been stopped, or if the launcher object
1193 final Callbacks callbacks
[all...]
/packages/apps/Email/tests/src/com/android/emailcommon/mail/
H A DMockFolder.java34 MessageUpdateCallbacks callbacks) {
33 copyMessages(Message[] msgs, Folder folder, MessageUpdateCallbacks callbacks) argument
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherModel.java289 final Callbacks callbacks, final ArrayList<AppInfo> allAppsApps) {
377 if (callbacks == cb && cb != null) {
391 callbacks.bindAppsAdded(addedWorkspaceScreensFinal,
1030 public void initialize(Callbacks callbacks) { argument
1032 mCallbacks = new WeakReference<Callbacks>(callbacks);
1107 Callbacks callbacks = mCallbacks.get();
1108 if (callbacks != null) {
1109 callbacks.bindSearchablesChanged();
1143 Callbacks callbacks = mCallbacks.get();
1144 if (callbacks !
288 addAndBindAddedApps(final Context context, final ArrayList<ItemInfo> workspaceApps, final Callbacks callbacks, final ArrayList<AppInfo> allAppsApps) argument
[all...]
H A DLauncher.java874 Log.d(TAG, "Time spent processing callbacks in onResume: " +
937 // We call onHide() aggressively. The custom content callbacks should be able to
988 CustomContentCallbacks callbacks, String description) {
989 mWorkspace.addToCustomContentPage(customContent, callbacks, description);
1757 // Stop callbacks from LauncherModel
1773 // Disconnect any of the callbacks and drawables associated with ItemInfos on the workspace
987 addToCustomContentPage(View customContent, CustomContentCallbacks callbacks, String description) argument
H A DWorkspace.java603 public void addToCustomContentPage(View customContent, CustomContentCallbacks callbacks, argument
623 mCustomContentCallbacks = callbacks;
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DConversationPositionTracker.java52 public ConversationPositionTracker(Callbacks callbacks) { argument
53 mCallbacks = callbacks;
H A DSecureConversationViewFragment.java84 final ContactLoaderCallbacks callbacks = getContactInfoSource();
85 callbacks.setSenders(emailAddresses);
86 getLoaderManager().restartLoader(CONTACT_LOADER, Bundle.EMPTY, callbacks);
H A DSecureConversationViewController.java68 public SecureConversationViewController(SecureConversationViewControllerCallbacks callbacks) { argument
69 mCallbacks = callbacks;
H A DConversationViewFragment.java888 // END conversation header callbacks
890 // START message header callbacks
965 // END message header callbacks
1093 final ContactLoaderCallbacks callbacks = getContactInfoSource();
1094 callbacks.setSenders(emailAddresses);
1095 getLoaderManager().restartLoader(CONTACT_LOADER, Bundle.EMPTY, callbacks);
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
H A DFolder.java61 * @param callbacks Pointer to callbacks class. This may be used by the folder between this
153 MessageUpdateCallbacks callbacks) throws MessagingException;
152 copyMessages(Message[] msgs, Folder folder, MessageUpdateCallbacks callbacks) argument
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DEmlMessageViewFragment.java115 final ContactLoaderCallbacks callbacks = getContactInfoSource();
116 callbacks.setSenders(emailAddresses);
117 getLoaderManager().restartLoader(CONTACT_LOADER, Bundle.EMPTY, callbacks);
H A DConversationViewHeader.java134 public void setCallbacks(ConversationViewHeaderCallbacks callbacks, argument
136 mCallbacks = callbacks;
H A DMessageHeaderView.java319 public void setCallbacks(MessageHeaderViewCallbacks callbacks) { argument
320 mCallbacks = callbacks;
/packages/apps/Settings/src/com/android/settings/applications/
H A DApplicationsState.java286 // Temporary for dispatching session callbacks. Only touched by main thread.
479 Session(Callbacks callbacks) { argument
480 mCallbacks = callbacks;
616 public Session newSession(Callbacks callbacks) { argument
617 Session s = new Session(callbacks);
/packages/apps/Email/src/com/android/email/mail/store/
H A DImapFolder.java260 MessageUpdateCallbacks callbacks) throws MessagingException {
286 if (callbacks == null) {
306 callbacks.onMessageUidChange(m, newIdArray[i]);
312 if (callbacks != null && !handledUidPlus) {
323 callbacks.onMessageUidChange(m, newIdArray[0]);
259 copyMessages(Message[] messages, Folder folder, MessageUpdateCallbacks callbacks) argument
H A DPop3Store.java681 public void copyMessages(Message[] msgs, Folder folder, MessageUpdateCallbacks callbacks) { argument

Completed in 2216 milliseconds