History log of /frameworks/opt/chips/src/com/android/ex/chips/DropdownChipLayouter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a20a8d02c0b6a9440a61870ee6c7a6b6c92fbf4b 07-Aug-2014 Jin Cao <jinyan@google.com> Ensure delete listener is set for chips

When the app overrides the default DropdownLayouter,
make sure that we always set the delete listener.

b/16851158

Change-Id: I7794ef2051b837de0722df2033fe531cf4cc01f4
/frameworks/opt/chips/src/com/android/ex/chips/DropdownChipLayouter.java
b58c9a621a250c6119be2d5a77164b940a8559b0 06-Aug-2014 Jin Cao <jinyan@google.com> [Quantum chips] add custom dividers for autocomplete

b/16818548

Change-Id: Idb3a112af7a16f05bfcf9e2f9ae14f3ef32aecef
/frameworks/opt/chips/src/com/android/ex/chips/DropdownChipLayouter.java
4db8cccf3332ad7c6fb1915f9f0f169953c3953a 30-Jul-2014 Jin Cao <jinyan@google.com> [Quantum chips] add delete button in dropdown

For single/alternate recipient dropdown there is
now a delete button next to the currently selected
contact for easier removal of the selected chip.

b/16383133

Change-Id: Ied238b91b42673142de88a159b50772bd6b7b937
/frameworks/opt/chips/src/com/android/ex/chips/DropdownChipLayouter.java
6fc1fee597ebe3c30ebe5efebb4d6ea105641e0f 30-Jul-2014 Jin Cao <jinyan@google.com> [Quantum] update alt/single chips to quantum

Updated UI for alternates/single chips dropdown.

Not included: X button next to selected chip for removal.

b/15934812

Change-Id: Id34e28f1783f85ffbe33f82b1d230c3def27589a
/frameworks/opt/chips/src/com/android/ex/chips/DropdownChipLayouter.java
4ddcdaed9ef5ea83910a0513e87538130270e2e4 29-Jul-2014 Jin Cao <jinyan@google.com> [Quantum] chips autocomplete to quantum style

Separate layout for chips that have icons on the lefthand
side and icons on the righthand side.

b/15934812

Change-Id: I7b58197e46ad48bb838ee5e0c34bb06b0b74dfba
/frameworks/opt/chips/src/com/android/ex/chips/DropdownChipLayouter.java
c85e75e231fab797a4b0bda5a0d8373419718dab 10-Jul-2014 Scott Kennedy <skennedy@google.com> Update dropdown assets/layouts for Material

Change-Id: I4b5684896e4e70b6f44f3feb2bf0f997265be848
/frameworks/opt/chips/src/com/android/ex/chips/DropdownChipLayouter.java
7a4e67708498ec46c2e9b3bad69d3807d88c064e 21-Nov-2013 Scott Kennedy <skennedy@google.com> Fix directory lookups

The previous "fix" disabled the lookups.

Now we will do the lookups, with the proper lookup key and
directory id. We also do a much better job of showing directory
images.

Bug: 11693322
Bug: 12793279

Change-Id: I372711fd7b485f3183516fce2b11f9eff46a9b23
/frameworks/opt/chips/src/com/android/ex/chips/DropdownChipLayouter.java
b10d1c652d0416c284d9792fc9a0a92b3acd51ca 24-Jan-2014 Kevin Lin <linkevin@google.com> Main changes to the chips library:
Changed attribute styles
- Added an avatar position (left, right) inside the chip
- Added a disableDelete boolean
- Removed chipsAlternateLayout

Changed how to layout contacts in autocomplete list.
Added a separate class to handle layout and binding information. (This way clients can extend this class and have a customizable layout)
This new class lives inside RecipientEditTextView and is passed onto each adapter.

Merged code paths for createSelectedChip and createUnselectedChip.
Merged code paths for getView() in each of the 3 adapters by using DropdownChipLayouter.

All tests still pass since this CL is mostly infrastructure layout changes.

There are some non-backwards compatible changes with this if other clients are using this library.
BaseRecipientAdapter no longer has protected methods to override the layout and id's.
The attribute file no longer has chipsAlternateLaytout.
Both these features can still be used through the new DropdownChipLayouter class.

Change-Id: I4496232eddd194be2df6a047f75637114f2eaa52
/frameworks/opt/chips/src/com/android/ex/chips/DropdownChipLayouter.java