Searched refs:RecipientEntry (Results 1 - 7 of 7) sorted by relevance
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | RecipientEntry.java | 26 public class RecipientEntry { class 30 * information passed in to the RecipientEntry from an external source 74 private RecipientEntry(int entryType) { method in class:RecipientEntry 87 private RecipientEntry( method in class: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_PERSO [all...] |
H A D | 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) {
|
H A D | RecipientChip.java | 37 private RecipientEntry mEntry; 43 public RecipientChip(Drawable drawable, RecipientEntry entry, int offset) { 96 * Get associated RecipientEntry. 98 public RecipientEntry getEntry() {
|
H A D | 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, 223 final LinkedHashMap<Long, List<RecipientEntry>> entryMap = 224 new LinkedHashMap<Long, List<RecipientEntry>>(); 225 final List<RecipientEntry> nonAggregatedEntries = 226 new ArrayList<RecipientEntry>(); [all...] |
H A D | 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 entr [all...] |
H A D | RecipientEditTextView.java | 421 public void onChanged(List<RecipientEntry> entries) { 457 if (mSelectedChip != null && contactId != RecipientEntry.INVALID_CONTACT 458 && (!isPhoneQuery() && contactId != RecipientEntry.GENERATED_CONTACT)) { 527 private Bitmap createSelectedChip(RecipientEntry contact, TextPaint paint, Layout layout) { 569 private Bitmap createUnselectedChip(RecipientEntry contact, TextPaint paint, Layout layout, 597 contactId != RecipientEntry.INVALID_CONTACT 598 : (contactId != RecipientEntry.INVALID_CONTACT 599 && (contactId != RecipientEntry.GENERATED_CONTACT && 649 /*package*/ Drawable getChipBackground(RecipientEntry contact) { 661 private RecipientChip constructChipSpan(RecipientEntry contac [all...] |
/frameworks/ex/chips/tests/src/com/android/ex/chips/ |
H A D | 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 52 milliseconds