/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
EmailAsyncTask.java | 39 public abstract class EmailAsyncTask<Params, Progress, Result> { 44 * Tracks {@link EmailAsyncTask}. 49 private final LinkedList<EmailAsyncTask<?, ?, ?>> mTasks = 50 new LinkedList<EmailAsyncTask<?, ?, ?>>(); 52 private void add(EmailAsyncTask<?, ?, ?> task) { 58 private void remove(EmailAsyncTask<?, ?, ?> task) { 69 for (EmailAsyncTask<?, ?, ?> task : mTasks) { 80 /* package */ void cancelOthers(EmailAsyncTask<?, ?, ?> current) { 83 final ArrayList<EmailAsyncTask<?, ?, ?>> toRemove = 84 new ArrayList<EmailAsyncTask<?, ?, ?>>() [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
EmailAsyncTaskTests.java | 19 import com.android.emailcommon.utility.EmailAsyncTask.Tracker; 30 final EmailAsyncTask.Tracker tracker = new EmailAsyncTask.Tracker(); 86 * Test for {@link EmailAsyncTask.Tracker#cancelOthers} 89 final EmailAsyncTask.Tracker tracker = new EmailAsyncTask.Tracker(); 116 private static class MyTask extends EmailAsyncTask<String, String, String> {
|
/packages/apps/Email/src/com/android/email/activity/ |
MessageList.java | 21 import com.android.emailcommon.utility.EmailAsyncTask; 38 private final EmailAsyncTask.Tracker mTaskTracker = new EmailAsyncTask.Tracker(); 45 new EmailAsyncTask<Void, Void, Long>(mTaskTracker) {
|
MessageFileView.java | 22 import com.android.emailcommon.utility.EmailAsyncTask; 41 private final EmailAsyncTask.Tracker mTaskTracker = new EmailAsyncTask.Tracker(); 102 private class LoadFilenameTask extends EmailAsyncTask<Void, Void, String> {
|
InsertQuickResponseDialog.java | 23 import com.android.emailcommon.utility.EmailAsyncTask; 44 private EmailAsyncTask.Tracker mTaskTracker; 107 mTaskTracker = new EmailAsyncTask.Tracker();
|
RecentMailboxManager.java | 29 import com.android.emailcommon.utility.EmailAsyncTask; 96 public EmailAsyncTask<Void, Void, Void> touch(long accountId, long mailboxId) { 130 private EmailAsyncTask<Void, Void, Void> fireAndForget( 132 return EmailAsyncTask.runAsyncParallel(new Runnable() {
|
ActivityHelper.java | 33 import com.android.emailcommon.utility.EmailAsyncTask; 104 EmailAsyncTask.runAsyncSerial(new Runnable() {
|
MailboxFinder.java | 26 import com.android.emailcommon.utility.EmailAsyncTask; 153 private class FindMailboxTask extends EmailAsyncTask<Void, Void, Long> {
|
Welcome.java | 43 import com.android.emailcommon.utility.EmailAsyncTask; 90 private final EmailAsyncTask.Tracker mTaskTracker = new EmailAsyncTask.Tracker(); 196 EmailAsyncTask.runAsyncParallel(new Runnable() {
|
EmailActivity.java | 42 import com.android.emailcommon.utility.EmailAsyncTask; 71 private final EmailAsyncTask.Tracker mTaskTracker = new EmailAsyncTask.Tracker();
|
UIControllerTwoPane.java | 35 import com.android.emailcommon.utility.EmailAsyncTask; 536 static class RefreshTask extends EmailAsyncTask<Void, Void, Boolean> { 545 public RefreshTask(EmailAsyncTask.Tracker tracker, Context context, long accountId, 552 RefreshTask(EmailAsyncTask.Tracker tracker, Context context, long accountId,
|
MessageOrderManager.java | 23 import com.android.emailcommon.utility.EmailAsyncTask; 318 private class LoadMessageListTask extends EmailAsyncTask<Void, Void, Cursor> {
|
MessageViewFragmentBase.java | 76 import com.android.emailcommon.utility.EmailAsyncTask; 203 private final EmailAsyncTask.Tracker mTaskTracker = new EmailAsyncTask.Tracker(); [all...] |
MailboxListFragment.java | 50 import com.android.emailcommon.utility.EmailAsyncTask; 177 private final EmailAsyncTask.Tracker mTaskTracker = new EmailAsyncTask.Tracker(); 614 static class FindParentMailboxTask extends EmailAsyncTask<Void, Void, Long[]> { 635 public FindParentMailboxTask(Context context, EmailAsyncTask.Tracker taskTracker, [all...] |
UIControllerBase.java | 42 import com.android.emailcommon.utility.EmailAsyncTask; 69 final EmailAsyncTask.Tracker mTaskTracker = new EmailAsyncTask.Tracker(); [all...] |
MessageListFragment.java | 68 import com.android.emailcommon.utility.EmailAsyncTask; 155 private final EmailAsyncTask.Tracker mTaskTracker = new EmailAsyncTask.Tracker(); 810 private class MessageOpenTask extends EmailAsyncTask<Void, Void, Integer> { [all...] |
MessageCompose.java | 82 import com.android.emailcommon.utility.EmailAsyncTask; 204 private final EmailAsyncTask.Tracker mTaskTracker = new EmailAsyncTask.Tracker(); 452 private class QuickResponseChecker extends EmailAsyncTask<Void, Void, Boolean> { 453 public QuickResponseChecker(EmailAsyncTask.Tracker tracker) { [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSettingsEditQuickResponsesFragment.java | 26 import com.android.emailcommon.utility.EmailAsyncTask; 62 private EmailAsyncTask.Tracker mTaskTracker; 92 EmailAsyncTask.runAsyncParallel(new Runnable() { 141 public static class QuickResponseFinder extends EmailAsyncTask<Void, Void, QuickResponse[]> { 166 public QuickResponseFinder(EmailAsyncTask.Tracker tracker, long accountId, 235 mTaskTracker = new EmailAsyncTask.Tracker();
|
MailboxSettings.java | 43 import com.android.emailcommon.utility.EmailAsyncTask; 66 private final EmailAsyncTask.Tracker mTaskTracker = new EmailAsyncTask.Tracker(); 152 private class LoadMailboxTask extends EmailAsyncTask<Void, Void, Void> { 298 * allowed to touch the database, so it uses {@link EmailAsyncTask} to do the save on a bg 316 new EmailAsyncTask<Void, Void, Void> (null /* no cancel */) {
|
EditQuickResponseDialog.java | 22 import com.android.emailcommon.utility.EmailAsyncTask; 148 EmailAsyncTask.runAsyncParallel(new Runnable() {
|
AccountSetupNames.java | 45 import com.android.emailcommon.utility.EmailAsyncTask; 136 new EmailAsyncTask<Void, Void, String>(null) {
|
/packages/apps/Email/src/com/android/email/service/ |
AccountService.java | 36 import com.android.emailcommon.utility.EmailAsyncTask; 103 EmailAsyncTask.runAsyncSerial(new Runnable() {
|
MailService.java | 48 import com.android.emailcommon.utility.EmailAsyncTask; 141 EmailAsyncTask.runAsyncParallel(new Runnable() { 162 EmailAsyncTask.runAsyncParallel(new Runnable() { 218 EmailAsyncTask.runAsyncParallel(new Runnable() { 243 EmailAsyncTask.runAsyncParallel(new Runnable() { 256 EmailAsyncTask.runAsyncParallel(new Runnable() {
|
/packages/apps/Email/src/com/android/email/ |
Controller.java | 56 import com.android.emailcommon.utility.EmailAsyncTask; 684 EmailAsyncTask.runAsyncParallel(new Runnable() { 748 EmailAsyncTask.runAsyncParallel(new Runnable() { 762 EmailAsyncTask.runAsyncParallel(new Runnable() { [all...] |
Email.java | 36 import com.android.emailcommon.utility.EmailAsyncTask; 93 EmailAsyncTask.runAsyncParallel(new Runnable() {
|