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

  /frameworks/ex/chips/src/com/android/ex/chips/recipientchip/
BaseRecipientChip.java 19 import com.android.ex.chips.RecipientEntry;
58 * Get associated RecipientEntry.
60 RecipientEntry getEntry();
SimpleRecipientChip.java 19 import com.android.ex.chips.RecipientEntry;
32 private final RecipientEntry mEntry;
38 public SimpleRecipientChip(final RecipientEntry entry) {
77 public RecipientEntry getEntry() {
InvisibleRecipientChip.java 24 import com.android.ex.chips.RecipientEntry;
33 public InvisibleRecipientChip(final RecipientEntry entry) {
70 public RecipientEntry getEntry() {
VisibleRecipientChip.java 25 import com.android.ex.chips.RecipientEntry;
34 public VisibleRecipientChip(final Drawable drawable, final RecipientEntry entry) {
71 public RecipientEntry getEntry() {
  /frameworks/ex/chips/src/com/android/ex/chips/
RecipientEntry.java 28 public class RecipientEntry {
32 * information passed in to the RecipientEntry from an external source
79 private RecipientEntry(int entryType, String displayName, String destination,
102 * Determine if this was a RecipientEntry created from recipient info or
106 return id == RecipientEntry.INVALID_CONTACT || id == RecipientEntry.GENERATED_CONTACT;
110 * Construct a RecipientEntry from just an address that has been entered.
114 public static RecipientEntry constructFakeEntry(final String address, final boolean isValid) {
118 return new RecipientEntry(ENTRY_TYPE_PERSON, tokenizedAddress, tokenizedAddress,
124 * Construct a RecipientEntry from just a phone number
    [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 static void bindView(View view, RecipientEntry entry) {
BaseRecipientAdapter.java 196 public final List<RecipientEntry> entries;
197 public final LinkedHashMap<Long, List<RecipientEntry>> entryMap;
198 public final List<RecipientEntry> nonAggregatedEntries;
202 public DefaultFilterResult(List<RecipientEntry> entries,
203 LinkedHashMap<Long, List<RecipientEntry>> entryMap,
204 List<RecipientEntry> nonAggregatedEntries,
249 final LinkedHashMap<Long, List<RecipientEntry>> entryMap =
250 new LinkedHashMap<Long, List<RecipientEntry>>();
251 final List<RecipientEntry> nonAggregatedEntries =
252 new ArrayList<RecipientEntry>();
    [all...]
RecipientAlternatesAdapter.java 69 public void matchesFound(Map<String, RecipientEntry> results);
82 * Get a HashMap of address to RecipientEntry that contains all contact
89 * @return HashMap<String,RecipientEntry>
119 HashMap<String, RecipientEntry> recipientEntries = null;
185 final Map<String, RecipientEntry> entries =
205 final Map<String, RecipientEntry> entries =
217 private static HashMap<String, RecipientEntry> processContactEntries(Cursor c) {
218 HashMap<String, RecipientEntry> recipientEntries = new HashMap<String, RecipientEntry>();
223 final RecipientEntry newRecipientEntry = RecipientEntry.constructTopLevelEntry
    [all...]
RecipientEditTextView.java 439 public void onChanged(List<RecipientEntry> entries) {
475 if (mSelectedChip != null && contactId != RecipientEntry.INVALID_CONTACT
476 && (!isPhoneQuery() && contactId != RecipientEntry.GENERATED_CONTACT)) {
546 private Bitmap createSelectedChip(RecipientEntry contact, TextPaint paint) {
588 private Bitmap createUnselectedChip(RecipientEntry contact, TextPaint paint,
616 contactId != RecipientEntry.INVALID_CONTACT
617 : (contactId != RecipientEntry.INVALID_CONTACT
618 && (contactId != RecipientEntry.GENERATED_CONTACT &&
668 /* package */Drawable getChipBackground(RecipientEntry contact) {
679 private DrawableRecipientChip constructChipSpan(RecipientEntry contact, boolean pressed
    [all...]
  /frameworks/ex/chips/tests/src/com/android/ex/chips/
RecipientAlternatesAdapterTest.java 26 import com.android.ex.chips.RecipientEntry;
111 final RecipientEntry entry1 =
112 RecipientEntry.constructFakeEntry("1@android.com", true);
113 final RecipientEntry entry2 = null;
121 final RecipientEntry entry1 =
122 RecipientEntry.constructTopLevelEntry("Android", DisplayNameSources.NICKNAME,
125 final RecipientEntry entry2 = RecipientEntry.constructFakeEntry("1@android.com", true);
134 final RecipientEntry entry1 =
135 RecipientEntry.constructTopLevelEntry("Android", DisplayNameSources.NICKNAME
    [all...]
ChipsTest.java 33 import com.android.ex.chips.RecipientEntry;
43 private RecipientEntry[] mMockEntries;
68 Drawable getChipBackground(RecipientEntry contact) {
107 Drawable getChipBackground(RecipientEntry contact) {
147 RecipientEntry entry = RecipientEntry.constructGeneratedEntry("User Name, Jr",
155 RecipientEntry alreadyFormatted =
156 RecipientEntry.constructFakeEntry("user@username.com, ", true);
163 RecipientEntry alreadyFormattedNoSpace = RecipientEntry
    [all...]

Completed in 41 milliseconds