Home
last modified time | relevance | path

Searched refs:newAccount (Results 1 – 23 of 23) 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);
DSecureConversationViewFragment.java222 public void onAccountChanged(Account newAccount, Account oldAccount) { in onAccountChanged() argument
DConversationListFragment.java153 public void onChanged(Account newAccount) {
154 mAccount = newAccount;
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/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/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java935 private void maybeReplaceOldAccount(PhoneAccount newAccount) { in maybeReplaceOldAccount() argument
936 UserHandle newAccountUserHandle = newAccount.getAccountHandle().getUserHandle(); in maybeReplaceOldAccount()
944 if (!defaultHandle.groupId.equals(newAccount.getGroupId())) { in maybeReplaceOldAccount()
948 if (Objects.equals(newAccount.getAccountHandle().getComponentName(), in maybeReplaceOldAccount()
952 setUserSelectedOutgoingPhoneAccount(newAccount.getAccountHandle(), in maybeReplaceOldAccount()
958 PhoneAccount replacementAccount = getPhoneAccountByGroupId(newAccount.getGroupId(), in maybeReplaceOldAccount()
959 newAccount.getAccountHandle().getComponentName(), newAccountUserHandle, in maybeReplaceOldAccount()
960 newAccount.getAccountHandle()); in maybeReplaceOldAccount()
/packages/apps/Contacts/src/com/android/contacts/editor/
DAccountHeaderPresenter.java189 final AccountWithDataSet newAccount = adapter.getItem(position); in showPopup()
190 setCurrentAccount(newAccount); in showPopup()
DRawContactEditorView.java108 AccountWithDataSet oldAccount, AccountWithDataSet newAccount); in onRebindEditorsForNewContact() argument
825 final AccountWithDataSet newAccount = adapter.getItem(position); in addAccountSelector()
826 if (mListener != null && !mPrimaryAccount.equals(newAccount)) { in addAccountSelector()
831 newAccount); in addAccountSelector()
DContactEditorFragment.java1381 AccountWithDataSet newAccount) { in rebindEditorsForNewContact() argument
1384 AccountType newAccountType = accountTypes.getAccountTypeForAccount(newAccount); in rebindEditorsForNewContact()
1389 setStateForNewContact(newAccount, newAccountType, oldState, oldAccountType, in rebindEditorsForNewContact()
1754 AccountWithDataSet oldAccount, AccountWithDataSet newAccount) { in onRebindEditorsForNewContact() argument
1756 rebindEditorsForNewContact(oldState, oldAccount, newAccount); in onRebindEditorsForNewContact()
/packages/services/Telephony/src/com/android/services/telephony/
DTelecomAccountRegistry.java177 PhoneAccount newAccount = buildPstnPhoneAccount(mIsEmergency, mIsDummy); in reRegisterPstnPhoneAccount() local
178 if (!newAccount.equals(mAccount)) { in reRegisterPstnPhoneAccount()
181 mTelecomManager.registerPhoneAccount(newAccount); in reRegisterPstnPhoneAccount()
182 mAccount = newAccount; in reRegisterPstnPhoneAccount()
/packages/inputmethods/LatinIME/java/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/Dialer/java/com/android/dialer/preferredsim/suggestion/stub/
DStubSuggestionProvider.java48 @NonNull Context context, @NonNull String number, PhoneAccountHandle newAccount) {} in reportIncorrectSuggestion() argument
/packages/apps/Dialer/java/com/android/dialer/preferredsim/suggestion/
DSuggestionProvider.java79 @NonNull Context context, @NonNull String number, @NonNull PhoneAccountHandle newAccount); in reportIncorrectSuggestion() argument
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSelectedConversationsActionMenu.java104 public void onChanged(Account newAccount) { in SelectedConversationsActionMenu()
105 mAccount = newAccount; in SelectedConversationsActionMenu()