HomeSort by relevance Sort by last modified time
    Searched refs:RecipientEntry (Results 1 - 7 of 7) sorted by null

  /frameworks/ex/chips/src/com/android/ex/chips/
RecipientEntry.java 26 public class RecipientEntry {
30 * information passed in to the RecipientEntry from an external source
74 private RecipientEntry(int entryType) {
87 private RecipientEntry(
105 * Determine if this was a RecipientEntry created from recipient info or
109 return id == RecipientEntry.INVALID_CONTACT || id == RecipientEntry.GENERATED_CONTACT;
113 * Construct a RecipientEntry from just an address that has been entered.
117 public static RecipientEntry constructFakeEntry(String address) {
118 return new RecipientEntry(ENTRY_TYPE_PERSON, address, address
    [all...]
SingleRecipientArrayAdapter.java 28 class SingleRecipientArrayAdapter extends ArrayAdapter<RecipientEntry> {
33 public SingleRecipientArrayAdapter(Context context, int resourceId, RecipientEntry entry) {
34 super(context, resourceId, new RecipientEntry[] {
54 private void bindView(View view, Context context, RecipientEntry entry) {
RecipientChip.java 37 private RecipientEntry mEntry;
43 public RecipientChip(Drawable drawable, RecipientEntry entry, int offset) {
96 * Get associated RecipientEntry.
98 public RecipientEntry getEntry() {
BaseRecipientAdapter.java 170 public final List<RecipientEntry> entries;
171 public final LinkedHashMap<Long, List<RecipientEntry>> entryMap;
172 public final List<RecipientEntry> nonAggregatedEntries;
176 public DefaultFilterResult(List<RecipientEntry> entries,
177 LinkedHashMap<Long, List<RecipientEntry>> entryMap,
178 List<RecipientEntry> nonAggregatedEntries,
222 final LinkedHashMap<Long, List<RecipientEntry>> entryMap =
223 new LinkedHashMap<Long, List<RecipientEntry>>();
224 final List<RecipientEntry> nonAggregatedEntries =
225 new ArrayList<RecipientEntry>();
    [all...]
RecipientAlternatesAdapter.java 58 public static HashMap<String, RecipientEntry> getMatchingRecipients(Context context,
64 * Get a HashMap of address to RecipientEntry that contains all contact
70 * @return HashMap<String,RecipientEntry>
72 public static HashMap<String, RecipientEntry> getMatchingRecipients(Context context,
97 HashMap<String, RecipientEntry> recipientEntries = new HashMap<String, RecipientEntry>();
109 recipientEntries.put(address, RecipientEntry.constructTopLevelEntry(
225 public RecipientEntry getRecipientEntry(int position) {
228 return RecipientEntry.constructTopLevelEntry(
264 RecipientEntry entry = getRecipientEntry(position)
    [all...]
RecipientEditTextView.java 385 && mSelectedChip.getEntry().getContactId() != RecipientEntry.INVALID_CONTACT) {
451 private Bitmap createSelectedChip(RecipientEntry contact, TextPaint paint, Layout layout) {
493 private Bitmap createUnselectedChip(RecipientEntry contact, TextPaint paint, Layout layout) {
518 if (contact.getContactId() != RecipientEntry.INVALID_CONTACT) {
567 /*package*/ Drawable getChipBackground(RecipientEntry contact) {
579 private RecipientChip constructChipSpan(RecipientEntry contact, int offset, boolean pressed)
    [all...]
  /frameworks/ex/chips/tests/src/com/android/ex/chips/
ChipsTest.java 32 import com.android.ex.chips.RecipientEntry;
38 private RecipientEntry[] mMockEntries;
63 Drawable getChipBackground(RecipientEntry contact) {
102 Drawable getChipBackground(RecipientEntry contact) {
137 RecipientEntry entry = RecipientEntry.constructGeneratedEntry("User Name, Jr",
146 RecipientEntry alreadyFormatted = RecipientEntry.constructFakeEntry("user@username.com, ");
153 RecipientEntry alreadyFormattedNoSpace = RecipientEntry
    [all...]

Completed in 89 milliseconds