History log of /frameworks/ex/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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