/packages/apps/Email/src/com/android/email/widget/ |
WidgetManager.java | 119 static void saveWidgetPrefs(Context context, int appWidgetId, long accountId, long mailboxId) { 123 .putLong(MAILBOX_ID_PREFIX + appWidgetId, mailboxId) 155 long mailboxId = prefs.getLong(MAILBOX_ID_PREFIX + appWidgetId, Mailbox.NO_MAILBOX); 156 return mailboxId;
|
EmailWidget.java | 73 * arguments (e.g. messageId, mailboxId, etc.) in an Uri which is added to the Intent via 161 long mailboxId = WidgetManager.loadMailboxIdPref(mContext, mWidgetId); 165 mailboxId = Mailbox.QUERY_ALL_INBOXES; 168 mLoader.load(mAccountId, mailboxId); 260 private static void openMessage(final Context context, final long mailboxId, 265 Mailbox mailbox = Mailbox.restoreMailboxWithId(context, mailboxId); 268 mailboxId, messageId)); 470 String mailboxId = mCursor.getString(EmailWidgetLoader.WIDGET_COLUMN_MAILBOX_KEY); 472 messageId, mailboxId);
|
EmailWidgetLoader.java | 169 * @param mailboxId The mailbox to load; may either be a real mailbox or the pseudo mailbox 173 void load(long accountId, long mailboxId) { 176 mMailboxId = mailboxId;
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
UIControllerTwoPaneRefreshTaskTest.java | 179 public boolean isMessageListRefreshing(long mailboxId) { 180 Assert.assertEquals(mExpectedMailboxId, mailboxId); 185 public long getLastMessageListRefreshTime(long mailboxId) { 186 Assert.assertEquals(mExpectedMailboxId, mailboxId);
|
MailboxFinderTest.java | 187 final long mailboxId = createMailbox(accountId, Mailbox.TYPE_INBOX); 199 assertEquals(mailboxId, mCallback.mMailboxId); 267 final long mailboxId = createMailbox(accountId, Mailbox.TYPE_INBOX); 288 assertEquals(mailboxId, mCallback.mMailboxId); 354 final long mailboxId = createMailbox(accountId, Mailbox.TYPE_DRAFTS); 442 public void onMailboxFound(long accountId, long mailboxId) { 445 mMailboxId = mailboxId;
|
/packages/apps/Email/src/com/android/email/activity/ |
UIControllerTwoPane.java | 88 public void onMailboxSelected(long accountId, long mailboxId, boolean nestedNavigation) { 89 setListContext(MessageListContext.forMailbox(accountId, mailboxId)); 362 long mailboxId = mListContext.getMailboxId(); 363 if ((getUIAccountId() != accountId) || (getMailboxListMailboxId() != mailboxId)) { 367 MailboxListFragment.newInstance(accountId, mailboxId, enableHighlight)); 547 long mailboxId) { 548 this(tracker, context, accountId, mailboxId, Clock.INSTANCE, 554 long mailboxId, Clock clock, RefreshManager refreshManager) { 560 mMailboxId = mailboxId; 656 public void onMailboxSelected(long accountId, long mailboxId) { [all...] |
AccountSelectorAdapter.java | 106 public static Loader<Cursor> createLoader(Context context, long accountId, long mailboxId) { 107 return new AccountsLoader(context, accountId, mailboxId, UiUtilities.useTwoPane(context)); 309 AccountsLoader(Context context, long accountId, long mailboxId, boolean useTwoPane) { 315 mMailboxId = mailboxId; 510 void setAccountMailboxInfo(Context context, long accountId, long mailboxId) { 512 mMailboxId = mailboxId; 519 if (mailboxId != Mailbox.NO_MAILBOX) { 520 setCombinedMailboxInfo(context, mailboxId); 543 setCombinedMailboxInfo(context, mailboxId); 550 ContentUris.withAppendedId(Mailbox.CONTENT_URI, mailboxId), [all...] |
ActionBarController.java | 168 * @param mailboxId The ID of the selected mailbox, or {@link Mailbox#NO_MAILBOX} if the 171 public void onMailboxSelected(long accountId, long mailboxId); 368 final long mailboxId = mCallback.getMailboxId(); 370 || (mLastMailboxIdForDirtyCheck != mailboxId)) { 372 mLastMailboxIdForDirtyCheck = mailboxId; 375 loadAccountMailboxInfo(accountId, mailboxId); 385 private void loadAccountMailboxInfo(final long accountId, final long mailboxId) { 390 return AccountSelectorAdapter.createLoader(mContext, accountId, mailboxId);
|
MailboxFragmentAdapter.java | 475 private static void addMailboxRow(MatrixCursor cursor, long mailboxId, String displayName, 478 long listId = mailboxId; 479 if (mailboxId < 0) { 480 listId = Long.MAX_VALUE + mailboxId; // IDs for the list view must be positive 484 row.add(mailboxId); 574 for (long mailboxId : recentList) { 575 final Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, mailboxId); 578 ContentUris.withAppendedId(Mailbox.CONTENT_URI, mailboxId), 581 ContentUris.withAppendedId(Mailbox.CONTENT_URI, mailboxId), 583 addMailboxRow(recentCursor, mailboxId, mailbox.mDisplayName, mailbox.mType [all...] |
UIControllerBase.java | 116 public void onMessagingError(final long accountId, long mailboxId, final String message) { 121 public void onRefreshStatusChanged(long accountId, long mailboxId) { 592 protected final void openMailbox(long accountId, long mailboxId) { 593 open(MessageListContext.forMailbox(accountId, mailboxId), Message.NO_MESSAGE); 739 final long mailboxId = searchableMailbox.mId; 743 "Submitting search: [" + queryTerm + "] in mailboxId=" + mailboxId); 747 mActivity, accountId, mailboxId, queryTerm)); 840 final long mailboxId = getMailboxSettingsMailboxId(); 841 if (mailboxId != Mailbox.NO_MAILBOX) [all...] |
Welcome.java | 127 long mailboxId, long messageId) { 131 IntentUtilities.setMailboxId(b, mailboxId); 147 public static Intent createAccountShortcutIntent(Context context, String uuid, long mailboxId) { 151 IntentUtilities.setMailboxId(b, mailboxId); 423 public void onMailboxFound(long accountId, long mailboxId) {
|
ShortcutPickerFragment.java | 60 public void onSelected(Account account, long mailboxId); 68 @Override public void onSelected(Account account, long mailboxId){ getActivity().finish(); } 368 long mailboxId = cursor.getLong(cursor.getColumnIndex(REAL_ID)); 369 mCallback.onSelected(mAccount, mailboxId); 408 long mailboxId = data.getLong(data.getColumnIndex(REAL_ID)); 409 mCallback.onSelected(mAccount, mailboxId);
|
UIControllerOnePane.java | 67 public void onMailboxSelected(long accountId, long mailboxId, boolean nestedNavigation) { 71 openMailbox(accountId, mailboxId); 204 public void onMailboxSelected(long accountId, long mailboxId) { 205 if (mailboxId == Mailbox.NO_MAILBOX) { 208 openMailbox(accountId, mailboxId);
|
MailboxListFragment.java | 80 * - Initialized using the {@code mailboxId} parameter for {@link #newInstance} 87 * - Initialized using the {@code mailboxId} parameter for {@link #newInstance} 236 * @param mailboxId 242 public void onMailboxSelected(long accountId, long mailboxId, boolean nestedNavigation); 255 @Override public void onMailboxSelected(long accountId, long mailboxId, 731 * @param mailboxId The ID of the mailbox to highlight. 733 public void setHighlightedMailbox(long mailboxId) { 735 Log.d(Logging.LOG_TAG, this + " setHighlightedMailbox mailbox=" + mailboxId); 740 if (mHighlightedMailboxId == mailboxId) { 746 mNextHighlightedMailboxId = mailboxId; [all...] |
MessageListFragment.java | 173 * Note {@code mailboxId} is of the actual mailbox of the message, which is different from 743 final long mailboxId = getMailboxId(); 746 } else if (mailboxId > 0 && !mMailbox.canHaveMessagesMoved()) { 757 Long.toString(mailboxId)) [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
SearchParams.java | 52 public SearchParams(long mailboxId, String filter) { 53 mMailboxId = mailboxId;
|
EmailServiceProxy.java | 153 * @param mailboxId the id of the mailbox record 156 public void startSync(final long mailboxId, final boolean userRequest) throws RemoteException { 160 mService.startSync(mailboxId, userRequest); 170 * @param mailboxId the id of the mailbox record 173 public void stopSync(final long mailboxId) throws RemoteException { 177 mService.stopSync(mailboxId); 379 * as destMailboxId. If mailboxId is -1, the entire account will be searched. If firstResult is
|
/packages/apps/Email/src/com/android/email/ |
Controller.java | 217 long mailboxId = c.getLong(EmailContent.ID_PROJECTION_COLUMN); 220 mailboxId); 222 new String[] {Long.toString(mailboxId)}); 370 public void serviceCheckMail(final long accountId, final long mailboxId, final long tag) { 377 // service.startSync(mailboxId, tag); 378 mLegacyListener.checkMailFinished(mContext, accountId, mailboxId, tag); 401 public void updateMailbox(final long accountId, final long mailboxId, boolean userRequest) { 406 service.startSync(mailboxId, userRequest); 420 Mailbox.restoreMailboxWithId(mProviderContext, mailboxId); 479 long mailboxId = findOrCreateMailboxOfType(accountId, mailboxType) [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
MailboxSettings.java | 81 public static final void start(Activity parent, long mailboxId) { 83 i.putExtra(EXTRA_MAILBOX_ID, mailboxId); 91 final long mailboxId = getIntent().getLongExtra(EXTRA_MAILBOX_ID, Mailbox.NO_MAILBOX); 92 if (mailboxId == Mailbox.NO_MAILBOX) { 114 new LoadMailboxTask(mailboxId).executeParallel((Void[]) null); 157 public LoadMailboxTask(long mailboxId) { 159 mMailboxId = mailboxId;
|
/packages/apps/Email/src/com/android/email/service/ |
EmailServiceUtils.java | 127 public void startSync(long mailboxId, boolean userRequest) throws RemoteException { 130 public void stopSync(long mailboxId) throws RemoteException {
|
/packages/apps/Email/tests/src/com/android/email/ |
RefreshManagerTest.java | 450 public void updateMailbox(long accountId, long mailboxId, boolean userRequest) { 453 mMailboxId = mailboxId; 463 public void loadMoreMessages(long mailboxId) { 466 mMailboxId = mailboxId; 495 public void onRefreshStatusChanged(long accountId, long mailboxId) { 497 mMailboxId = mailboxId; 502 public void onMessagingError(long accountId, long mailboxId, String message) { 504 mMailboxId = mailboxId;
|
LegacyConversionsTests.java | 197 final long mailboxId = 1; 201 "local-message", accountId, mailboxId, false, true, mProviderContext); 207 "local-message", accountId, mailboxId, false, true, mProviderContext); 254 final long mailboxId = 1; 288 "local-message", accountId, mailboxId, false, true, mProviderContext); 304 final long mailboxId = 1; 306 "local-message", accountId, mailboxId, false, true, mProviderContext);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
AttachmentUtilities.java | 319 * @param mailboxId the mailbox for the messages 322 long mailboxId) { 325 new String[] { Long.toString(mailboxId) }, null);
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
ProviderTestUtils.java | 157 public static Message setupMessage(String name, long accountId, long mailboxId, 160 return setupMessage(name, accountId, mailboxId, addBody, saveIt, context, true, true); 166 public static Message setupMessage(String name, long accountId, long mailboxId, 184 message.mMailboxKey = mailboxId; 193 message.mMeetingInfo = "123" + accountId + mailboxId + name.length();
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
EmailContent.java | [all...] |