Home
last modified time | relevance | path

Searched refs:newAccount (Results 1 – 20 of 20) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAnimatedAdapter.java186 public void onChanged(Account newAccount) {
187 if (setAccount(newAccount)) {
214 private boolean setAccount(Account newAccount) { in setAccount() argument
216 if (mAccount != null && mAccount.uri.equals(newAccount.uri) in setAccount()
218 newAccount.settings.importanceMarkersEnabled in setAccount()
220 newAccount.supportsCapability(UIProvider.AccountCapabilities.UNDO) in setAccount()
221 && mAccount.settings.convListIcon == newAccount.settings.convListIcon) { in setAccount()
227 mAccount = newAccount; in setAccount()
233 .toString(newAccount.settings.convListIcon == ConversationListIcon.SENDER_IMAGE)); in setAccount()
235 (newAccount.settings.replyBehavior == UIProvider.DefaultReplyBehavior.REPLY) in setAccount()
[all …]
DAbstractConversationViewFragment.java118 public void onChanged(Account newAccount) {
120 mAccount = newAccount;
122 onAccountChanged(newAccount, oldAccount);
230 protected abstract void onAccountChanged(Account newAccount, Account oldAccount); in onAccountChanged() argument
DCustomViewToolbar.java47 public void onChanged(Account newAccount) {
48 setSearchButtonVisibility(newAccount);
DRecentFolderList.java73 public void onChanged(Account newAccount) {
74 setCurrentAccount(newAccount);
DActionBarController.java98 public void onChanged(Account newAccount) {
99 updateAccount(newAccount);
DConversationListFragment.java153 public void onChanged(Account newAccount) {
154 mAccount = newAccount;
DSecureConversationViewFragment.java222 public void onAccountChanged(Account newAccount, Account oldAccount) { in onAccountChanged() argument
DFolderListFragment.java379 public void onChanged(Account newAccount) { in onActivityCreated()
380 setSelectedAccount(newAccount); in onActivityCreated()
DAbstractActivityController.java2884 Account newAccount = allAccounts[0];
2888 newAccount = currentFromList;
2901 newAccount = account;
2909 changeAccount(newAccount);
DConversationViewFragment.java267 public void onAccountChanged(Account newAccount, Account oldAccount) { in onAccountChanged() argument
269 if (isOverviewMode(newAccount) != isOverviewMode(oldAccount)) { in onAccountChanged()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
DAccountsTestHelper.java63 Account newAccount = new Account(account.name, account.type); in addTestAccount() local
64 assertTrue(mAccountManager.addAccountExplicitly(newAccount, null, null)); in addTestAccount()
65 mAddedAccounts.add(newAccount); in addTestAccount()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java819 private void maybeReplaceOldAccount(PhoneAccount newAccount) { in maybeReplaceOldAccount() argument
820 UserHandle newAccountUserHandle = newAccount.getAccountHandle().getUserHandle(); in maybeReplaceOldAccount()
828 if (!defaultHandle.groupId.equals(newAccount.getGroupId())) { in maybeReplaceOldAccount()
832 if (Objects.equals(newAccount.getAccountHandle().getComponentName(), in maybeReplaceOldAccount()
836 setUserSelectedOutgoingPhoneAccount(newAccount.getAccountHandle(), in maybeReplaceOldAccount()
842 PhoneAccount replacementAccount = getPhoneAccountByGroupId(newAccount.getGroupId(), in maybeReplaceOldAccount()
843 newAccount.getAccountHandle().getComponentName(), newAccountUserHandle, in maybeReplaceOldAccount()
844 newAccount.getAccountHandle()); in maybeReplaceOldAccount()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DVeiledAddressMatcher.java83 public void onChanged(Account newAccount) {
84 loadPattern(newAccount.settings.veiledAddressPattern);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DAccountsSettingsFragment.java400 final String newAccount = in onClick() local
404 .putString(PREF_ACCOUNT_NAME, newAccount) in onClick()
406 AccountStateChangedListener.onAccountSignedIn(oldAccount, newAccount); in onClick()
/packages/apps/Contacts/src/com/android/contacts/editor/
DRawContactEditorView.java108 AccountWithDataSet oldAccount, AccountWithDataSet newAccount); in onRebindEditorsForNewContact() argument
818 final AccountWithDataSet newAccount = adapter.getItem(position); in addAccountSelector()
819 if (mListener != null && !mPrimaryAccount.equals(newAccount)) { in addAccountSelector()
824 newAccount); in addAccountSelector()
DAccountHeaderPresenter.java189 final AccountWithDataSet newAccount = adapter.getItem(position); in showPopup()
190 setCurrentAccount(newAccount); in showPopup()
DContactEditorFragment.java1333 AccountWithDataSet newAccount) { in rebindEditorsForNewContact() argument
1336 AccountType newAccountType = accountTypes.getAccountTypeForAccount(newAccount); in rebindEditorsForNewContact()
1341 setStateForNewContact(newAccount, newAccountType, oldState, oldAccountType, in rebindEditorsForNewContact()
1706 AccountWithDataSet oldAccount, AccountWithDataSet newAccount) { in onRebindEditorsForNewContact() argument
1708 rebindEditorsForNewContact(oldState, oldAccount, newAccount); in onRebindEditorsForNewContact()
/packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/accounts/
DAccountStateChangedListener.java46 public static void onAccountSignedIn(@Nullable String oldAccount, @NonNull String newAccount) { in onAccountSignedIn() argument
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DAccountObserver.java80 public abstract void onChanged(Account newAccount); in onChanged() argument
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSelectedConversationsActionMenu.java104 public void onChanged(Account newAccount) { in SelectedConversationsActionMenu()
105 mAccount = newAccount; in SelectedConversationsActionMenu()