/packages/apps/Email/src/com/android/email/ |
H A D | MessageListContext.java | 70 long accountId = intent.getLongExtra(EmailActivity.EXTRA_ACCOUNT_ID, Account.NO_ACCOUNT); 79 if (accountId == Account.NO_ACCOUNT) { 81 if (accountId == Account.NO_ACCOUNT) { 110 Preconditions.checkArgument(accountId != Account.NO_ACCOUNT, "Must specify an account");
|
H A D | NotificationController.java | 99 * Suspend notifications for this account. If {@link Account#NO_ACCOUNT}, no 103 private long mSuspendAccountId = Account.NO_ACCOUNT; 288 if (mSuspendAccountId != Account.NO_ACCOUNT) { 290 mSuspendAccountId = Account.NO_ACCOUNT; 292 if (suspend && accountId != Account.NO_ACCOUNT && accountId > 0L) {
|
H A D | Preferences.java | 277 return mSharedPreferences.getLong(LAST_ACCOUNT_USED, Account.NO_ACCOUNT);
|
H A D | Controller.java | 565 if (accountId == Account.NO_ACCOUNT) { 568 if (accountId == Account.NO_ACCOUNT) { 894 if (accountId == Account.NO_ACCOUNT) return;
|
H A D | MessagingController.java | 144 private long mLastSearchAccountKey = Account.NO_ACCOUNT;
|
/packages/apps/Email/src/com/android/email/activity/ |
H A D | MessageList.java | 53 if ((accountId == null) || (accountId == Account.NO_ACCOUNT)) { 75 return Account.NO_ACCOUNT;
|
H A D | Welcome.java | 307 // If the UUID is invalid, accountId will be NO_ACCOUNT. 310 } else if (inputAccountId != Account.NO_ACCOUNT) { 316 accountId = Account.NO_ACCOUNT; 322 if (lastUsedId != Account.NO_ACCOUNT) { 325 lastUsedId = Account.NO_ACCOUNT; 326 Preferences.getPreferences(context).setLastUsedAccountId(Account.NO_ACCOUNT); 329 accountId = (lastUsedId == Account.NO_ACCOUNT) 333 if (accountId != Account.NO_ACCOUNT) { 401 mAccountId = Account.NO_ACCOUNT;
|
H A D | MoveMessageToDialog.java | 209 if (idSet == null || idSet.mAccountId == Account.NO_ACCOUNT 261 * will be {@link Account#NO_ACCOUNT} and {@link Mailbox#NO_MAILBOX}. 277 long accountId = Account.NO_ACCOUNT; 288 if (accountId == Account.NO_ACCOUNT) { 294 accountId = Account.NO_ACCOUNT; 301 accountId = Account.NO_ACCOUNT; 309 accountId = Account.NO_ACCOUNT;
|
H A D | MessageFileView.java | 127 return ActivityHelper.openUrlInMessage(this, url, Account.NO_ACCOUNT);
|
H A D | UIControllerBase.java | 504 return getUIAccountId() != Account.NO_ACCOUNT; 517 * it'll return {@link Account#NO_ACCOUNT}. 522 return isActualAccountSelected() ? getUIAccountId() : Account.NO_ACCOUNT; 529 * Must never be {@link Account#NO_ACCOUNT}. 928 if (accountId != Account.NO_ACCOUNT) { 1034 if (accountId != Account.NO_ACCOUNT && accountId != Account.NO_ACCOUNT) {
|
H A D | ActionBarController.java | 101 private long mLastAccountIdForDirtyCheck = Account.NO_ACCOUNT; 396 if (accountId != Account.NO_ACCOUNT) { 448 if ((mCursor.getAccountId() != Account.NO_ACCOUNT) && !mCursor.accountExists()) {
|
H A D | UIControllerTwoPane.java | 303 :Account.NO_ACCOUNT; 326 return getActualAccountId() != Account.NO_ACCOUNT 611 if (mAccountId != Account.NO_ACCOUNT) {
|
H A D | AccountSelectorAdapter.java | 259 return c.moveToPosition(position) ? getId(c) : Account.NO_ACCOUNT; 269 : Account.NO_ACCOUNT; 382 if (mAccountId == Account.NO_ACCOUNT) { 457 Account.NO_ACCOUNT);
|
H A D | MessageCompose.java | 255 * Compose a new message using the given account. If account is {@link Account#NO_ACCOUNT} 341 if (accountId != Account.NO_ACCOUNT) { 346 accountId = Account.NO_ACCOUNT; 350 if (accountId == Account.NO_ACCOUNT) { 352 if (accountId != Account.NO_ACCOUNT) { 357 accountId = Account.NO_ACCOUNT; 362 if (accountId == Account.NO_ACCOUNT || account == null) {
|
H A D | UIControllerOnePane.java | 306 return Account.NO_ACCOUNT;
|
H A D | MessageViewFragmentBase.java | 141 private long mAccountId = Account.NO_ACCOUNT;
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
H A D | MessageListTests.java | 61 assertEquals(Account.NO_ACCOUNT, MessageList.getAccountFromIntent(c,
|
/packages/apps/Email/src/com/android/email/widget/ |
H A D | WidgetManager.java | 140 * Returns the saved account ID for the given widget. Otherwise, {@link Account#NO_ACCOUNT} if 145 long accountId = prefs.getLong(ACCOUNT_ID_PREFIX + appWidgetId, Account.NO_ACCOUNT);
|
H A D | EmailWidget.java | 116 private long mAccountId = Account.NO_ACCOUNT; 164 if (accountId == Account.NO_ACCOUNT) {
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
H A D | Account.java | 68 public static final long NO_ACCOUNT = -1L; field in class:Account 563 * @return the id of the default account, or Account.NO_ACCOUNT if there are no accounts 575 return Account.NO_ACCOUNT;
|
H A D | Policy.java | 142 Account.ID_PROJECTION_COLUMN, Account.NO_ACCOUNT);
|
/packages/apps/Email/src/com/android/email/provider/ |
H A D | EmailProvider.java | 1121 long accountId = Account.NO_ACCOUNT; 1137 } else if ((accountId == Account.NO_ACCOUNT) || (iterId < accountId)) {
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | BaseContactsProvider2Test.java | 90 protected final static Account NO_ACCOUNT = new Account("a", "b"); field in class:BaseContactsProvider2Test 737 if (account == NO_ACCOUNT) {
|