Home
last modified time | relevance | path

Searched refs:Callback (Results 1 – 25 of 84) sorted by relevance

1234

/packages/apps/Email/src/com/android/email/activity/
DInsertQuickResponseDialog.java52 public interface Callback { interface in InsertQuickResponseDialog
70 final Callback callback; in newInstance()
73 callback = (Callback) callbackFragment; in newInstance()
92 final Callback callback; in onCreateDialog()
94 callback = (Callback) getActivity(); in onCreateDialog()
144 private Callback getCallback() { in getCallback()
147 return (Callback) targetFragment; in getCallback()
149 return (Callback) getActivity(); in getCallback()
DMessageOrderManager.java26 import com.android.email.activity.MessageOrderManager.Callback;
62 private final Callback mCallback;
76 public interface Callback { interface in MessageOrderManager
96 private class PostingCallback implements Callback {
97 private final Callback mOriginal;
99 private PostingCallback(Callback original) { in PostingCallback()
126 public MessageOrderManager(Context context, MessageListContext listContext, Callback callback) { in MessageOrderManager()
131 MessageOrderManager(Context context, MessageListContext listContext, Callback callback, in MessageOrderManager()
DMessageListFragment.java83 implements OnItemLongClickListener, MessagesAdapter.Callback,
84 MoveMessageToDialog.Callback, OnDragListener, OnTouchListener {
101 private Callback mCallback = EmptyCallback.INSTANCE;
160 public interface Callback { interface in MessageListFragment
205 private static final class EmptyCallback implements Callback {
206 public static final Callback INSTANCE = new EmptyCallback();
548 public void setCallback(Callback callback) { in setCallback()
803 return Callback.TYPE_DRAFT; in callbackTypeForMailboxType()
805 return Callback.TYPE_TRASH; in callbackTypeForMailboxType()
807 return Callback.TYPE_REGULAR; in callbackTypeForMailboxType()
[all …]
DMessageViewFragment.java50 implements MoveMessageToDialog.Callback, OnMenuItemClickListener {
93 public interface Callback extends MessageViewFragmentBase.Callback { interface in MessageViewFragment
125 implements Callback {
127 public static final Callback INSTANCE = new EmptyCallback();
138 private Callback mCallback = EmptyCallback.INSTANCE;
274 public void setCallback(Callback callback) { in setCallback()
DActionBarController.java112 public final Callback mCallback;
120 public interface Callback { interface in ActionBarController
212 ActionBar actionBar, Callback callback) { in ActionBarController()
314 return isInSearchMode() && (mTitleMode != Callback.TITLE_MODE_MESSAGE_SUBJECT); in shouldShowSearchBar()
474 if (mTitleMode == Callback.TITLE_MODE_MESSAGE_SUBJECT) { in updateTitle()
488 } else if (mTitleMode == Callback.TITLE_MODE_ACCOUNT_WITH_ALL_FOLDERS_LABEL) { in updateTitle()
495 if (mTitleMode == Callback.TITLE_MODE_ACCOUNT_WITH_MAILBOX) { in updateTitle()
DMessageCommandButtonView.java45 private Callback mCallback = EmptyCallback.INSTANCE;
47 public interface Callback { interface in MessageCommandButtonView
52 private static class EmptyCallback implements Callback {
53 public static final Callback INSTANCE = new EmptyCallback();
87 public void setCallback(Callback callback) { in setCallback()
DMailboxListFragment.java187 private Callback mCallback = EmptyCallback.INSTANCE;
218 private final MailboxFragmentAdapter.Callback mMailboxesAdapterCallback =
219 new MailboxFragmentAdapter.Callback() {
229 public interface Callback { interface in MailboxListFragment
253 private static class EmptyCallback implements Callback {
254 public static final Callback INSTANCE = new EmptyCallback();
455 public void setCallback(Callback callback) { in setCallback()
DThreePaneLayout.java121 private Callback mCallback = EmptyCallback.INSTANCE;
125 public interface Callback { interface in ThreePaneLayout
130 private static final class EmptyCallback implements Callback {
131 public static final Callback INSTANCE = new EmptyCallback();
253 public void setCallback(Callback callback) { in setCallback()
DDeleteMessageConfirmationDialog.java37 public interface Callback { interface in DeleteMessageConfirmationDialog
84 private Callback getCallback() { in getCallback()
88 return (Callback) targetFragment; in getCallback()
91 return (Callback) getActivity(); in getCallback()
DMailboxFragmentAdapter.java72 interface Callback { interface in MailboxFragmentAdapter
78 private static final class EmptyCallback implements Callback {
79 public static final Callback INSTANCE = new EmptyCallback();
170 private final Callback mCallback;
172 public MailboxFragmentAdapter(Context context, Callback callback) { in MailboxFragmentAdapter()
DUIControllerTwoPane.java49 class UIControllerTwoPane extends UIControllerBase implements ThreePaneLayout.Callback {
147 if (type == MessageListFragment.Callback.TYPE_DRAFT) { in onMessageOpen()
493 private class CommandButtonCallback implements MessageCommandButtonView.Callback {
660 private class ActionBarControllerCallback implements ActionBarController.Callback {
DMailboxFinder.java53 private final Callback mCallback;
62 public interface Callback { interface in MailboxFinder
74 public MailboxFinder(Context context, long accountId, int mailboxType, Callback callback) { in MailboxFinder()
DUIControllerBase.java54 abstract class UIControllerBase implements MailboxListFragment.Callback,
55 MessageListFragment.Callback, MessageViewFragment.Callback {
1020 private class MessageOrderManagerCallback implements MessageOrderManager.Callback {
DMoveMessageToDialog.java70 public interface Callback { interface in MoveMessageToDialog
81 public static <T extends Fragment & Callback> MoveMessageToDialog newInstance(long[] messageIds, in newInstance()
174 ((Callback) getTargetFragment()).onMoveToMailboxSelected(mailboxId, mMessageIds); in onClick()
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepServer.java44 final Callback mCallback;
55 public interface Callback { interface in SnepServer
60 public SnepServer(Callback callback) { in SnepServer()
69 public SnepServer(String serviceName, int serviceSap, Callback callback) { in SnepServer()
78 public SnepServer(Callback callback, int miu, int rwSize) { in SnepServer()
87 SnepServer(String serviceName, int serviceSap, int fragmentLength, Callback callback) { in SnepServer()
140 static boolean handleRequest(SnepMessenger messenger, Callback callback) throws IOException { in handleRequest()
/packages/apps/Nfc/src/com/android/nfc/
DP2pLinkManager.java109 public interface Callback { interface
119 public class P2pLinkManager implements Handler.Callback, P2pEventListener.Callback {
814 final HandoverServer.Callback mHandoverCallback = new HandoverServer.Callback() {
821 final NdefPushServer.Callback mNppCallback = new NdefPushServer.Callback() {
828 final SnepServer.Callback mDefaultSnepCallback = new SnepServer.Callback() {
DP2pEventManager.java27 public class P2pEventManager implements P2pEventListener, SendUi.Callback {
35 final P2pEventListener.Callback mCallback;
46 public P2pEventManager(Context context, P2pEventListener.Callback callback) { in P2pEventManager()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DCachedBluetoothDevice.java69 private final Collection<Callback> mCallbacks = new ArrayList<Callback>();
561 void registerCallback(Callback callback) { in registerCallback()
567 void unregisterCallback(Callback callback) { in unregisterCallback()
575 for (Callback callback : mCallbacks) { in dispatchAttributesChanged()
624 public interface Callback { interface in CachedBluetoothDevice
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountServerBaseFragment.java61 protected Callback mCallback = EmptyCallback.INSTANCE;
81 public interface Callback { interface in AccountServerBaseFragment
104 private static class EmptyCallback implements Callback {
105 public static final Callback INSTANCE = new EmptyCallback();
220 public void setCallback(Callback callback) { in setCallback()
DAccountSettingsFragment.java110 private Callback mCallback = EmptyCallback.INSTANCE;
124 public interface Callback { interface in AccountSettingsFragment
133 private static class EmptyCallback implements Callback {
134 public static final Callback INSTANCE = new EmptyCallback();
314 public void setCallback(Callback callback) { in setCallback()
/packages/apps/Gallery/src/com/android/camera/
DReverseGeocoderTask.java31 public static interface Callback { interface in ReverseGeocoderTask
38 private Callback mCallback;
41 Callback callback) { in ReverseGeocoderTask()
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverTransfer.java45 public class HandoverTransfer implements Handler.Callback,
48 interface Callback { interface in HandoverTransfer
88 final Callback mCallback;
106 public HandoverTransfer(Context context, Callback callback, in HandoverTransfer()
DHandoverServer.java40 final Callback mCallback;
45 public interface Callback { interface in HandoverServer
49 public HandoverServer(int sap, HandoverManager manager, Callback callback) { in HandoverServer()
/packages/apps/Nfc/src/com/android/nfc/ndefpush/
DNdefPushServer.java48 final Callback mCallback;
53 public interface Callback { interface in NdefPushServer
57 public NdefPushServer(final int sap, Callback callback) { in NdefPushServer()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DSaveCopyTask.java58 public interface Callback { interface in SaveCopyTask
72 private final Callback callback;
76 public SaveCopyTask(Context context, Uri sourceUri, File destination, Callback callback) { in SaveCopyTask()

1234