summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-04Convert valid email addresses to a chip. am: dbe88c3002android-cts_7.1_r1android-cts-7.1_r9android-cts-7.1_r8android-cts-7.1_r7android-cts-7.1_r6android-cts-7.1_r5android-cts-7.1_r4android-cts-7.1_r3android-cts-7.1_r29android-cts-7.1_r28android-cts-7.1_r27android-cts-7.1_r26android-cts-7.1_r25android-cts-7.1_r24android-cts-7.1_r23android-cts-7.1_r22android-cts-7.1_r21android-cts-7.1_r20android-cts-7.1_r2android-cts-7.1_r19android-cts-7.1_r18android-cts-7.1_r17android-cts-7.1_r16android-cts-7.1_r15android-cts-7.1_r14android-cts-7.1_r13android-cts-7.1_r12android-cts-7.1_r11android-cts-7.1_r10android-cts-7.1_r1android-7.1.1_r9android-7.1.1_r8android-7.1.1_r7android-7.1.1_r61android-7.1.1_r60android-7.1.1_r6android-7.1.1_r59android-7.1.1_r58android-7.1.1_r57android-7.1.1_r56android-7.1.1_r55android-7.1.1_r54android-7.1.1_r53android-7.1.1_r52android-7.1.1_r51android-7.1.1_r50android-7.1.1_r49android-7.1.1_r48android-7.1.1_r47android-7.1.1_r46android-7.1.1_r45android-7.1.1_r44android-7.1.1_r43android-7.1.1_r42android-7.1.1_r41android-7.1.1_r40android-7.1.1_r4android-7.1.1_r39android-7.1.1_r38android-7.1.1_r35android-7.1.1_r33android-7.1.1_r32android-7.1.1_r31android-7.1.1_r3android-7.1.1_r28android-7.1.1_r27android-7.1.1_r26android-7.1.1_r25android-7.1.1_r24android-7.1.1_r23android-7.1.1_r22android-7.1.1_r21android-7.1.1_r20android-7.1.1_r2android-7.1.1_r17android-7.1.1_r16android-7.1.1_r15android-7.1.1_r14android-7.1.1_r13android-7.1.1_r12android-7.1.1_r11android-7.1.1_r10android-7.1.1_r1android-7.1.0_r7android-7.1.0_r6android-7.1.0_r5android-7.1.0_r4android-7.1.0_r3android-7.1.0_r2android-7.1.0_r1nougat-mr1.8-releasenougat-mr1.7-releasenougat-mr1.6-releasenougat-mr1.5-releasenougat-mr1.4-releasenougat-mr1.3-releasenougat-mr1.2-releasenougat-mr1.1-releasenougat-mr1-volantis-releasenougat-mr1-security-releasenougat-mr1-releasenougat-mr1-flounder-releasenougat-mr1-devnougat-mr1-cts-releasenougat-dr1-releaseEkin Oguz
am: 5c36439515 Change-Id: Ia22def4231f8ff80d5a24aa1d33bafe1fdb344aa
2016-08-04Convert valid email addresses to a chip.Ekin Oguz
am: dbe88c3002 Change-Id: I104c02ff6ec2ef6b0075c7d4c6105fad4f77eef2
2016-08-03Convert valid email addresses to a chip.Ekin Oguz
There is a user visible side affect of this change: 1) Assume you have a recipient <ekinoguz@google.com> in your contact list. 2.1) Before this change, typing "ekinoguz@google.co" and focusing out from RecipientEditTextView will not convert "ekinoguz@google.co" to a chip. 2.2) After this change, it will convert to a chip. Converting to a chip will make the behavior consistent with a non-valid email address. As an example, currently, typing "ekinoguz@google.c" or "ekinoguz@google." and focusing out from view converts string to a chip already. But typing a valid email address (in format of *@*.* where part after . has at least 2 characters) and focusing out does not convert string to a chip. Current change will make this consistent. Follow-up to ag/1216979, which addresses the same bug but got reverted due to b/30352337. BUG: 30106082 Change-Id: I6ac30783667af5cef6f53f3ffb89b935e1905502
2016-07-31Support not displaying an icon in chips am: a233af88e3Sandeep Siddhartha
am: abbbd82940 Change-Id: I325ae245388a3916d202a79eb47989ed4f2d5795
2016-07-31Support not displaying an icon in chipsSandeep Siddhartha
am: a233af88e3 Change-Id: I8aba69b3a641c009636c6e6797034eb86ac8b84c
2016-07-31Support not displaying an icon in chipsSandeep Siddhartha
Change-Id: Ia570791e3b01cef1e0758c6d4ae5a91ccc694eaf BUG: 28095750
2016-07-25Revert \\"Clear suggestions once chip is submitted.\\" am: 238ff94973Ekin Oguz
am: 36677c72d1 Change-Id: I1bf07f4fbbfba3ae574314a31d9e5537a74cce47
2016-07-25Revert \"Clear suggestions once chip is submitted.\"Ekin Oguz
am: 238ff94973 Change-Id: I456a55a43051eb62e8f44bbda0fbdba6074a8f2a
2016-07-25Revert "Clear suggestions once chip is submitted."Ekin Oguz
Causing b/30352337. This reverts commit e424aeb19189215d646fb0098de97a1300951edd. Change-Id: Ib9590fa17a2c91679b6c482390eca3a3cdd11409
2016-07-22Clear suggestions once chip is submitted. am: e424aeb191Ekin Oguz
am: 8554ba6f5b Change-Id: I104596b9e7e9d7c7505daba94d123e3ce9f9bc4e
2016-07-22Clear suggestions once chip is submitted.Ekin Oguz
am: e424aeb191 Change-Id: If88a63619dcac096205874588530476def78b1e3
2016-07-20Import translations. DO NOT MERGEBill Yi
Change-Id: Ia0edebe69226f10f5204f7cae2cb4e3b3df1d389 Auto-generated-cl: translation import
2016-07-13Clear suggestions once chip is submitted.Ekin Oguz
This is fixing a bug where chips library is using suggestions from previously typed and selected recipient for the current recipient. BUG: 30106082 Change-Id: I95ae90558d516cc20b572f6c67a1657b34042163
2016-06-28Use getLocationOnScreen to position auto-complete dropdown. am: 087b818daeGreg Bullock
am: 90d7bf1b71 Change-Id: Ida447a4b52af6a16accb0c6e223413e1b15578bc
2016-06-28Use getLocationOnScreen to position auto-complete dropdown.Greg Bullock
am: 087b818dae Change-Id: I64959013f692acd76f4d9c406afe1f3ab24df09c
2016-06-28Use getLocationOnScreen to position auto-complete dropdown.Greg Bullock
On Android N, the dropdown position should be computed relative to the window and not just the activity because in split-screen mode, the compose activity may be in the bottom pane. BUG=29610161 Change-Id: I98c2b3ab32e92cdfcd44d4d2c175573aee77cad4
2016-06-22Add a function to get recipients under more span. am: 1a68eb2ed0Ekin Oguz
am: 84dcfd8d33 Change-Id: Ifff22bc8e4656bf215d19c83a4114d02874996f7
2016-06-22Add a function to get recipients under more span.nougat-devEkin Oguz
am: 1a68eb2ed0 Change-Id: I617462a3e9bda280d59425c393f6ff77d4d5520b
2016-06-21Add a function to get recipients under more span.Ekin Oguz
Currently, RecipientEditTextView only allows access to selected recipients, where hidden recipients under +1 (more chip) span are not included. Added function, getAllRecipients(), allows getting all the recipients, selected and hidden so that callers can make use of already loaded information from chips. BUG: 29519483 Change-Id: I578fdbb29d09e4d805788b0bbadcb34c6ac1069f
2016-06-20Take mNoChip into account for recipient callbacks. am: 1163a27340Ekin Oguz
am: fea2a5b25f Change-Id: Id26660fe1963e192cb75ee7e78fae33a22694413
2016-06-20Take mNoChip into account for recipient callbacks.Ekin Oguz
am: 1163a27340 Change-Id: Id04e722b88350039bac86f885a265162a3cd2133
2016-06-20Take mNoChip into account for recipient callbacks.Ekin Oguz
When there are more than 50 recipients, RecipientEditTextView enters into noChip mode, where all the recipients are converted into editable texts. In this case, adding a new recipient or deleting a recipient should not cause onRecipientChipAdded() or onRecipientChipDeleted() callbacks to be called. Also expose whether RecipientEditTextView is in noChip mode or not to public. BUG: 29234045 Change-Id: Ib7879b62231af49bd74d6ee2d5442d94f0fd8ef5
2016-06-08Call ChipDeleted when out of contact chip is tapped. am: 5ae8a7a238Ekin Oguz
am: 94c6224acc Change-Id: Iae4169966984007de40da120b9cbf2c200f722c0
2016-06-08Call ChipDeleted when out of contact chip is tapped.Ekin Oguz
am: 5ae8a7a238 Change-Id: I0ea480b91094b1aade811df88ee02744b560c48f
2016-06-07Call ChipDeleted when out of contact chip is tapped.Ekin Oguz
When a recipient chip that is not in user's contact list is focused, chip gets destroyed. This change forwards this event via onRecipientChipDeleted callback. For the cases where recipient is in user's contact list, chip is destroyed, but instead it is focused and a X on the right is shown. This event is handled in ag/1055315 BUG: 29149056 Change-Id: I592e6f2878a56f956b4ee6db0f19e6f059db1b7d
2016-06-03Import translations. DO NOT MERGEBill Yi
am: 4acc36e776 -s ours * commit '4acc36e77650c7391e8f28d92fbccade8aac0320': Import translations. DO NOT MERGE Change-Id: I49000d09cd5eeb9abed1af201a9970c0b5b50053
2016-06-03Import translations. DO NOT MERGEBill Yi
Change-Id: I0ad66c82c113cd3e1dea78d43e26d17138c1752f Auto-generated-cl: translation import
2016-06-03Import translations. DO NOT MERGEBill Yi
Change-Id: I6da94ef19f12af14bca9d95d783312ea53c36a28 Auto-generated-cl: translation import
2016-05-24Call RecipientChipDeletedListener when chip is deleted via X. am: 339ffd585cEkin Oguz
am: afb82cfb88 * commit 'afb82cfb88c7c33d2b39a11c30a55a2827d7c37b': Call RecipientChipDeletedListener when chip is deleted via X. Change-Id: If4f2770c66031f8880ec780a62f2fa66668f072b
2016-05-24Call RecipientChipDeletedListener when chip is deleted via X.Ekin Oguz
am: 339ffd585c * commit '339ffd585c0a033822b8a01d39834d6f5870b04a': Call RecipientChipDeletedListener when chip is deleted via X. Change-Id: I8ad36deaa12624450cb53606e9e049a7429d3394
2016-05-24Call RecipientChipDeletedListener when chip is deleted via X.Ekin Oguz
Focusing on chip shows X on the right side of chip, which deletes the chip upon click. RecipientChipDeletedListener was not called for this event. RecipientChipDeletedListener is added in ag/865863. Bug: 27044172, 28845664 Change-Id: I2794b5c747839c7d050d4a9d0cfe3ce5cf8aa57e
2016-05-24Removed old resource files that caused build warnings. am: 22430b3dc0Pieter-Paul Kramer
am: 0bb307db0d * commit '0bb307db0de4ac7fa9d386c0d7bbe3d41f3a7295': Removed old resource files that caused build warnings. Change-Id: I491efe5a33dc14b86b2d0253c812e8d593241292
2016-05-24Removed old resource files that caused build warnings.Pieter-Paul Kramer
am: 22430b3dc0 * commit '22430b3dc068a65a01a4f6da9f705612943f6304': Removed old resource files that caused build warnings. Change-Id: Ie1e8694521e342abe73e77ab535454341721886b
2016-05-23Removed old resource files that caused build warnings.Pieter-Paul Kramer
I tested using cl/121942021 in google3 that this actually fixes the problem. Bug: 27142263 QA=N/A Change-Id: I67ec05d04ba4534adf0b9f2c1f906b74887676e1
2016-05-04Import translations. DO NOT MERGEBaligh Uddin
am: 92354596e9 -s ours * commit '92354596e9f106d1f98ea555393eaa0458183210': Import translations. DO NOT MERGE Change-Id: I304f77d8e847d3d908e738387e342b7a0eed6c3b
2016-05-04Import translations. DO NOT MERGEBaligh Uddin
Auto-generated-cl: translation import Bug: 28463229 Change-Id: Ie5887fd9c66635b90eed8be8dff168f74782af9e
2016-04-15handle the edge case where more than one directory matches an accountAndy Huang
am: f2eb07a * commit 'f2eb07a61d474d3b5da100d928d83f1e7e853771': handle the edge case where more than one directory matches an account Change-Id: I9d09c66a5cb02f8a0c932fa0791a1dad15fa9666
2016-04-14handle the edge case where more than one directory matches an accountAndy Huang
In rare cases, Gmail can have multiple directory providers for a single account. In these cases, the prior code would actually end up *omitting* all but the last provider it encountered in the final results. Fix this by only "promoting" the first such matching directory. The choice to promote the first is arbitrary, but this is strictly better than the existing code because it no longer omits the other matching directories. Bug: 28171393 Change-Id: Ifde3dbc868b0e3d1c6c5520429847cb773a808b2
2016-04-07Fix gradle :support-v4 dependencyFrancisco Pimenta
am: 07a3758 * commit '07a3758a77c288da69528da9245f5dbe6e81051a': Fix gradle :support-v4 dependency Change-Id: Ib7bda129975bc3e701d8ee020ebdd5ac339af512
2016-04-07Fix gradle :support-v4 dependencyFrancisco Pimenta
Using same pattern as in buildSrc's BuildUtils. Change-Id: I50b4cee4e83c89025388f0aaef86352a93652231
2016-04-07Removed gradle reference to sdk and build toolsFrancisco Pimenta
am: 398b1f3 * commit '398b1f3c56e89b82933e3ee4f01323f9a6596ab7': Removed gradle reference to sdk and build tools Change-Id: I8b80c4cd463c2bd3f3d9e50d69789b20435e643a
2016-04-06Removed gradle reference to sdk and build toolsFrancisco Pimenta
Build tools have just been updated to 23.0.3 with this change build files are simplified and resilient to changes in target sdk and build tools. Change-Id: If0991ba7ace83d71f8ff3c1f3764b7c5bc93cce2
2016-04-04Add RecipientChipAddedListener.Ekin Oguz
am: ae2cd15 * commit 'ae2cd1536163c0166679e6b4d64ba2df28588ff3': Add RecipientChipAddedListener. Change-Id: I4ea222a9ca4f3bbea20bd0551a7b42a7906576b5
2016-04-04Add RecipientChipAddedListener.Ekin Oguz
Sibling of this, RecipientChipDeletedListener, was added in ag/865863. Bug: 27836596 Change-Id: I58df1df56907698d4203fafa53914dd596433d68
2016-03-19Import translations. DO NOT MERGEGeoff Mendal
am: 30d5578 -s ours * commit '30d557843846127eb5d3a23a9ef7c5388d791fea': Import translations. DO NOT MERGE
2016-03-19Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I901e7da506a59e6e48b55c4624ca4861511a3524 Auto-generated-cl: translation import
2016-03-19Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ic429c58c09bfe3a01deb641b1cf4cf1288a13b05 Auto-generated-cl: translation import
2016-03-17Fix build.Jeff Sharkey
Change-Id: I68300c4d1aca639e0740b0e17a71e018a990d6f1
2016-03-17Import translations. DO NOT MERGEGeoff Mendal
am: f63fb5c -s ours * commit 'f63fb5c2cb82d9b2fee2b6c747a5d1fc77bf7c5a': Import translations. DO NOT MERGE
2016-03-17Add RecipientChipDeletedListenerBorys Boyko
am: c4da98a * commit 'c4da98ae5163692b343b3f4c034a79840b1f3995': Add RecipientChipDeletedListener