Home
last modified time | relevance | path

Searched refs:mCurrentAccount (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/editor/
DAccountHeaderPresenter.java59 private AccountWithDataSet mCurrentAccount; field in AccountHeaderPresenter
90 if (mCurrentAccount != null && mCurrentAccount.equals(account)) { in setCurrentAccount()
93 mCurrentAccount = account; in setCurrentAccount()
104 if (mCurrentAccount == null || !AccountInfo.contains(mAccounts, mCurrentAccount)) { in setAccounts()
105 mCurrentAccount = mAccounts.isEmpty() ? null : accounts.get(0).getAccount(); in setAccounts()
112 return mCurrentAccount != null ? mCurrentAccount : null; in getCurrentAccount()
116 outState.putParcelable(KEY_SELECTED_ACCOUNT, mCurrentAccount); in onSaveInstanceState()
121 if (mCurrentAccount == null) { in onRestoreInstanceState()
122 mCurrentAccount = savedInstanceState.getParcelable(KEY_SELECTED_ACCOUNT); in onRestoreInstanceState()
129 if (mCurrentAccount == null) return; in updateDisplayedAccount()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DFolderListFragment.java200 protected Account mCurrentAccount; field in FolderListFragment
667 if (mCurrentAccount == null || account == null || in onAccountSelected()
668 !mCurrentAccount.getEmailAddress().equals(account.getEmailAddress())) { in onAccountSelected()
691 folderListUri = mCurrentAccount.folderListUri; in onCreateLoader()
694 folderListUri = mCurrentAccount.allFolderListUri; in onCreateLoader()
989 mAccountController.switchToDefaultInboxOrChangeAccount(mCurrentAccount); in rebuildFolderList()
1005 if(!mCurrentAccount.isAccountReady()) { in recalculateListFolders()
1083 && mCurrentAccount != null && mAccountController != null in recalculateDividedListFolders()
1086 folderName, mCurrentAccount.getEmailAddress()); in recalculateDividedListFolders()
1087 changeAccount(mCurrentAccount); in recalculateDividedListFolders()
[all …]