Searched refs:ReplyFromAccount (Results 1 – 7 of 7) sorted by relevance
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
D | FromAddressSpinner.java | 28 import com.android.mail.providers.ReplyFromAccount; 38 private ReplyFromAccount mAccount; 39 private final List<ReplyFromAccount> mReplyFromAccounts = Lists.newArrayList(); 50 public void setCurrentAccount(ReplyFromAccount account) { in setCurrentAccount() 60 for (ReplyFromAccount acct : mReplyFromAccounts) { in selectCurrentAccount() 70 public ReplyFromAccount getMatchingReplyFromAccount(String accountString) { in getMatchingReplyFromAccount() 72 for (ReplyFromAccount acct : mReplyFromAccounts) { in getMatchingReplyFromAccount() 81 public ReplyFromAccount getCurrentAccount() { in getCurrentAccount() 140 public List<ReplyFromAccount> getReplyFromAccounts() { in getReplyFromAccounts() 150 ReplyFromAccount selection = (ReplyFromAccount) getItemAtPosition(position); in onItemSelected()
|
D | FromAddressSpinnerAdapter.java | 28 import com.android.mail.providers.ReplyFromAccount; 38 public class FromAddressSpinnerAdapter extends ArrayAdapter<ReplyFromAccount> { 58 final ReplyFromAccount fromItem = getItem(position); in getView() 78 final ReplyFromAccount fromItem = getItem(position); in getDropDownView() 100 public void addAccounts(List<ReplyFromAccount> replyFromAccounts) { in addAccounts() 102 for (ReplyFromAccount account : replyFromAccounts) { in addAccounts()
|
D | ComposeActivity.java | 101 import com.android.mail.providers.ReplyFromAccount; 302 protected ReplyFromAccount mReplyFromAccount; 326 private ReplyFromAccount mDraftAccount; 1055 final List<ReplyFromAccount> replyFromAccounts = mFromSpinner.getReplyFromAccounts(); in saveState() 1057 final ReplyFromAccount selectedReplyFromAccount = (replyFromAccounts != null in saveState() 1124 private Message createMessage(ReplyFromAccount selectedReplyFromAccount, Message refMessage, in createMessage() 1178 protected String computeFromForAccount(ReplyFromAccount selectedReplyFromAccount) { in computeFromForAccount() 1217 mReplyFromAccount = ReplyFromAccount.deserialize(mAccount, in initFromSpinner() 1251 private ReplyFromAccount getReplyFromAccountForReply(Account account, Message refMessage) { in getReplyFromAccountForReply() 1254 List<ReplyFromAccount> replyFromAccounts = mFromSpinner.getReplyFromAccounts(); in getReplyFromAccountForReply() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | ReplyFromAccount.java | 34 public class ReplyFromAccount implements Serializable { class 53 public ReplyFromAccount(Account account, Uri baseAccountUri, String address, String name, in ReplyFromAccount() method in ReplyFromAccount 79 public static ReplyFromAccount deserialize(Account account, JSONObject json) { in deserialize() 80 ReplyFromAccount replyFromAccount = null; in deserialize() 88 replyFromAccount = new ReplyFromAccount(account, uri, addressString, nameString, in deserialize() 96 public static ReplyFromAccount deserialize(Account account, String stringExtra) { in deserialize() 97 ReplyFromAccount replyFromAccount = null; in deserialize() 111 List<ReplyFromAccount> replyFromAccounts) { in matchesAccountOrCustomFrom() 122 for (ReplyFromAccount replyFromAccount : replyFromAccounts) { in matchesAccountOrCustomFrom()
|
D | Account.java | 249 private transient List<ReplyFromAccount> mReplyFroms; 812 public List<ReplyFromAccount> getReplyFroms() { in getReplyFroms() 823 mReplyFroms.add(new ReplyFromAccount(this, uri, getEmailAddress(), getSenderName(), in getReplyFroms() 831 final ReplyFromAccount a = ReplyFromAccount.deserialize(this, in getReplyFroms() 853 for (ReplyFromAccount replyFrom : getReplyFroms()) { in ownsFromAddress()
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/compose/ |
D | ComposeActivityTest.java | 35 import com.android.mail.providers.ReplyFromAccount; 141 ReplyFromAccount a = new ReplyFromAccount(mAccount, mAccount.uri, customFrom, in testRecipientsRefReplyAllCustomFromReplyTo() 146 final ReplyFromAccount currentAccount = new ReplyFromAccount(mAccount, mAccount.uri, in testRecipientsRefReplyAllCustomFromReplyTo() 181 final ReplyFromAccount currentAccount = new ReplyFromAccount(mAccount, mAccount.uri, in testRecipientsRefReplyAllOnlyAccount() 218 ReplyFromAccount a = new ReplyFromAccount(mAccount, mAccount.uri, customFrom, in testRecipientsRefReplyAllOnlyCustomFrom() 223 final ReplyFromAccount currentAccount = new ReplyFromAccount(mAccount, mAccount.uri, in testRecipientsRefReplyAllOnlyCustomFrom() 549 ReplyFromAccount a = new ReplyFromAccount(mAccount, mAccount.uri, refMessage.getFrom(), in brokentestRecipientsRefMessageReplyToCustomFrom() 554 final ReplyFromAccount currentAccount = new ReplyFromAccount(mAccount, mAccount.uri, in brokentestRecipientsRefMessageReplyToCustomFrom() 592 ReplyFromAccount a = new ReplyFromAccount(mAccount, mAccount.uri, customFrom, in brokentestRecipientsRefMessageReplyAllCustomFrom() 597 final ReplyFromAccount currentAccount = new ReplyFromAccount(mAccount, mAccount.uri, in brokentestRecipientsRefMessageReplyAllCustomFrom() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/ |
D | MockUiProvider.java | 31 import com.android.mail.providers.ReplyFromAccount; 329 ArrayList<ReplyFromAccount> list = new ArrayList<ReplyFromAccount>(); in createAccountDetailsMap() 330 list.add(new ReplyFromAccount(null, Uri.parse(accountUri), "customAddress1@custom.com", in createAccountDetailsMap() 332 list.add(new ReplyFromAccount(null, Uri.parse(accountUri), "customAddress2@custom.com", in createAccountDetailsMap() 334 for (ReplyFromAccount a : list) { in createAccountDetailsMap()
|