Commit Graph

34630 Commits

Author SHA1 Message Date
Winson Chung 2720de2a3a Merge "Add more logging and commands to service dump" into ub-launcher3-qt-dev
am: d3b0e8ed61

Change-Id: I7b2f032c6b52ad0b384af99030d69e1fa6d17123
2019-05-17 15:38:14 -07:00
TreeHugger Robot 7c278b62f9 Merge "Continue using window's sysui flags if task thumbnail unavailable" into ub-launcher3-qt-dev 2019-05-17 22:25:42 +00:00
TreeHugger Robot 24200e2757 Merge "Reapply recents attached state in createActivityController()" into ub-launcher3-qt-dev 2019-05-17 22:21:03 +00:00
TreeHugger Robot 95b81c3e55 Merge "Cancelling touch interaction on multi-touch event" into ub-launcher3-qt-dev 2019-05-17 22:21:01 +00:00
TreeHugger Robot 57ffdc4ec7 Merge "Fix issue with restored task display ids" into ub-launcher3-qt-dev 2019-05-17 22:10:02 +00:00
Tony 921da74c64 Continue using window's sysui flags if task thumbnail unavailable
If the centermost task is null or doesn't yet have thumbnail data,
don't use its sysui flags - continue using the window we're swiping
from instead.

Bug: 132898688
Change-Id: I202937d8aa01ee24ef01693d9594c4929e6bd314
2019-05-17 18:04:53 -04:00
Sunny Goyal 78c1a42331 Cancelling touch interaction on multi-touch event
If the second touch happens outside the swipe region, for eg when the user
is using a different gesture like pinch-to-zoom, do not capture the
input events

Bug: 132916535
Change-Id: I59df3831b96689586a2a684bf11805d42f1cb1d9
2019-05-17 14:55:09 -07:00
Winson Chung 5aec768ff4 Fix issue with restored task display ids
- When tasks are restored, they don't have a valid display id yet,
  but they will still be started on the default display and should
  have the same options until proven otherwise.

Bug: 132892578
Change-Id: I8ba0a976bd5682fbcda72ca1a98bf2517eb31312
2019-05-17 14:45:34 -07:00
TreeHugger Robot d3b0e8ed61 Merge "Add more logging and commands to service dump" into ub-launcher3-qt-dev 2019-05-17 21:34:21 +00:00
Winson Chung 9fe9a155ca Add more logging and commands to service dump
Change-Id: I03d5ea5aac618eba7e0e5a1555e45a165918bb60
2019-05-17 14:23:09 -07:00
Tony Wickham 2b98dc3e69 Merge "Remove TaskViewDrawable, scale RecentsView instead" into ub-launcher3-qt-dev
am: c9986f59ac

Change-Id: I5f10a0e26c74ab6f0856f8dd5a6fe60807628a17
2019-05-17 13:55:31 -07:00
Tony 5bb3ae9462 Merge "Add getOverviewFullscreenProgress() to LauncherState" into ub-launcher3-qt-dev
am: b05fbb8915

Change-Id: Ie4f2ea793233f22f9bebe5ac35e30ae5c17efcc4
2019-05-17 13:55:04 -07:00
Hyunyoung Song 8a4d556b4a Merge "Make folder backgrounds opaque" into ub-launcher3-qt-dev
am: 098febafaa

Change-Id: Ib6ca427ffbe7ae8224ae3d5c0352ecee812653b7
2019-05-17 13:54:32 -07:00
Tony Wickham c9986f59ac Merge "Remove TaskViewDrawable, scale RecentsView instead" into ub-launcher3-qt-dev 2019-05-17 20:41:55 +00:00
TreeHugger Robot b05fbb8915 Merge "Add getOverviewFullscreenProgress() to LauncherState" into ub-launcher3-qt-dev 2019-05-17 20:39:42 +00:00
Tony 1eb65b8a5b Remove TaskViewDrawable, scale RecentsView instead
Instead of faking recents scaling up when swiping down on a task,
actually scale it up. This is more consistent with what we do
for scaling to/from fullscreen elsewhere, and cleans up some code.

Bug: 130020567
Change-Id: I1a07813468d9a66f8f4e7b5d3d9a191b565f165c
2019-05-17 16:23:07 -04:00
Tony 5406817028 Add getOverviewFullscreenProgress() to LauncherState
- BackgroundAppState sets this to 1, all other states set it to 0
- QuickSwitchState extends BackgroundAppState, and calculations for
  fullscreen scale/translation are moved to BackgroundAppState
- Move fullscreen progress logic out of WindowTransformSwipeHandler
  and into the launcher activity controller, which uses the new
  RecentsView.FULLSCREEN_PROGRESS property to animate it

Bug: 130020567
Change-Id: If6265fcce3749050be354742e7d2c418d11ee9bb
2019-05-17 16:21:02 -04:00
TreeHugger Robot 098febafaa Merge "Make folder backgrounds opaque" into ub-launcher3-qt-dev 2019-05-17 20:13:12 +00:00
android-build-team Robot 1f3acc1c1a Snap for 5575726 from 9ff943d6a5 to rvc-release
Change-Id: I3e362bad8eb3eae5b7e46c41e075d0d02dae3497
2019-05-17 03:22:27 +00:00
Jon Miranda abec200967 Merge "Add padding between nav bar and hotseat in vertical bar layout." into ub-launcher3-qt-dev
am: a03bec439e

Change-Id: I12d6c89d1715f2509999e57e066565c9ea7ce0e7
2019-05-16 17:53:21 -07:00
TreeHugger Robot a03bec439e Merge "Add padding between nav bar and hotseat in vertical bar layout." into ub-launcher3-qt-dev 2019-05-17 00:29:04 +00:00
Miranda Kephart 97383f457d Merge "Avoid double triggering assistant gesture haptic" into ub-launcher3-qt-dev
am: fcfac8156d

Change-Id: Ic3b5b77441e04ff45f6f97f9f3824d8577ed7665
2019-05-16 17:23:20 -07:00
Vadim Tryshev 3c2970e407 Merge "Fix pinning tests on android virtual device" into ub-launcher3-qt-dev
am: 3c7f48116c

Change-Id: Ife5d6b43c18d7efb89ee533c6f26b64651eed25f
2019-05-16 17:22:57 -07:00
Hyunyoung Song c748c29643 Merge "Add developer options for grid change for Styles Bug: 118758696" into ub-launcher3-qt-dev
am: 0d51988d6e

Change-Id: Iea6edce57f2a8493f89165b457e089c5aa48047c
2019-05-16 17:22:12 -07:00
Jon Miranda 8acc08ae40 Fix bug where FloatingIconView did not use IconShape normalization scale.
am: c2968da372

Change-Id: Ic4a0f266463a82addf263f98099a2c10db69d7c5
2019-05-16 17:21:07 -07:00
Jon Miranda 3f411e7ae4 Add padding between nav bar and hotseat in vertical bar layout.
- Set to match the workspace padding on the opposite side of the
  screen.

Bug: 130521490
Change-Id: I26fd71bb146c56a647397a040dbbac9d1556c3fe
2019-05-16 17:16:21 -07:00
TreeHugger Robot fcfac8156d Merge "Avoid double triggering assistant gesture haptic" into ub-launcher3-qt-dev 2019-05-17 00:03:46 +00:00
Vadim Tryshev 3c7f48116c Merge "Fix pinning tests on android virtual device" into ub-launcher3-qt-dev 2019-05-16 23:51:28 +00:00
vadimt c7bb8479e9 Fix pinning tests on android virtual device
Change-Id: I90a8753975538ab9864591a37a7d366e1222f2d8
2019-05-16 16:32:25 -07:00
Hyunyoung Song 0d51988d6e Merge "Add developer options for grid change for Styles Bug: 118758696" into ub-launcher3-qt-dev 2019-05-16 22:08:43 +00:00
Miranda Kephart 6366d377af Avoid double triggering assistant gesture haptic
If the user drags almost all the way to gesture completion and
then flings, the haptic got triggered twice: first for the drag,
and then once the fling was registered. This checks whether the
assistant was already invoked before triggering the fling
invocation.

Bug: 132908798
Test: manual
Change-Id: Ibeed7279b8db32527490a0e11b8e5f0761187bbf
2019-05-16 18:00:14 -04:00
Jon Miranda c2968da372 Fix bug where FloatingIconView did not use IconShape normalization scale.
This fix allows for a clean tradeoff between the FIV and the original icon
in all icon shapes.

Bug: 130292844
Change-Id: Ief2eec2673161e0f9d32d8710713a1f01880040d
2019-05-16 14:21:28 -07:00
Hyunyoung Song 58de5de42a Add developer options for grid change for Styles
Bug: 118758696

Change-Id: I66cd36cda495d339e0c2550f0957e3fbcddca477
2019-05-16 13:38:38 -07:00
Vadim Tryshev bea0ee5322 Merge "Revert "Capture screenshot when animating to home"" into ub-launcher3-qt-dev
am: 5338e0540b

Change-Id: I8d4cb89979e73da568a459056f1f2cfae9fb9bcd
2019-05-16 13:06:30 -07:00
Vadim Tryshev 5338e0540b Merge "Revert "Capture screenshot when animating to home"" into ub-launcher3-qt-dev 2019-05-16 19:10:13 +00:00
Vadim Tryshev fd11390a65 Revert "Capture screenshot when animating to home"
This reverts commit 170a067f27.

Reason for revert: b/132816938

Bug: 132816938
Change-Id: Ia03e30f892b2515e498fa20402a9e497340361eb
2019-05-16 18:26:48 +00:00
android-build-team Robot 9f3c064d38 Snap for 5571274 from f524462537 to rvc-release
Change-Id: I9c97989aa40d873c6c658e18ce7f245e721d8081
2019-05-16 03:15:58 +00:00
Jon Miranda 9ff943d6a5 Merging ub-launcher3-qt-dev, build 5565340 am: 662f12fe62 am: 907b521695
am: 1555c5af87

Change-Id: Ic2791f52ab68644753dc7cbaf303a4c34ae1e4b4
2019-05-15 20:05:11 -07:00
android-build-team Robot 138782d4cb Snap for 5571215 from 662f12fe62 to qt-release
Change-Id: I87612fa726f3d2292cba128e4340d1cc08b52d34
2019-05-16 03:00:53 +00:00
Hyunyoung Song d8c71598ee Make folder backgrounds opaque
Bug: 130451254
Change-Id: I3b15d97e44e4ccc2968cfb4402d2479cca958afe
2019-05-15 17:12:39 -07:00
Sunny Goyal 337875864a Using a proxy activity for startActivityForResult
am: dedda05568

Change-Id: I61b29469ed60aad3258fd655094b9da7aaadc316
2019-05-15 17:07:14 -07:00
Jon Miranda 1555c5af87 Merging ub-launcher3-qt-dev, build 5565340 am: 662f12fe62
am: 907b521695

Change-Id: I8ce3a6d23ba9eea17592aea40c21ae926cb65d02
2019-05-15 16:49:49 -07:00
Zak Cohen e312e7fe84 Merge "Moves proactive hints and wellness toast into a linear layout." into ub-launcher3-qt-dev
am: 7daf892f66

Change-Id: I080f4fd6ba6d59fcd4bc2f77dc033d959db42b1b
2019-05-15 16:33:59 -07:00
Sunny Goyal dedda05568 Using a proxy activity for startActivityForResult
This ensures that the home task is never blocked by a different task

Bug: 74500048
Change-Id: I01fd26f1d6242e39b2d8fabac5e064b748aebe62
2019-05-15 16:33:06 -07:00
Jon Miranda f524462537 Merging ub-launcher3-qt-dev, build 5565340 am: 662f12fe62
am: cd5b03f67b

Change-Id: Iccae997fc2c7e41685f7b45ec0938a044d599c27
2019-05-15 16:14:42 -07:00
Zak Cohen 7daf892f66 Merge "Moves proactive hints and wellness toast into a linear layout." into ub-launcher3-qt-dev 2019-05-15 23:03:42 +00:00
Zak Cohen 1159c9c18a Moves proactive hints and wellness toast into a linear layout.
This ensures that they do not fight for the space. This is intended to
be iterated upon as we find solutions to some of the technical
challenges in the current POR.

Change-Id: I831e8797b16f28fe2cd742c96e9b7c916abf77a5
2019-05-15 15:47:58 -07:00
Jon Miranda cd5b03f67b Merging ub-launcher3-qt-dev, build 5565340
am: 662f12fe62

Change-Id: Ib3d34a7370f0da285d795170dc755cac72adb1b2
2019-05-15 15:21:34 -07:00
Sunny Goyal d8a716c6ec Merge "Displaying edge-to-edge in landscape" into ub-launcher3-qt-dev
am: fece462a94

Change-Id: I6de5c1f3e422f3ecb25d352440a8323dfc1680cb
2019-05-15 15:09:28 -07:00
TreeHugger Robot fece462a94 Merge "Displaying edge-to-edge in landscape" into ub-launcher3-qt-dev 2019-05-15 21:41:06 +00:00