summaryrefslogtreecommitdiffstats
path: root/chips/src/com/android/ex/chips/RecipientEntry.java
Commit message (Collapse)AuthorAgeFilesLines
* Don't show the alternates dialog for GAL contactsScott Kennedy2013-11-141-10/+18
| | | | | | | | | | | There's a bug in the chips code that causes this to show either no alternates, or a different person, which is scaring people. The proper future fix is to store some more information about GAL contacts so we can do a proper lookup. Bug: 11535331 Change-Id: Id8b6fc834446afe33bd6ec4e99b3d2b75b985bde
* Area code gets eaten in ChipsTom Taylor2013-03-211-0/+10
| | | | | | | | | | | Bug 8436028 New code for tokenizing an address stripped the area code from a manually entered phone number. When chips is in "phone number" mode, call a new function (essentially the old function before the change) to create a fake entry directly from the phone number. Change-Id: I2d62ff24aacd8eadb9086840bd4d003cf39db177
* ArrayIndexOutOfBoundsException in RecipientEntry.constructFakeEntryTom Taylor2013-03-191-1/+1
| | | | | | | | | Bug 8423230 Fix a monkey bug that is showing up a lot in MR2. Use the original address when tokenizing an address fails to return anything. Change-Id: I4ac42f81aa6e4cbdad058f73bb3a1fd62ab2e138
* Fix a failing testScott Kennedy2013-03-061-2/+7
| | | | Change-Id: Iaa45618d69ea12aa6714bcae36c8f12a253d5df2
* Add a toString() to make debugging easierScott Kennedy2013-02-151-0/+5
| | | | Change-Id: I0826eedd858ffd942e1371ec1c4d73d4d98177bd
* Don't validate the recipient text each timemindyp2012-11-141-54/+42
| | | | | | | | | | | | Instead, validate once. Saves ~10ms per chip creation Win. Part of b/7492291 First 2 contacts takes too long to resolve into chips when there are many contacts and general speed improvements Change-Id: I6f3da136da23942c8bec25cee7038d475e7005e6
* Rather than change the text, just remove the waiting for entries row.Mindy Pereira2012-05-251-5/+1
| | | | | | | Fixes b/6546713 Blank suggestion is sometimes shown even if nothing was typed per ux Change-Id: I5c6d1f6620426bd96abca1bad650663ab6c5c426
* Don't use DISPLAY_NAME for chips if name is email or phoneMakoto Onuki2012-05-011-9/+23
| | | | | | | | | | | Don't use contact's display name, if the name source is EMAIL or PHONE (or UNDEFINED). Just use the destination (i.e. the actual email address or phone number) as the name. Bug 5414496 Bug 6425953 Change-Id: Id0e7e57122a4840b075710309306b074143199bf
* These extra separators are not needed given the design.Mindy Pereira2011-07-251-12/+4
| | | | | | In this pass, making the associated methods non abstract. will remove them from the apps, then remove the deprecated methods. Change-Id: I3f9908e5807253294630c17e52ae6562abd0ddc3
* Show address type in auto-complete listDaisuke Miyakawa2011-07-201-16/+49
| | | | | | | Also tweak layout file for better layouting. Bug: 5028342 Change-Id: Iff81ed0c3013c65e6a293575f89c12606832838f
* fix appended recipients that have an associated nameMindy Pereira2011-07-191-1/+27
| | | | | | | | | | | Fixes Bug:5037859 Populating a To: field from a mailto: link always shows an empty chip The issue here was I was just pulling out the address and leaving that in the field Now I pull out the address for display purposes only, and leave the address and any associated display info with it NOTE: if the info before the address was invalid, it will stay invalid, as before Fixes Bug: 5043134 chips: name and rfc email address Change-Id: I6b0d0de56dd9752b189919554617b101792425ef
* Make divider and loading views unselectableDaisuke Miyakawa2011-07-161-0/+4
| | | | | Bug: 5036748 Change-Id: I397d6a62e577c22ccad9a750ae6a0edb2168ad8b
* Show "Waiting for more contacts" message on directory loadDaisuke Miyakawa2011-07-111-1/+4
| | | | | | | | | | Requires - I458c4b068d91feb16fe12c3b813f9704668663d2 - I5f83103628c14dd5079515c46c42a6f43d4f194c - I858c66faa6d5bcb3248da6be6a40f47ab0f00a4d Bug: 4996797 Change-Id: Iad5b8444f4b1949666d93ad43a34de057aba560e
* Make sure even second level addresses have a photo uri.Mindy Pereira2011-06-071-22/+10
| | | | | | | | When a second level item is chosen, we still want to show the associated contact photo. We need to set the uri but can get the photo on the fly later. Change-Id: Idc9e02452ad5e1d6291776a94a6f3c3c6ada14b4
* Use long for idsDaisuke Miyakawa2011-05-311-9/+9
| | | | | | | Also optimize update method Bug: 4443828 Change-Id: Ie51a3b40e0852cfab8f81c2a56cbc13f5072ad6c
* Add data Id support and account support.Daisuke Miyakawa2011-05-311-10/+23
| | | | | | | Also add utility methods for chips UI. Bug: 4371572 Change-Id: Iec086c06ac844ca19c776f82b127a48804bab8e6
* Multiple updates to chips.Mindy Pereira2011-05-311-0/+160
1) Eliminate hardcoded 200 value for width of popup; this is just the same as the width of the autocomplete view 2) eliminate need for offset padding; can calculate the correct position (see calculateLineBottom for the full algo) 3) use recipientlistentry to track the contents of a chip; differentiate between completed real contacts and filled in content. don't show popup for non real contacts. 4) Change RecipientListEntry to just RecipientEntry Change-Id: Icf2a47a845f1b3cad2fbae3d31c38179ca1b26c8