summaryrefslogtreecommitdiffstats
path: root/res
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'android-6.0.1_r22' of ↵HEADreplicant-6.0-0004-transitionreplicant-6.0-0004-rc6replicant-6.0-0004-rc5-transitionreplicant-6.0-0004-rc5replicant-6.0-0004-rc4replicant-6.0-0004-rc3replicant-6.0-0004-rc2replicant-6.0-0004-rc1replicant-6.0-0004replicant-6.0-0003replicant-6.0-0002replicant-6.0-0001staging/cm-13.0+r22stable/cm-13.0-ZNH5Ystable/cm-13.0-ZNH2KBstable/cm-13.0-ZNH2Kcm-13.0Steve Kondik2016-03-103-52/+2
|\ | | | | | | | | | | https://android.googlesource.com/platform/frameworks/opt/chips into cm-13.0 Android 6.0.1 release 22
* \ Merge tag 'android-6.0.0_r26' into cm-13.0stable/cm-13.0-ZNH0ERicardo Cerqueira2015-11-052-2/+27
|\ \ | | | | | | | | | Android 6.0.0 release 26
| * | Import translations. DO NOT MERGEBaligh Uddin2015-09-182-2/+27
| | | | | | | | | | | | | | | Change-Id: Ifcd3a689bd0706a94b9f899aa9a326e9014489b2 Auto-generated-cl: translation import
* | | chips: suggested contactsJorge Ruesga2015-10-1815-1/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds support for custom suggested contacts (not associated/present in the contacts provider) in BaseRecipientAdapter. Basically an implementor MUST overload BaseRecipientAdapter#loadSuggestedEntries and return a set of SuggestionEntry. This class also should react to onAddSuggestion and onDeleteSuggestion methods, invoked when the user request add/delete the suggested contact. Vectors/SVG: https://cloud.ruesga.com/f/633563d38f/ Change-Id: I8312cba56251caab82b92e4e7520f8c9db7d9690 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | | Chips: Add a view attribute for maximum number of chips parsedRaj Yengisetty2015-10-101-1/+2
|/ / | | | | | | | | | | Additionally add a dynamic way to set maxChipsParsed Change-Id: I8e88d4268b8e2ecc6de26d8cf69a985821c8e9f0
* / Import translations. DO NOT MERGEGeoff Mendal2015-05-301-0/+25
|/ | | | | Change-Id: I239386b6fc5b84a4f28f300141800e80766c8316 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEGeoff Mendal2015-04-223-0/+75
| | | | | Change-Id: I991c10dd1dc7aa06198598fff7611795983f137d Auto-generated-cl: translation import
* Import translations. DO NOT MERGEGeoff Mendal2015-03-211-0/+25
| | | | | Change-Id: Iba1a3d6eb98aaa86c1d826bb4fe611d5b748dc30 Auto-generated-cl: translation import
* Highlight the text that matches the constraintScott Kennedy2015-02-104-29/+10
| | | | | | | | | 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
* Import translations. DO NOT MERGEGeoff Mendal2015-02-041-1/+1
| | | | | Change-Id: I2c8737be55b1e3d320f8959be10df0901d6cee52 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEGeoff Mendal2015-02-0272-144/+72
| | | | | Change-Id: Iede719409c9f9bb47c031572a100e0642f0eb0c5 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEGeoff Mendal2015-01-2672-17/+178
| | | | | Change-Id: I0565db72d251368af7bd97f92fb016d5bc8f37c3 Auto-generated-cl: translation import
* Add content description to the chips delete iconJin Cao2015-01-221-7/+5
| | | | | | b/19102218 Change-Id: I94f6cc642a12793dc7ee38afad6589d52f262d1a
* Clean up chipsJin Cao2014-12-151-1/+0
| | | | | | | | | | | | | | | - 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
* Adding customized chip color supportKaikai Wang2014-12-091-0/+4
| | | | | | | | | | Adding customized chip color attributes to selected and unselected states, so that chip consumers can use their own colors for the chips to better serve their UX requirements. Without specifying these colors, the chips UI will keep the current default color scheme Bug: 18293881 Change-Id: I269c478df312ea634f90bd1c97a7a08c3d14d9d7
* Change alternates dropdown to use minHeightJin Cao2014-11-051-1/+2
| | | | | | | | Change to use minHeight and wrap_content to take large texts into account. b/18218875 Change-Id: Ib0e0350207e1aebc405f1d72f26a017bb9c4627e
* Use $d instead of $s for number formattingJin Cao2014-10-2281-81/+81
| | | | | | | | To ensure that the numbers are properly translated. b/18011726 Change-Id: Id01bd690ac87875b17cfa4222e00b764aef9fba1
* Import translations. DO NOT MERGEBaligh Uddin2014-10-041-1/+1
| | | | | Change-Id: I20ba7499729adad354f30c0d7d563245fb8e94fb Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2014-09-228-16/+8
| | | | | Change-Id: Ia2a34df8b8a610500489bd3b1c0f93c1fdea92ee Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2014-09-2055-0/+63
| | | | | Change-Id: Ib2140c82adbe551c0a42432713892a78263cabbe Auto-generated-cl: translation import
* Announce chips dropdown for accessibilityJin Cao2014-09-161-0/+2
| | | | | | | | Announce when chip's dropdown opens. b/17262070 Change-Id: Ic99ee22f4a4f41e0f0d468496992822f8b60dbdd
* Allow for keyboard navigation down chips listJin Cao2014-09-022-4/+3
| | | | | | | | | | Replace the old dropdown background with simply selectableItem because the autocomplete list doesn't require states such as activated (mostly used for alt/single recipient popup). b/17322127 Change-Id: I742850854f568852c7b1f5fdf2a6bca247ba3b59
* Merge "Import translations. DO NOT MERGE" into ub-chips-cranbrookBaligh Uddin2014-08-223-5/+3
|\
| * Import translations. DO NOT MERGEBaligh Uddin2014-08-183-5/+3
| | | | | | | | | | Change-Id: If6ee8c14b004dd9cd2984738064c663746ac2b0e Auto-generated-cl: translation import
* | [Quantum chips] change chips into ReplacementSpanJin Cao2014-08-182-2/+1
|/ | | | | | | | | | | | There seems to be an issue with ImageSpan where it sets the default text cursor size to the height of the ImageSpan. In this CL I changed the chips to extend ReplacementSpan and simply draw the chip ourselves by overriding the draw method. b/16700424 Change-Id: I66a8bf3068e24a669121c7323323fd03138ca7b3
* Import translations. DO NOT MERGEBaligh Uddin2014-08-1155-55/+57
| | | | | Change-Id: Iaacd8a639833fe587b98bc4a6f61c56ae849a610 Auto-generated-cl: translation import
* [Quantum chips] code cleanup and restylingJin Cao2014-08-1018-23/+18
| | | | | | | | | | | | Cleaned up the variable placements in RecipientEditTextView and removed some outdated functionality. Updated the style for alternate/single recipient dropdown to redline. b/16851158 Change-Id: I0829be08cbf6d603c4b029aec820937379c5dad2
* am 4e2adeac: Remove instance of @+android:id/...Scott Kennedy2014-08-091-1/+1
|\ | | | | | | | | * commit '4e2adeac9c977646735d2aff5787bf0ab0499322': Remove instance of @+android:id/...
| * Remove instance of @+android:id/...Scott Kennedy2014-08-081-1/+1
| | | | | | | | Change-Id: Iaa1876d4e761b35e7614fe0449a453075614f331
| * Import translations. DO NOT MERGEBaligh Uddin2014-07-051-1/+1
| | | | | | | | | | Change-Id: I32cbe0f75b569779ce4abcbd695beedd6ff02818 Auto-generated-cl: translation import
| * Import translations. DO NOT MERGEBaligh Uddin2014-04-0155-0/+1265
| | | | | | | | | | Change-Id: I1d1c37dcba41224f27493373a9ebaa08714d63bc Auto-generated-cl: translation import
* | Support custom popup anchor in RecipientEditTextViewJin Cao2014-08-082-1/+2
| | | | | | | | | | | | b/16851158 Change-Id: Icb4c511671c512e6095c8fa9607dc4d898ba2b08
* | [Quantum chips] support RTL in dropdownJin Cao2014-08-071-0/+2
| | | | | | | | | | | | b/16872653 Change-Id: Ic1e587bea6426a163dbdccb7ae42d4f8dfa205f4
* | [Quantum chips] draw chips programmaticallyJin Cao2014-08-0613-0/+4
| | | | | | | | | | | | | | | | | | Why use assets when we can draw chips background programmatically. Even better, it's faster (maybe) and more space efficient (def). b/16732676 Change-Id: Ib8dac66eb7e04bf0da08aa9cabe6349402484c5c
* | Merge "Don't use "done" for string name." into ub-chips-cranbrookAndrew Sapperstein2014-08-041-1/+1
|\ \
| * | Don't use "done" for string name.Andrew Sapperstein2014-08-061-1/+1
| | | | | | | | | | | | Change-Id: Ied4449f02ef5683764fcfeb9b95b6d0c665c1132
* | | [Quantum chips] add custom dividers for autocompleteJin Cao2014-08-065-10/+38
| | | | | | | | | | | | | | | | | | b/16818548 Change-Id: Idb3a112af7a16f05bfcf9e2f9ae14f3ef32aecef
* | | [Quantum chips] use minHeight for autocomplete dropdownJin Cao2014-08-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Use minheight instead of actual height so it takes text size into account. b/16824867 Change-Id: I935195eca0fb69d0a3b52c803bb53fef0e411e26
* | | [Quantum chips] restyle text viewsJin Cao2014-07-313-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Restyle the text views and their parent layout to properly align vertically when one of the textviews is set to GONE. Previously lost the behavior with the change from RelativeLayout to LinearLayout since LinearLayout will always set the child to top regardless of it's layout_gravity. b/16383133 Change-Id: I6543af42f1e7e05e6a213ba3f37107d90439808d
* | | Merge "[Quantum chips] add delete button in dropdown" into ub-chips-cranbrookJin Cao2014-07-294-50/+46
|\ \ \
| * | | [Quantum chips] add delete button in dropdownJin Cao2014-07-314-50/+46
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* / / Update icon padding for invalid chipsJin Cao2014-07-304-0/+0
|/ / | | | | | | | | | | b/15934812 Change-Id: I9a64892f903f26933994f521e2319d3f38c4c313
* | [Quantum] update alt/single chips to quantumJin Cao2014-07-296-16/+42
| | | | | | | | | | | | | | | | | | | | Updated UI for alternates/single chips dropdown. Not included: X button next to selected chip for removal. b/15934812 Change-Id: Id34e28f1783f85ffbe33f82b1d230c3def27589a
* | [Quantum chips] restyle recipient chips to quantumJin Cao2014-07-2914-28/+13
| | | | | | | | | | | | | | | | | | Restyle recipient chips to quantum redlines, also remove padding style from non-autocomplete dropdowns. b/15934812 Change-Id: I28eef0f4b9d622f81782d12f279e78af10c14458
* | [Quantum] chips autocomplete to quantum styleJin Cao2014-07-295-37/+114
| | | | | | | | | | | | | | | | | | Separate layout for chips that have icons on the lefthand side and icons on the righthand side. b/15934812 Change-Id: I7b58197e46ad48bb838ee5e0c34bb06b0b74dfba
* | Port CircularImageView for chipsJin Cao2014-07-281-3/+3
| | | | | | | | | | | | b/15934812 Change-Id: Ib40bd97ea537bd91aba0caac8b7148fc24f59c0b
* | Update dropdown assets/layouts for MaterialScott Kennedy2014-07-1011-56/+104
| | | | | | | | Change-Id: I4b5684896e4e70b6f44f3feb2bf0f997265be848
* | Update assets/dimensions/defaults to match Material specScott Kennedy2014-07-0918-2/+2
| | | | | | | | Change-Id: I0d39a630492b08cd647bb39c2aab1bc4a86b8aee
* | Import translations. DO NOT MERGEBaligh Uddin2014-07-058-0/+184
| | | | | | | | | | Change-Id: I8405c3546982806c4642cbacc1ee9037971b037b Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEBaligh Uddin2014-06-2917-0/+391
| | | | | | | | | | Change-Id: I27168da91dd5c4c2650bb5f474058d1d01103d34 Auto-generated-cl: translation import