Commit Graph

28165 Commits

Author SHA1 Message Date
Adam Cohen f946e0a5ee Merge "Refactor / Cleanup / Simplify a bunch of dnd related rendering / animation" into ub-launcher3-master 2020-03-21 01:27:08 +00:00
Adam Cohen 650869973a Refactor / Cleanup / Simplify a bunch of dnd related rendering / animation
Addresses:
=> Fix folder icon drop location mapping (was very far off)
=> Fix BubbleTextView drop animation shifted by a few pixels
=> Get rid multiple unnecessary calls to setDragMode(none), was breaking
   some of the reorder flow; still some issues to address here.
=> Fix folder icon parallax (didn't work when the folder had a dot)

Test: manual

Change-Id: I5959cf341996f75d30212353ec096ed25bf40ea5
2020-03-21 01:26:09 +00:00
Samuel Fufa cb6e713e00 Change work paused label font
Bug: 151405736
Test: Manual
Change-Id: I22c68fb998d84a19c1c57c968e76afac7242934b
2020-03-20 16:35:06 -07:00
TreeHugger Robot 1af6be57c8 Merge "Disable battery defender to avoid locking during the test" into ub-launcher3-master 2020-03-20 23:20:57 +00:00
Tony Wickham 3b5f2224c6 [DO NOT MERGE] Support blacklisting live wallpapers from showing sysui scrims
Add wallpaper changed broadcast receiver to BaseDragLayer, which
checks if the new wallpaper is blacklisted and relays that to
remove the scrims.

Bug: 150144115
Change-Id: I55b7b98fdd419cd76532492461a872367efed67b
(cherry picked from commit d6f917f182)
2020-03-20 21:56:18 +00:00
vadimt 1b4247d9cd Disable battery defender to avoid locking during the test
Bug: 151613234
Change-Id: Id323025c1a3bb53cc39839aa2295fcd25436e68e
2020-03-20 14:26:31 -07:00
TreeHugger Robot 7d3a113d05 Merge "Work profile accessibility fixes" into ub-launcher3-master 2020-03-20 20:46:25 +00:00
Samuel Fufa 7f6baf9f60 [Flake test] add state checks for WorkTabTest#testWorkEduIntermittent
Bug: 151768149
Test: labtest
Change-Id: I676175629c60662763b26ce24eba4a361784fbeb
2020-03-20 13:28:00 -07:00
Andy Wickham b55d5b279b Merge "Adds back gesture recognition to Sandbox." into ub-launcher3-master 2020-03-20 20:23:16 +00:00
Winson Chung 925639d881 Merge "Fixing TouchInteractionService referring destroyed activity" into ub-launcher3-master 2020-03-20 19:04:26 +00:00
Samuel Fufa 45c3b10448 Work profile accessibility fixes
- Remove TextView and use work switches text
- Allow talkback to read recyclerview overlay

Bug: 151884799
Bug: 151803591
Bug: 151274763
Bug: 151585835
Test: Manual
Change-Id: Ieee0d37d0244eb12ecb923d710cbbd6a86281062
2020-03-20 11:52:03 -07:00
Xin Li 6da5d63345 DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp@6304901 into stage-aosp-master am: bc2c965574
Change-Id: I313ed2574c2cf9af7cedf02540a36d5f0500871e
2020-03-20 18:32:24 +00:00
Xin Li 506335de19 [automerger skipped] DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp@6304901 into stage-aosp-master am: bc2c965574 -s ours
am skip reason: subject contains skip directive

Change-Id: I684255cf8384fb3ab8707af5f05639444f75c617
2020-03-20 18:31:52 +00:00
Evan Rosky f7eb87cebd Merge "Update window threshold in both directions" into rvc-dev am: 39cbf97f64 am: c0eb6269c6 am: 2ddbe4c8af
Change-Id: I904a49d3149f6388a4906a853eb507eda5af6abb
2020-03-20 18:30:25 +00:00
Evan Rosky 2ddbe4c8af Merge "Update window threshold in both directions" into rvc-dev am: 39cbf97f64 am: c0eb6269c6
Change-Id: I9efeb5bdcf7d4d6cfd0070a2de69f0f73b54b4ad
2020-03-20 18:27:37 +00:00
Evan Rosky c0eb6269c6 Merge "Update window threshold in both directions" into rvc-dev am: 39cbf97f64
Change-Id: I137a818d432a69180087e2895daccc65e7a97daa
2020-03-20 18:26:09 +00:00
Evan Rosky b9958da552 Merge "Update window threshold in both directions" into rvc-dev am: 39cbf97f64
Change-Id: Ie7fb82c4def54620b2ca22714a7fa83a2afe515e
2020-03-20 18:22:26 +00:00
Evan Rosky 39cbf97f64 Merge "Update window threshold in both directions" into rvc-dev 2020-03-20 18:20:15 +00:00
android-build-team Robot 977cf4ed63 Snap for 6315035 from a8bd501e9f to mainline-release
Change-Id: Iac225abd861b535b548a5e28363e2f35fb062808
2020-03-20 07:03:09 +00:00
TreeHugger Robot 20035f1803 Merge "Migrate hotseat items into a folder" into ub-launcher3-master 2020-03-20 03:52:26 +00:00
Samuel Fufa 82bbdaceae Migrate hotseat items into a folder
If feature flag HOTSEAT_MIGRATE_TO_FOLDER is enabled, this moves hotseat
items into a folder in the workspace. If not, it moves the whole hotseat
to the first workspace page that can host the hotseat.

Bug: 151099421
Test: Manual
Change-Id: I49f6a22a0ada2c4cf237ca91a323a46346a11a59
2020-03-19 20:10:14 -07:00
Winson Chung 7d020f7da1 Update window threshold in both directions
- Only use the task flags when we should be using the home screen state

Bug: 151181674
Test: Move gesture below threshold and observe split minimize
Change-Id: I1b0f682eb9c2861b36953da7695c798c187db517
2020-03-19 19:40:39 -07:00
android-build-team Robot 25986be942 Snap for 6314400 from e19a23a7ff to rvc-release
Change-Id: I73a8b5694de741701aadf5af3f734f0002afa373
2020-03-20 02:07:18 +00:00
Tony Wickham 5de624c286 Merge "Support blacklisting live wallpapers from showing sysui scrims" into ub-launcher3-master 2020-03-20 01:31:35 +00:00
Andy Wickham 3e34dd3791 Adds back gesture recognition to Sandbox.
This is used to step through the "happy path" of the existing
back tutorial steps (right edge and left edge). Unlike in the
Pixel Tips app, the tutorial only continues if you perform the
gesture from the correct edge of the screen.

This also lays the groundwork to provide helpful tips if the
expected gesture is performed incorrectly, although currently
such gestures are just ignored.

Demo: https://drive.google.com/open?id=12S42mZQITGzIWnj7mP1L__PCOgAQcjgp

Bug: 148542211
Change-Id: Ib2e0b2ff7c021db48c96d58e1370fa2e93330912
2020-03-20 01:01:49 +00:00
TreeHugger Robot c21eb0f483 Merge "[Overview Actions] Hide overview actions when swipe down to launch app." into ub-launcher3-master 2020-03-19 23:48:30 +00:00
Tony Wickham d6f917f182 Support blacklisting live wallpapers from showing sysui scrims
Add wallpaper changed broadcast receiver to BaseDragLayer, which
checks if the new wallpaper is blacklisted and relays that to
remove the scrims.

Bug: 150144115
Change-Id: I55b7b98fdd419cd76532492461a872367efed67b
2020-03-19 16:32:33 -07:00
Becky Qiu 445de0e579 [Overview Actions] Hide overview actions when swipe down to launch app.
Test: demo video: https://drive.google.com/a/google.com/file/d/122DNdDhInp5KALSOcfNLhl19eDm4zKcf/view?usp=sharing
Bug: 151928222
Change-Id: I837df884c78b297dbddf770e526340cb83530984
2020-03-19 16:00:56 -07:00
vadimt d8070756f1 Making sure the device doesn't lock during test execution
Unlocking the device at the beginning
of the test does help, but perhaps we should prevent
locking during the test execution.
Some failures still remain.

Bug: 151613234
2020-03-19 20:33:47 +00:00
Bill Yi a8bd501e9f [automerger skipped] Import translations. DO NOT MERGE am: e19a23a7ff -s ours am: d261f80c30 -s ours am: 32f6b1a66d -s ours
am skip reason: subject contains skip directive

Change-Id: I3abbb0e166dc6b0a5b9562b72842c2c1bfff147e
2020-03-19 20:17:37 +00:00
TreeHugger Robot 75bb8309c1 Merge "Fixing taskView is recycled with visibility gone when dismissed" into ub-launcher3-master 2020-03-19 19:51:01 +00:00
Jonathan Miranda ba2873a384 Merge "Polish app open scrim animation." into ub-launcher3-master 2020-03-19 19:44:37 +00:00
Bill Yi 32f6b1a66d [automerger skipped] Import translations. DO NOT MERGE am: e19a23a7ff -s ours am: d261f80c30 -s ours
am skip reason: subject contains skip directive

Change-Id: Id9c8e87b1a657493d975d89834d09e62b182be26
2020-03-19 19:42:03 +00:00
Bill Yi 9b25ccdb41 [automerger skipped] Import translations. DO NOT MERGE am: e19a23a7ff -s ours
am skip reason: subject contains skip directive

Change-Id: I2b770a62d31933eaefa9c2c4152f63bccf94ada1
2020-03-19 19:24:57 +00:00
Bill Yi d261f80c30 [automerger skipped] Import translations. DO NOT MERGE am: e19a23a7ff -s ours
am skip reason: subject contains skip directive

Change-Id: I62b2546a5e29146d44b14d07839cd95985e73756
2020-03-19 19:24:16 +00:00
Sunny Goyal 6feb4b638e Fixing taskView is recycled with visibility gone when dismissed
Bug: 151883828
Change-Id: I89d6ed78e1713b1e69e8c7075c638692902f5842
2020-03-19 12:00:44 -07:00
Jon Miranda 42e7c503e1 Polish app open scrim animation.
We used to hide the scrim animation immediately, now we fade it out along with
the rest of the draglayer.

Also uses staggered workspace animation when resuming launcher from other
means ie. back gesture -> home

Bug: 145242991
Change-Id: Ib2161746f79ae5eaceac02d1416aa9bd7ecfeac4
2020-03-19 11:59:59 -07:00
Vadim Tryshev 48561793b6 Merge "Unlocking device from the test" into ub-launcher3-master 2020-03-19 18:50:38 +00:00
TreeHugger Robot 02c4a73716 Merge "[Overview Actions] Hide task view footers when it's modal." into ub-launcher3-master 2020-03-19 18:05:07 +00:00
vadimt 14b60d77b7 Unlocking device from the test
This is a workaround for the infra not unlocking
the device properly.

I don't have access to may machine, so
I've created this CL in Gerrit editor, didn't test,
but it should work.

Bug: 151613234
2020-03-19 17:59:34 +00:00
Xin Li bc2c965574 DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp@6304901 into stage-aosp-master
Bug: 151763422
Change-Id: Id9cc5ab3703524a32092b2ed815101713fd76731
2020-03-19 10:10:41 -07:00
Bill Yi e19a23a7ff Import translations. DO NOT MERGE
BUG: 151750123
Auto-generated-cl: translation import
Change-Id: I5c7e8ffccb7830d2159bfe0de0d35fe011938e74
2020-03-19 15:54:33 +00:00
Samuel Fufa 9ea702ebf9 Merge "Final strings for work profile and hybrid hotseat" into rvc-dev am: 77a1c8eefc am: 4b2782b07e am: e0d5992c70
Change-Id: I64c697d5779122637d33931d128447500bc3d1bd
2020-03-19 09:37:50 +00:00
TreeHugger Robot 889e1b3ecb [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: b4197095a3 -s ours am: f82a40ce47 -s ours am: 45b0fd7969 -s ours am: 2eb1e5c42a -s ours
am skip reason: subject contains skip directive

Change-Id: I35910ec6f468e355bac6ad3041602dc3c9b12e8d
2020-03-19 09:37:41 +00:00
Samuel Fufa e0d5992c70 Merge "Final strings for work profile and hybrid hotseat" into rvc-dev am: 77a1c8eefc am: 4b2782b07e
Change-Id: I43ad79c4b314bf7713c137bb0ebda0c7f72b4ab7
2020-03-19 09:25:44 +00:00
TreeHugger Robot 2eb1e5c42a [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: b4197095a3 -s ours am: f82a40ce47 -s ours am: 45b0fd7969 -s ours
am skip reason: subject contains skip directive

Change-Id: I65573286fed29bf28c2ad566c6a069d877e0b2d6
2020-03-19 09:25:36 +00:00
Samuel Fufa 80ac4eea82 Merge "Final strings for work profile and hybrid hotseat" into rvc-dev am: 77a1c8eefc
Change-Id: I667971160de6bdf9555b134f7754454d07dd40e6
2020-03-19 09:00:57 +00:00
TreeHugger Robot 46b8242ff0 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: b4197095a3 -s ours am: f82a40ce47 -s ours
am skip reason: subject contains skip directive

Change-Id: I991e7ca749ed4c9ee0ccabf460b8dfdcfad12aec
2020-03-19 09:00:46 +00:00
Samuel Fufa 4b2782b07e Merge "Final strings for work profile and hybrid hotseat" into rvc-dev am: 77a1c8eefc
Change-Id: Ic7d077f7875b08fd0b19ab5c01660952c4886ffc
2020-03-19 09:00:35 +00:00
TreeHugger Robot 45b0fd7969 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: b4197095a3 -s ours am: f82a40ce47 -s ours
am skip reason: subject contains skip directive

Change-Id: Id0c6be9883147841940c5106a4d9c04b83714bbd
2020-03-19 09:00:26 +00:00