3e8176df16950c067bcb1b37e62b2fc07d74065a |
|
14-Nov-2013 |
Scott Kennedy <skennedy@google.com> |
Don't show the alternates dialog for GAL contacts 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
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
e407bff4896dfe7f43fc955d35ee40b321b8cc83 |
|
23-Aug-2013 |
Scott Kennedy <skennedy@google.com> |
am 3be35a39: Remove some unused resources and imports * commit '3be35a398afee202a794134920782db901ee36cd': Remove some unused resources and imports
|
3be35a398afee202a794134920782db901ee36cd |
|
23-Aug-2013 |
Scott Kennedy <skennedy@google.com> |
Remove some unused resources and imports Change-Id: Ifc9bbd7fa53972b4d2bd61d04a426017a6bd63f5
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
6b425b5e4b7bb53a783ad3f07c78693a2cce551d |
|
10-Aug-2013 |
Jay Shrauner <shrauner@google.com> |
am 30d26326: Add directory photo support * commit '30d26326568cb888430468370df6f6ab2ec12767': Add directory photo support
|
30d26326568cb888430468370df6f6ab2ec12767 |
|
08-Aug-2013 |
Jay Shrauner <shrauner@google.com> |
Add directory photo support Load photos for directory thumbnail URIs by streaming directly from the URI. Bug:7882158 Change-Id: Ifdf354c392b9aaff7c8fd6b73dc9bfe891825329 (cherry picked from commit 53d11c53b83bffe7607cffde994f505e775bcdbe)
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
db7eabe04254528c048737a0b92966473ea2f319 |
|
06-Aug-2013 |
Scott Kennedy <skennedy@google.com> |
am bc742af5: Make Chips work on API 11+ * commit 'bc742af5bb568ed39dc37764587120928d068330': Make Chips work on API 11+
|
bc742af5bb568ed39dc37764587120928d068330 |
|
03-Aug-2013 |
Scott Kennedy <skennedy@google.com> |
Make Chips work on API 11+ By using the support library, and copying a few methods from TextView into RecipientEditTextView, we can support chips back to API 11. Bug: 8744878 Change-Id: I2d9bb43e71556504e929dcdccff9dae347020f28
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
3fc2d99dabce30def058bb34f97eb0947a1c8f52 |
|
31-Jul-2013 |
Scott Kennedy <skennedy@google.com> |
am ad1d181c: Don\'t bother storing a null value in the cache * commit 'ad1d181cd21ee598512c142150e79be754209548': Don't bother storing a null value in the cache
|
ad1d181cd21ee598512c142150e79be754209548 |
|
30-Jul-2013 |
Scott Kennedy <skennedy@google.com> |
Don't bother storing a null value in the cache It serves very little purpose, and it causes an NPE. Bug: 9286049 Change-Id: I8c95d8ded2bebdc9b904ef788cbc70865144213e
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
dc660babb68131f3fd9c62c1c1e640869d21bd92 |
|
14-Jul-2013 |
Alon Albert <aalbert@google.com> |
Support an External Dictionary of Contacts Allow support for an external custom source of contacts. By making some classes & methods protected rather than private, it's possible to allow for a derived class to extend the Chips behavior to load contacts from an arbitrary source. Most of the changes here are just access modifier changes but there's one more substantial change: Intruduced BaseRecipientAdapter#getMatchingRecipients() which matches generated recipients with proper chips recipients from the external sources. Ideally RecipientAlternatesAdapter#getMatchingRecipients() should reside in the adaper too but the goal of this CL was to do this minimal modifications. There's also a small change that beileve was a bug in IndividualReplacementTask: The matchesFound() callback gets a list of matches found. It then iterates all the original recipients and looks for those that have matches and replaces them. So far so good but, if the original recipient doesn't have a match and is not a phone number, the old code still replaces it with itself when it can simply skip it I think. Change-Id: I24e89f93ec15154ed8912664cd061fa2b5b18bd8
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
e5d82228c1960115e31f67eb6a3a254d6902e3c5 |
|
07-Mar-2013 |
Scott Kennedy <skennedy@google.com> |
Initial clean up of the chips code Change-Id: I56a3dd5968a3ea435d6dcae9256021bac1f74ee6
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
70d41146a39058c47eee5c505cae6a6a2c1409f9 |
|
14-Dec-2012 |
mindyp <mindyp@google.com> |
Scroll when results appear Fixes b/7727257 Jank when replying to or forwarding a message in gmail Change-Id: I6fbb574ac724772d541d063192a5e0e59b776360
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
0cf347e69473d2259194257d5a4b9aa103c8e448 |
|
10-Dec-2012 |
mindyp <mindyp@google.com> |
Extend reverse lookup to also check GAL Fixes b/7499733 gal address sometimes treated as message-only address in chips Change-Id: I3fa79a43c672b1d2eac72dae6a9dfaf8701be977
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
fbe2d2113c0d00e7f7c7197a3727bb0728d220d8 |
|
14-Nov-2012 |
mindyp <mindyp@google.com> |
Don't validate the recipient text each time 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
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
48a26c9dcf012645315a0b77c687f57476d452a0 |
|
25-Oct-2012 |
Paul Westbrook <pwestbro@google.com> |
Show old results Keep showing old recipient results when no local results are returned, if we are waiting for server results Bug: 7407129 Change-Id: If495ff6437da064206923dc95ee61b7a4f19c2f3
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
1e9e640680692868c1323422f248261c4ff4d259 |
|
25-May-2012 |
Mindy Pereira <mindyp@google.com> |
Rather than change the text, just remove the waiting for entries row. Fixes b/6546713 Blank suggestion is sometimes shown even if nothing was typed per ux Change-Id: I5c6d1f6620426bd96abca1bad650663ab6c5c426
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
5c9051141d7dc1a21ea619c10afcd18e37b615a2 |
|
25-May-2012 |
Mindy Pereira <mindyp@google.com> |
The mysterious blank item was just a mis-used layout Was expecting the chips_waiting_for_directory_search layout But was given the chips_recipient layout Fixed this to use the correct layout fixes b/6546713 Blank suggestion is sometimes shown even if nothing was typed that's at least part of the problem why it shows up "uninvited" is another question Change-Id: Ie60b9ae8f7f86dda4316fee43b3983fbe0f17cb0
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
8f968fc75a99645b5b170c3ca0bd3aca9a207ca7 |
|
02-May-2012 |
Makoto Onuki <omakoto@google.com> |
Don't use DISPLAY_NAME for chips if name is email or phone 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
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
75f1f6994f77a6538c71df720aa2250fe71fed4b |
|
06-Apr-2012 |
Tom Taylor <tomtaylor@google.com> |
Support phone numbers in Chips UI Bug 5066294 Add Zak's work for supporting phone numbers in the Chips UI. The default remains email-centric, but the phone number option works great for apps like Messaging. Change-Id: I17cd8460f1b96f28ced8bbb32e145581dae6d807
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
a11c2b0e1ea043aa4d8745285f2dcbe20448b417 |
|
15-Dec-2011 |
Mindy Pereira <mindyp@google.com> |
Update build file to allow us to have resources in static libs. Depends on: Change Ifb4d2300: Support to build static Java library with Android resource Change-Id: Ie1ac8c93cb3f12a7d4e9afd873a13607ed72b932
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
83aeec8f707e5653646d4d8e83177046771ecc75 |
|
18-Nov-2011 |
Andy Huang <ath@google.com> |
drive-by fixes for compiler warnings Change-Id: Ibb32bf4f49cc9c48d6d02e664f48f838c7024f91
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
59148d37f6602f04729b5c737c196ddecf764992 |
|
20-Sep-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Remove the code remiving non-existing divider Previously we had a horizontal divider to divide each entry, while we don't have them anymore. The code removing the last horizontal divider now removes the last legitimate element in the list. Bug: 5343615 Change-Id: Ia30e05f8830323a6e4d62b54e7121b439bb57beb
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
f3889fc9ea2db363a9a2bfc73a933ead5be5c110 |
|
20-Sep-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Disable logging. Change-Id: I5c5c2bc169a6f9d9c77fd57d8b91dd3282432141
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
d70e8c954a2f7e5f85f2a1588bc07a0500748e45 |
|
26-Aug-2011 |
Paul Westbrook <pwestbro@google.com> |
Remove label from chips Bug: 5220741 Change-Id: If1c9423c253301209e7ca9af8c898891f6a8b98b
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
007bf6aef9cbc05e1a772b1d5e86de159a715b11 |
|
02-Aug-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Use AsyncTask for photo loading Using a static thread isn't appropriate, since it won't quit itself and thus will be persistent even after it becomes unnecessary. Bug: 5057798 Change-Id: Ibca2b59c18a326d1c3fd724817bc602583f37842
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
c0f97e4f56bc35d99d181c5f604b26fbb89c113f |
|
25-Jul-2011 |
Mindy Pereira <mindyp@google.com> |
Make more chip, dropdown match pixel perfects. 1) the destination type should be uppercase; there is not textview style to do this 2) fix the heights of the dropdown items to be 48dip 3) text for more says "NUMBER more..." and is styled Change-Id: I8a391bbd3703c1ccd1415b78d5e843107b1d2095
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
008d3b2afd2a11eaa67cf38fd1defb54edc4286f |
|
25-Jul-2011 |
Mindy Pereira <mindyp@google.com> |
Remove deprecated separators. Change-Id: I734eec28ba5d51afb17ac5150e156ed9e87de4ac
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
886150f6f05991d33a57213274bd51f94140f4e3 |
|
25-Jul-2011 |
Mindy Pereira <mindyp@google.com> |
These extra separators are not needed given the design. In this pass, making the associated methods non abstract. will remove them from the apps, then remove the deprecated methods. Change-Id: I3f9908e5807253294630c17e52ae6562abd0ddc3
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
02c844fe158d55837cf1a1c391f26556e337e55b |
|
22-Jul-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Stop spawning multiple threads for photo loading This is not a fundemental fix for the issue but should mitigate our headache caused by a bunch of phono_handler threads. Bug: 5057798 Change-Id: I5f81739bf8439f6d3ee726495b23aab4d3e3d0fd
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
8c03d35fec744db28a2a3230795f123c7afd50cc |
|
20-Jul-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Show address type in auto-complete list Also tweak layout file for better layouting. Bug: 5028342 Change-Id: Iff81ed0c3013c65e6a293575f89c12606832838f
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
e8adc2935e128eec6cae87ebfb3959b5bc6ec219 |
|
17-Jul-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Make divider and loading views unselectable Bug: 5036748 Change-Id: I397d6a62e577c22ccad9a750ae6a0edb2168ad8b
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
29292772467cf521599dcd487de6b1807dec3e02 |
|
05-Jul-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Remove cursor passing. We've used Cursor objects among two threads (UX thread and filter thread), which is possible but not feasible enough. - Filter removes message for the filter thread before sending another message to UX thread, which it looks causing a lot of warnings. - A cursor consumes mega bytes of memory, while we want to have are just ~10 results in it. Also remove Phone related codes. We found we won't use it now. Bug: 5017608 Change-Id: Ic50d27c5ed84a23dfabaf705996630b6548a06cf
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
a601adc796fa7276771e6ab2670bf50663555489 |
|
11-Jul-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Show "Waiting for more contacts" message on directory load Requires - I458c4b068d91feb16fe12c3b813f9704668663d2 - I5f83103628c14dd5079515c46c42a6f43d4f194c - I858c66faa6d5bcb3248da6be6a40f47ab0f00a4d Bug: 4996797 Change-Id: Iad5b8444f4b1949666d93ad43a34de057aba560e
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
35654303c707e4b4926263c18090c58dca06f3a2 |
|
10-Jun-2011 |
Mindy Pereira <mindyp@google.com> |
Add copyright to file. Change-Id: I1d6efeea9f960baa05e0c65dd7a81e3461d456d1
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
7a424984849627457aa27ac19c0d23cbe0887c85 |
|
09-Jun-2011 |
Mindy Pereira <mindyp@google.com> |
Small changes to make this more easily integrated into apps. 1) created interface for old adapter and new adapter to implement so they can be used interchangeable 2) did null checks for chips when getting data/ contacdt ids Change-Id: I7f47230c5cf35426b73b477f374641b271455411
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
90081ee88c7eb216ea22f426aa6856e310a867e1 |
|
08-Jun-2011 |
Mindy Pereira <mindyp@google.com> |
Make sure even second level addresses have a photo uri. 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
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
4690ffedeed9a067ecef01e26107b58173b3712a |
|
07-Jun-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Clear text when address isn't available. Change-Id: I06bfd212e2c691ef1d06cc7ce3e67bccd39e3cec
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
5f2cc770801133c2db389ebe108063427d1cf6aa |
|
01-Jun-2011 |
Mindy Pereira <mindyp@google.com> |
Make RecipientEditTextViewInner package private. Also add license and make EmailQuery values package private. Change-Id: I366ca01ac54f04fbc999377be59dbaa139307550
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
699c1e37a1bf26daab34f2117a14c6e883636077 |
|
01-Jun-2011 |
Mindy Pereira <mindyp@google.com> |
Show alternate addresses when the user taps on a contact. Change-Id: I9a88dd1612b98587e560c1e50030e36a28e30db9
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
65b8c0327b00beda9309c7b7c116013d03b06d90 |
|
01-Jun-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Use long for ids Also optimize update method Bug: 4443828 Change-Id: Ie51a3b40e0852cfab8f81c2a56cbc13f5072ad6c
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
b5ebb8916a1bb178062a0ccb59e80de27ec1bb2d |
|
01-Jun-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Add data Id support and account support. Also add utility methods for chips UI. Bug: 4371572 Change-Id: Iec086c06ac844ca19c776f82b127a48804bab8e6
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
f566dee91901e44db63df3bf393afb1d43a36f78 |
|
31-May-2011 |
Mindy Pereira <mindyp@google.com> |
Multiple updates to chips. 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
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
e3a582cc9b204f3f4150f81ec54da9872b3577a9 |
|
31-May-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Use LinkedHashMap to keep order. Bug: 4443828 Change-Id: If6255c472509a6c55ebcd68f2a8908a1ea9f1603
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
078509f1fd42ec04b46565ecc26f4f527b277c5c |
|
28-May-2011 |
Mindy Pereira <mindyp@google.com> |
Back to static library. Give the library dimensions that the apps can use. Change-Id: If55883a0f599baac3e4f9122620fc01b376fb512
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
c88aedd2565b44c6369402426e51dca86b2c6a1e |
|
28-May-2011 |
Mindy Pereira <mindyp@google.com> |
Fix build. Should not be using R from the chips app. Change-Id: Id63bc5d9bc47cd5b2bf0327784447f176da95884
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|
f026dfb761c894942354060746a8ab7dd563386c |
|
28-May-2011 |
Mindy Pereira <mindyp@google.com> |
Make chips included source instead of static java library. Get rid of abstract methods in BaseRecipientAdapter Update makefile Change-Id: I3415c73446c605e69c0c2145e98a7e66abc33a6e
/frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
|