Searched refs:RecipientEntry (Results 1 - 14 of 14) sorted by relevance

/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
H A DBaseRecipientChip.java19 import com.android.ex.chips.RecipientEntry;
68 * Get associated RecipientEntry.
70 RecipientEntry getEntry();
H A DSimpleRecipientChip.java19 import com.android.ex.chips.RecipientEntry;
36 private final RecipientEntry mEntry;
42 public SimpleRecipientChip(final RecipientEntry entry) {
93 public RecipientEntry getEntry() {
H A DInvisibleRecipientChip.java24 import com.android.ex.chips.RecipientEntry;
33 public InvisibleRecipientChip(final RecipientEntry entry) {
80 public RecipientEntry getEntry() {
H A DVisibleRecipientChip.java23 import com.android.ex.chips.RecipientEntry;
32 public VisibleRecipientChip(final Drawable drawable, final RecipientEntry entry) {
78 public RecipientEntry getEntry() {
/frameworks/opt/chips/src/com/android/ex/chips/
H A DPhotoManager.java29 * Sets the {@link com.android.ex.chips.RecipientEntry}'s photo bytes. If the photo bytes
39 void populatePhotoBytesAsync(RecipientEntry entry, PhotoManagerCallback callback);
H A DRecipientEntry.java28 public class RecipientEntry { class
32 * information passed in to the RecipientEntry from an external source
82 protected RecipientEntry(int entryType, String displayName, String destination, method in class:RecipientEntry
107 * Determine if this was a RecipientEntry created from recipient info or
111 return id == RecipientEntry.INVALID_CONTACT || id == RecipientEntry.GENERATED_CONTACT;
115 * Construct a RecipientEntry from just an address that has been entered.
119 public static RecipientEntry constructFakeEntry(final String address, final boolean isValid) {
123 return new RecipientEntry(ENTRY_TYPE_PERSON, tokenizedAddress, tokenizedAddress,
129 * Construct a RecipientEntry fro
[all...]
H A DSingleRecipientArrayAdapter.java27 class SingleRecipientArrayAdapter extends ArrayAdapter<RecipientEntry> {
31 public SingleRecipientArrayAdapter(Context context, RecipientEntry entry,
36 public SingleRecipientArrayAdapter(Context context, RecipientEntry entry,
40 new RecipientEntry[] { entry });
H A DBaseRecipientAdapter.java181 public final List<RecipientEntry> entries;
182 public final LinkedHashMap<Long, List<RecipientEntry>> entryMap;
183 public final List<RecipientEntry> nonAggregatedEntries;
187 public DefaultFilterResult(List<RecipientEntry> entries,
188 LinkedHashMap<Long, List<RecipientEntry>> entryMap,
189 List<RecipientEntry> nonAggregatedEntries,
235 final LinkedHashMap<Long, List<RecipientEntry>> entryMap =
236 new LinkedHashMap<Long, List<RecipientEntry>>();
237 final List<RecipientEntry> nonAggregatedEntries =
238 new ArrayList<RecipientEntry>();
[all...]
H A DRecipientEditTextView.java382 * @return The list of {@link RecipientEntry}s that have been selected by the user.
384 public List<RecipientEntry> getSelectedRecipients() {
387 List<RecipientEntry> results = new ArrayList();
486 public void onChanged(List<RecipientEntry> entries) {
527 if (mSelectedChip != null && contactId != RecipientEntry.INVALID_CONTACT
528 && (!isPhoneQuery() && contactId != RecipientEntry.GENERATED_CONTACT)) {
604 private Bitmap createSelectedChip(RecipientEntry contact, TextPaint paint) {
622 private Bitmap createUnselectedChip(RecipientEntry contact, TextPaint paint) {
633 private ChipBitmapContainer createChipBitmap(RecipientEntry contact, TextPaint paint,
727 private void loadAvatarIcon(final RecipientEntry contac
[all...]
H A DDefaultPhotoManager.java33 * queries for photo bytes by using the {@link com.android.ex.chips.RecipientEntry}'s
64 public void populatePhotoBytesAsync(RecipientEntry entry, PhotoManagerCallback callback) {
85 private void fetchPhotoAsync(final RecipientEntry entry, final Uri photoThumbnailUri,
H A DRecipientAlternatesAdapter.java72 public void matchesFound(Map<String, RecipientEntry> results);
85 * Get a HashMap of address to RecipientEntry that contains all contact
121 HashMap<String, RecipientEntry> recipientEntries = null;
147 Map<String, RecipientEntry> recipientEntries, Set<String> addresses,
156 Map<String, RecipientEntry> recipientEntries, Set<String> addresses,
211 final Map<String, RecipientEntry> entries =
234 final Map<String, RecipientEntry> entries =
246 private static HashMap<String, RecipientEntry> processContactEntries(Cursor c,
248 HashMap<String, RecipientEntry> recipientEntries = new HashMap<String, RecipientEntry>();
[all...]
H A DDropdownChipLayouter.java71 public View bindView(View convertView, ViewGroup parent, RecipientEntry entry, int position,
77 * See {@link #bindView(View, ViewGroup, RecipientEntry, int, AdapterType, String)}
80 public View bindView(View convertView, ViewGroup parent, RecipientEntry entry, int position,
179 protected void bindIconToView(boolean showImage, RecipientEntry entry, ImageView view,
238 protected CharSequence getDestinationType(RecipientEntry entry) {
/frameworks/opt/chips/tests/src/com/android/ex/chips/
H A DRecipientAlternatesAdapterTest.java26 import com.android.ex.chips.RecipientEntry;
116 final RecipientEntry entry1 =
117 RecipientEntry.constructFakeEntry("1@android.com", true);
118 final RecipientEntry entry2 = null;
126 final RecipientEntry entry1 =
127 RecipientEntry.constructTopLevelEntry("Android", DisplayNameSources.NICKNAME,
130 final RecipientEntry entry2 = RecipientEntry.constructFakeEntry("1@android.com", true);
139 final RecipientEntry entry1 =
140 RecipientEntry
[all...]
H A DChipsTest.java43 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
169 RecipientEntry alreadyName
[all...]

Completed in 131 milliseconds