Commit Graph

33301 Commits

Author SHA1 Message Date
Ming-Shin Lu 2caf344fe2 Fix weird split-screen secondary task animation am: 1eedfc33c5 am: bfb07e5a99 am: b5efb27a7e
Change-Id: Ic6c55e05d409ffc4cbae5817531ed2c43f7bc680
2020-05-20 02:45:34 +00:00
Ming-Shin Lu f5066538eb Fix weird split-screen secondary task animation am: 1eedfc33c5 am: 8e4811e357 am: caca2aaf0a
Change-Id: I8a1e88aa1f5436bd39596fdcecd639f4d2b3e910
2020-05-20 02:45:25 +00:00
TreeHugger Robot 764f67e967 Merge "Re-enable app long-press menu on Go devices" into ub-launcher3-rvc-dev 2020-05-20 02:43:38 +00:00
Sunny Goyal 672d02cd39 Unifying swipe handling for fallback launcher
Previosuly we had a different swipe handler for 3P Launcher which
started either recents or Launcher based on the initial interaction
(horizontal or vertical). This was primarily because we had to wait
for recents transition to finish before starting another activity
which could delay going to home.

Now we always start recents transition to recentsActivity. This allows
us to use the same swipe handling logic as QuickstepLauncher. Home
activity can be started while recents transition is running and can be
controlled using onTaskAppeared callback.

Bug: 156924169
Bug: 156398988
Bug: 156295255
Change-Id: Ib9f02e0281e8d674bde2f4a81eca5fc8a5962144
2020-05-19 19:41:30 -07:00
Ming-Shin Lu 5674b16660 Fix weird split-screen secondary task animation am: 1eedfc33c5 am: 8e4811e357
Change-Id: I6b2f7331118c7e6f9d308792e88a4e49fe4bf533
2020-05-20 02:19:51 +00:00
Ming-Shin Lu caca2aaf0a Fix weird split-screen secondary task animation am: 1eedfc33c5 am: 8e4811e357
Change-Id: I29bfc7372a5c86d4358794f5a2c33fbff738dc0a
2020-05-20 02:19:23 +00:00
Ming-Shin Lu b5efb27a7e Fix weird split-screen secondary task animation am: 1eedfc33c5 am: bfb07e5a99
Change-Id: I40a4e235ef7d392d0a93b2a447317660e3a1033d
2020-05-20 02:19:20 +00:00
TreeHugger Robot 8cb5a760ed Merge "Fix weird split-screen secondary task animation" into ub-launcher3-rvc-dev am: c475f28b4f
Change-Id: Ie99414430cb9f6d4f8942e5aa692416b8c6e5018
2020-05-20 02:12:27 +00:00
Ming-Shin Lu bfb07e5a99 Fix weird split-screen secondary task animation am: 1eedfc33c5
Change-Id: Ia564bdf0c73278296532cbaaa4dc3dd7ee3b9c1d
2020-05-20 02:07:36 +00:00
Ming-Shin Lu 77aaa90b8b Fix weird split-screen secondary task animation am: 1eedfc33c5
Change-Id: Idede4a762c224959dd153c01c01808ddbeec40c8
2020-05-20 02:07:19 +00:00
Ming-Shin Lu 8e4811e357 Fix weird split-screen secondary task animation am: 1eedfc33c5
Change-Id: Ief71245077b8695b72ed459f3f0dd43d9507c2a5
2020-05-20 02:07:13 +00:00
TreeHugger Robot c475f28b4f Merge "Fix weird split-screen secondary task animation" into ub-launcher3-rvc-dev 2020-05-20 01:57:15 +00:00
TreeHugger Robot 2ee582650f Merge "More logging for swiping to Overview instead of All Apps" into ub-launcher3-rvc-dev am: a41f9dcbe9
Change-Id: I23621d2e172af2fe1266c9cc72fbf81791187521
2020-05-19 21:08:34 +00:00
Vinit Nayak 11b1c23aa0 Merge "Increase overview thumbnail size for 2 button landscape." into ub-launcher3-rvc-dev am: a8f083b581
Change-Id: I4b395e3068d2935c26f4aa2e6de79f3b3db8316d
2020-05-19 21:08:28 +00:00
TreeHugger Robot a41f9dcbe9 Merge "More logging for swiping to Overview instead of All Apps" into ub-launcher3-rvc-dev 2020-05-19 21:04:20 +00:00
Vinit Nayak a8f083b581 Merge "Increase overview thumbnail size for 2 button landscape." into ub-launcher3-rvc-dev 2020-05-19 20:49:08 +00:00
vadimt f95cfce267 More logging for swiping to Overview instead of All Apps
Bug: 156095088
Change-Id: Ia4d59b43225c7652cfc0ae72c05a5477deeb842b
2020-05-19 12:49:17 -07:00
Vinit Nayak 88830c0657 Increase overview thumbnail size for 2 button landscape.
With shelf hidden in 2 button landscape, need to fill
in the extra space w/ larger thumbnail.

Fixes: 156442623
Test: Larger thumbnail shows up in 2 button landscape
Change-Id: Ie2856c8d248b28ae7c06cbe40c7417a827c2bd96
2020-05-19 12:07:37 -07:00
thiruram 5c04501c40 Introduces CONTAINER_WIDGETS_TRAY to LauncherSettings.Favorites. am: 6bf6848951
Change-Id: I6056a229bb187c9a52b1f02b012bc7aa19259a03
2020-05-19 18:15:31 +00:00
Ming-Shin Lu ce7eec0bbd Fix weird split-screen secondary task animation
As CL[1] corrects the screenBounds of remote animation target,
and we are now using RemoteAnimationTarget#localBounds to offect the
position.

Remove the offset logics in AppWindowAnimationHelper#updateSourceStack,
and TaskViewSimulator#setPreview, then refine computeSurfaceParams
with offseting the position of HOME task by localBounds.

[1]: I793f01fb290fe65af1bbf8e29e429fbca63ac255

Fix: 153581126
Test: manual as below steps:
     1) Launch a app, swipe up to overview screen.
     2) Tap app icon and pressing "Split screen" item.
     3) After entered split-screen mode, taps the task view.
     4) Make sure the secondary task animation the movement is
        correct and smoothly.

Change-Id: I0e4ed1465e80f48336908813ac694fb3aaa3c347
2020-05-19 17:07:47 +00:00
Ming-Shin Lu 1eedfc33c5 Fix weird split-screen secondary task animation
As CL[1] corrects the screenBounds of remote animation target,
and we are now using RemoteAnimationTarget#localBounds to offect the
position.

Remove the offset logics in AppWindowAnimationHelper#updateSourceStack,
and TaskViewSimulator#setPreview, then refine computeSurfaceParams
with offseting the position of HOME task by localBounds.

[1]: I793f01fb290fe65af1bbf8e29e429fbca63ac255

Fix: 153581126
Test: manual as below steps:
     1) Launch a app, swipe up to overview screen.
     2) Tap app icon and pressing "Split screen" item.
     3) After entered split-screen mode, taps the task view.
     4) Make sure the secondary task animation the movement is
        correct and smoothly.

Change-Id: I0e4ed1465e80f48336908813ac694fb3aaa3c347
2020-05-19 20:02:44 +08:00
Jon Spivack 5efa076dae Re-enable app long-press menu on Go devices
Deep shortcuts and the home-screen Widgets menu were removed from Go in b/112904271. Subsequently removing the entire app long-press menu, however, may have been unintended behavior. This re-enables that menu, which currently houses the App Info system shortcut.

Bug: 156120551
Test: Manual
Change-Id: Ifa0befe1896315b5ed905271c2cf4805f70c39c0
2020-05-18 20:23:28 -07:00
Jon Spivack a944e11103 Merge "Re-enable app long-press menu on Go devices" into ub-launcher3-master 2020-05-19 00:49:02 +00:00
thiruram 6bf6848951 Introduces CONTAINER_WIDGETS_TRAY to LauncherSettings.Favorites.
This would log LAUNCHER_ITEM_DRAG_STARTED event when an item is dragged from widgets tray. This also fixes empty component with widget logs.

Sample Log: https://docs.google.com/document/d/1CBP2yTcXdFhPdNG5ZmWFKSgd8mDbMevY-akVlUXPLDo/edit#bookmark=id.bk5w3n8uwhcl

Bug: 152978018
Change-Id: I51d16edae13973d5e62adda0e4efa861fa10dc1b
2020-05-18 16:44:46 -07:00
Vinit Nayak 97a479a80e Merge "Override Rect#contains() to include bottom right" into ub-launcher3-rvc-dev am: 4ae95beb9b
Change-Id: If518db06e4049fb9487cf6a68875eed1618ccbbe
2020-05-18 22:31:50 +00:00
Vinit Nayak 4ae95beb9b Merge "Override Rect#contains() to include bottom right" into ub-launcher3-rvc-dev 2020-05-18 22:21:55 +00:00
TreeHugger Robot 720b2045e5 Merge "Rename closeEvents to reduce confusion" into ub-launcher3-rvc-dev am: 7cdb4cfecc
Change-Id: Ie3982d5b38f3a2610f2ecd3c9f05443c31b03391
2020-05-18 21:36:01 +00:00
TreeHugger Robot 7cdb4cfecc Merge "Rename closeEvents to reduce confusion" into ub-launcher3-rvc-dev 2020-05-18 21:21:14 +00:00
Jon Spivack 07a46d04ff Re-enable app long-press menu on Go devices
Deep shortcuts and the home-screen Widgets menu were removed from Go in b/112904271. Subsequently removing the entire app long-press menu, however, may have been unintended behavior. This re-enables that menu, which currently houses the App Info system shortcut.

Bug: 156120551
Test: Manual
Change-Id: Ifa0befe1896315b5ed905271c2cf4805f70c39c0
2020-05-18 13:15:57 -07:00
TreeHugger Robot 42ff4eded9 Merge "Using taskView simulator for animation a task to recentsView" into ub-launcher3-rvc-dev am: d5315f8c29
Change-Id: Ifacdfd10534e09a27599dd2ffb9e87c57f28c3c2
2020-05-18 19:17:47 +00:00
TreeHugger Robot d5315f8c29 Merge "Using taskView simulator for animation a task to recentsView" into ub-launcher3-rvc-dev 2020-05-18 19:02:30 +00:00
TreeHugger Robot ccc092a657 Merge "Remove tracing for a fixed flake" into ub-launcher3-rvc-dev am: e5a83db490
Change-Id: I7cbb7fc45d3394c2ddd65b92efb158e35696b354
2020-05-18 17:37:33 +00:00
TreeHugger Robot e5a83db490 Merge "Remove tracing for a fixed flake" into ub-launcher3-rvc-dev 2020-05-18 17:21:41 +00:00
vadimt 2bba25a08d Remove tracing for a fixed flake
Bug: 155926212
Change-Id: Ia847d735d58154bc768b69d3ae3dc0af7fcdbf11
2020-05-18 16:34:57 +00:00
Vinit Nayak 0b94c2736c Merge "Hide shelf in 2-Button Landscape" into ub-launcher3-rvc-dev am: 08619f8600
Change-Id: I9a23f52c7e61dbd930b4143bf0de3de274bd2b21
2020-05-17 23:45:45 +00:00
Vinit Nayak 08619f8600 Merge "Hide shelf in 2-Button Landscape" into ub-launcher3-rvc-dev 2020-05-17 23:32:00 +00:00
Vinit Nayak 23681083b2 Hide shelf in 2-Button Landscape
Disable overview rotation in 2-Button.

Fixes: 154181816
Test: Tested no button and 2 button,
overview actions worked as before.

Change-Id: Ic22c791c7a93460840d54aaf0bf32884cc110e19
2020-05-17 15:17:11 -07:00
android-build-team Robot 1ae100c92b Snap for 6502793 from 23f0734eec to mainline-release
Change-Id: Ib0d2ced4421e2fa2704c8134a3478c35faf19200
2020-05-17 07:05:42 +00:00
android-build-team Robot 26a58cac01 Snap for 6502385 from 6e0d05fc41 to rvc-release
Change-Id: I88d41b9391fa27e37a74ea801e8e11c70085ffd4
2020-05-16 23:16:56 +00:00
Automerger Merge Worker 505a28ba6e Merge "Merging from ub-launcher3-rvc-dev @ build 6492476 am: 6e0d05fc41 am: a668e4b4e3" into rvc-d1-dev-plus-aosp am: 96cca43da4 am: 5b4accc35b
Change-Id: I3e40f16b7dc80cd4aa4110948830fa218b1f95eb
2020-05-16 03:53:12 +00:00
Winson Chung 22a8d51788 Merging from ub-launcher3-rvc-dev @ build 6492476 am: 6e0d05fc41 am: 3cc9e2dcc1 am: ea34dfad3f am: a2f49872dc
Change-Id: I7b977dc2ac3c516aa808ba0e6b6afd139a9ebd98
2020-05-16 03:52:50 +00:00
Winson Chung 20195cf7fb Merging from ub-launcher3-rvc-dev @ build 6492476 am: 6e0d05fc41 am: 3cc9e2dcc1 am: 33d5253e1d am: 62f74e265d
Change-Id: Iedb9659268f3f252d611722375e9e24b8289b91f
2020-05-16 03:52:28 +00:00
Automerger Merge Worker 5b4accc35b Merge "Merging from ub-launcher3-rvc-dev @ build 6492476 am: 6e0d05fc41 am: a668e4b4e3" into rvc-d1-dev-plus-aosp am: 96cca43da4
Change-Id: Ib6d57b13f4824335d9a5cfff82bc627773a5cff9
2020-05-16 03:32:03 +00:00
Winson Chung a2f49872dc Merging from ub-launcher3-rvc-dev @ build 6492476 am: 6e0d05fc41 am: 3cc9e2dcc1 am: ea34dfad3f
Change-Id: I4dcb0d7169f2e36158ab94e428aaa868b3bddfef
2020-05-16 03:31:34 +00:00
Winson Chung 62f74e265d Merging from ub-launcher3-rvc-dev @ build 6492476 am: 6e0d05fc41 am: 3cc9e2dcc1 am: 33d5253e1d
Change-Id: Id21099b45715fa60051774ed96b83d78f30e2497
2020-05-16 03:31:18 +00:00
Automerger Merge Worker 96cca43da4 Merge "Merging from ub-launcher3-rvc-dev @ build 6492476 am: 6e0d05fc41 am: a668e4b4e3" into rvc-d1-dev-plus-aosp 2020-05-16 03:07:26 +00:00
Winson Chung e68fec2361 Merging from ub-launcher3-rvc-dev @ build 6492476 am: 6e0d05fc41 am: a668e4b4e3
Change-Id: Ide35e42c602dc04b762fc07ecaa9c11424552b93
2020-05-16 03:07:07 +00:00
Winson Chung 33d5253e1d Merging from ub-launcher3-rvc-dev @ build 6492476 am: 6e0d05fc41 am: 3cc9e2dcc1
Change-Id: I5338ccb41995048c92f2ea767e233e186b9040fe
2020-05-16 03:07:03 +00:00
Winson Chung ea34dfad3f Merging from ub-launcher3-rvc-dev @ build 6492476 am: 6e0d05fc41 am: 3cc9e2dcc1
Change-Id: Ia6be79352d96e6edcef08654a71adc485f845c33
2020-05-16 03:07:01 +00:00
Winson Chung 23f0734eec Merging from ub-launcher3-rvc-dev @ build 6492476 am: 6e0d05fc41
Change-Id: Ic4f78c6be4ef986a9d2739a765167b6595a64b04
2020-05-16 02:53:38 +00:00