| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Additionally add a dynamic way to set maxChipsParsed
Change-Id: I8e88d4268b8e2ecc6de26d8cf69a985821c8e9f0
(cherry picked from commit c274746186af89f4c11499771678696d18158476)
(cherry picked from commit 9f53ad13ad78945689c6e16aad127bdfca4c4779)
|
|
|
|
|
|
|
|
| |
Avoid access to potencial null references. Only chips_autocomplete_recipient_dropdown_item has
all the suggested contacts views. Only remove objects with valid destination references
Change-Id: I0e53d76a9bb6d319511269568a32104c8ffd3521
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| |
| | |
Android 5.1.0 release 1
|
| |\
| | |
| | |
| | |
| | | |
* commit '19fac962d0b00b061152605365440322c7232c71':
Import translations. DO NOT MERGE
|
| |/|
| | |
| | |
| | |
| | | |
* commit '966b35006b2865b50bb7cc880cc5eb9f26c27a36':
Import translations. DO NOT MERGE
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Check for address popup in addition to alternates with dismissing
On shrink, dismiss phone generated contact chips
Change-Id: I0e8b467e3faad15c0e7c46a03c8d8e4af8c3963e
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Handle a NPE when directoryId is null
Handle a NPE when the contact has no address
Set the default icon for SINGLE_RECIPIENT or else there is a blank space
Change-Id: Ic1231ed5d25cb4a567898f7b72abeb8880b3256c
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When picking a contact from the recipient list,
and entered via append() its treated as a EMAIL.
This patch differentiates items if query type is PHONE.
Change-Id: Ie9674e8b7bd3213ed7d8243938df4e8dc5f51c3e
|
| |/
|/|
| |
| |
| |
| |
| | |
Makes sure isPhoneNumber() recognizes phone numbers even if they are
postfixed with a space.
Change-Id: I9a26488b5286c6b6e936e09403396a225ee3b8d5
|
|/
|
|
|
| |
Change-Id: I9ab4ea81572597b8d4be42c0ed83bfc498c7d6eb
Auto-generated-cl: translation import
|
|
|
|
|
| |
Change-Id: I491228b4588e0557778d704eeb8084c598c6e00f
Auto-generated-cl: translation import
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Iabc39702041192e4ab6b39b1e4b76c44f04b7ab4
|
| |
| |
| |
| | |
Change-Id: Ie36a3a29b81d3e0024e0f1c29aec98a36e74dec9
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Allows to paste into a chip HTML mime content, as long as
it can be represented by text.
This resolves the inability to paste email addresses copied from
a web page, with content text/html.
Also, fix an IndexOutfOfBounds bug when there is no selection.
Bug: 13361722 users cannot paste html content in chip
Change-Id: I31434105e4326d78e99df338f81d9e56fc5b83c5
Conflicts:
src/com/android/ex/chips/RecipientEditTextView.java
|
|/ /
| |
| |
| |
| | |
Change-Id: Iaacd8a639833fe587b98bc4a6f61c56ae849a610
Auto-generated-cl: translation import
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | |
| | |
| | | |
* commit '4e2adeac9c977646735d2aff5787bf0ab0499322':
Remove instance of @+android:id/...
|
| | |
| | |
| | |
| | | |
Change-Id: Iaa1876d4e761b35e7614fe0449a453075614f331
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Don't explicitly set chip popup width since
the width should inherit from the anchor view.
b/16851158
Change-Id: Id83d5dee1a2c44859e83d3862ada5f6e40b97065
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When drawing icons we set various shaders and
attributes to convert sq icon to circle. These
attributes are applied directly on the TextPaint
and are never reset. As a result, we see tiny fonts.
b/16700424
Change-Id: I9ffd07d64fa5c3dee6a5b312195e54559a73413d
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
b/16851158
Change-Id: Icb4c511671c512e6095c8fa9607dc4d898ba2b08
|
| | |
| | |
| | |
| | |
| | |
| | | |
b/16872653
Change-Id: Ic1e587bea6426a163dbdccb7ae42d4f8dfa205f4
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When the app overrides the default DropdownLayouter,
make sure that we always set the delete listener.
b/16851158
Change-Id: I7794ef2051b837de0722df2033fe531cf4cc01f4
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ied4449f02ef5683764fcfeb9b95b6d0c665c1132
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
b/16818548
Change-Id: Idb3a112af7a16f05bfcf9e2f9ae14f3ef32aecef
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use minheight instead of actual height so it takes text
size into account.
b/16824867
Change-Id: I935195eca0fb69d0a3b52c803bb53fef0e411e26
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Not sure why this was added or why it was working before.
A recipient's name can be null but it can have a valid
destination, in which case we still want to show the icon.
In any case, based on the comments it says we only not
show the icon for generated/invalid contacts, so I'm
removing the check for empty name.
b/16383133
Change-Id: I16642986e503a51e52275118bea05f34973817b6
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
b/15934812
Change-Id: I9a64892f903f26933994f521e2319d3f38c4c313
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Updated UI for alternates/single chips dropdown.
Not included: X button next to selected chip for removal.
b/15934812
Change-Id: Id34e28f1783f85ffbe33f82b1d230c3def27589a
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Restyle recipient chips to quantum redlines, also
remove padding style from non-autocomplete dropdowns.
b/15934812
Change-Id: I28eef0f4b9d622f81782d12f279e78af10c14458
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Separate layout for chips that have icons on the lefthand
side and icons on the righthand side.
b/15934812
Change-Id: I7b58197e46ad48bb838ee5e0c34bb06b0b74dfba
|
| |/
|/|
| |
| |
| |
| | |
b/15934812
Change-Id: Ib40bd97ea537bd91aba0caac8b7148fc24f59c0b
|
| |
| |
| |
| | |
Change-Id: I4b5684896e4e70b6f44f3feb2bf0f997265be848
|
| |
| |
| |
| |
| |
| | |
This gives us a much better vertical centering of text.
Change-Id: I09651e1a222cef2b60f4f59cb67ae01530e27cd2
|
| |
| |
| |
| | |
Change-Id: I0d39a630492b08cd647bb39c2aab1bc4a86b8aee
|
|\|
| |
| |
| |
| | |
* commit '21386e34def33022f8eb7389cc18f9e02256af8c':
Import translations. DO NOT MERGE
|
| |\
| | |
| | |
| | |
| | | |
* commit '5179b9a3f9b4daec5ed66594b0ef75cf93d0f1d3':
Import translations. DO NOT MERGE
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I068710e847766b0ffdd507b81878e6149f8caa34
Auto-generated-cl: translation import
|