History log of /frameworks/opt/chips/src/com/android/ex/chips/DropdownChipLayouter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6f86e3b4ab4137d43769d78abd9a45ed84e6e50d 11-Feb-2015 Scott Kennedy <skennedy@google.com> Allow setting the divider start margin in the chips dropdown

Change-Id: I1c25bbadb1a697e8e69fc6b881c5935bdac97a24
/frameworks/opt/chips/src/com/android/ex/chips/DropdownChipLayouter.java
e5d17d57be3b89a6adb7d429a4cb3cb1fbb422ff 11-Feb-2015 Scott Kennedy <skennedy@google.com> Highlight the text that matches the constraint

The name and email will now be the same color, and the first instance
of text that matches the query will be highlighted a darker grey.

This code was copied from Inbox.

Change-Id: Ia7857bc31880259db0e7876eb50617f764fc3ceb
/frameworks/opt/chips/src/com/android/ex/chips/DropdownChipLayouter.java
6c3f99e2e9f0f1ada622c7ab25876b69fa82b146 22-Jan-2015 Jin Cao <jinyan@google.com> Add content description to the chips delete icon

b/19102218

Change-Id: I94f6cc642a12793dc7ee38afad6589d52f262d1a
/frameworks/opt/chips/src/com/android/ex/chips/DropdownChipLayouter.java
ffc0111fa742c72f2457cecc1116e4ea3c6c8c6e 16-Dec-2014 Jin Cao <jinyan@google.com> Clean up chips

- Don't reset selection when we manually change selection due
to selecting a chip. We need this selection index to make
backspace properly delete the correct chip.
- Remove selected chips code because we now use the popup for
selected indicator.
- Fix accessibility SDK (didn't crash previously because with
SDK < 16 mIsAccessibilityOn is always false anyway).
- Clean up various warnings throughout RecipientEditTextView.

b/18682890

Change-Id: Ided53c0ea29532262c1f592798381ed9bc704fc0
/frameworks/opt/chips/src/com/android/ex/chips/DropdownChipLayouter.java
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