Commit Graph

27176 Commits

Author SHA1 Message Date
Ming-Shin Lu 820b4e16ad Fix weird split-screen secondary task animation am: 1eedfc33c5 am: 8e4811e357 am: 5674b16660
Change-Id: I3a16edbede7b2923e7c7bd265306b1c2fdeb0630
2020-05-20 02:48:22 +00:00
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
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
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 8e4811e357 Fix weird split-screen secondary task animation am: 1eedfc33c5
Change-Id: Ief71245077b8695b72ed459f3f0dd43d9507c2a5
2020-05-20 02:07:13 +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
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 a668e4b4e3 Merging from ub-launcher3-rvc-dev @ build 6492476 am: 6e0d05fc41
Change-Id: I716c478823391f08a39f5cf011250fe81bc449cd
2020-05-16 02:53:33 +00:00
Winson Chung 3cc9e2dcc1 Merging from ub-launcher3-rvc-dev @ build 6492476 am: 6e0d05fc41
Change-Id: I831ea10a2a90a4714920a0fd765f4ce3d10761aa
2020-05-16 02:53:17 +00:00
Winson Chung 6e0d05fc41 Merging from ub-launcher3-rvc-dev @ build 6492476
Bug: 150504032
Test: manual, presubmit on the source branch
    x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6492476.html
Change-Id: I96b36965f7b471eb77aa78a8b923ed9298e8a02f
2020-05-13 23:22:18 +00:00
Vinit Nayak bdd6522661 Merge "Update recents child views RTL handling" into ub-launcher3-rvc-dev 2020-05-13 21:41:09 +00:00
TreeHugger Robot 26cdf42c42 Merge "Build fix. Unifying task size calculation code." into ub-launcher3-rvc-dev 2020-05-13 21:40:50 +00:00
Sunny Goyal f190fd2d4e Build fix. Unifying task size calculation code.
Change-Id: Iaed3a28a9e74c39da8d01aa42b30c96bdb69a661
2020-05-13 14:06:07 -07:00
TreeHugger Robot 1462617c97 Merge "Starting investigation for non-delivered TIS events" into ub-launcher3-rvc-dev 2020-05-13 20:40:47 +00:00
vadimt 87db7187c6 Starting investigation for non-delivered TIS events
Bug: 156287114
Change-Id: Icae88318a8e5a8f6b9931913b24ad3ece5475cc3
2020-05-13 13:08:39 -07:00
TreeHugger Robot 2f64428700 Merge "add null check to prevent NPE in logging app launch" into ub-launcher3-rvc-dev 2020-05-13 19:21:39 +00:00
TreeHugger Robot 650da4bbd1 Merge "Keep Predicted icon same size when dragging" into ub-launcher3-rvc-dev 2020-05-13 19:18:28 +00:00
Pinyao Ting 44775ad756 add null check to prevent NPE in logging app launch
Bug: 156458241
Test: manual
Change-Id: I7327453233a1e22473967e7c0513b4e1fa282459
2020-05-13 11:39:24 -07:00
TreeHugger Robot e0fef877e4 Merge "Changing RecentsView layout based on the split screen task size" into ub-launcher3-rvc-dev 2020-05-13 18:35:05 +00:00
TreeHugger Robot d893a478a3 Merge "Adds Settings button back to Back gesture tutorial." into ub-launcher3-rvc-dev 2020-05-13 18:34:37 +00:00
Becky Qiu dc48fc4f84 [Overview Actions] Adjust the select mode taskview UI.
It will have a 30dp horizontal paddings and vertically in the middle of the screen.

Test: local
Bug: 155444014

Change-Id: I4f3d627008b2c114cc4921bf683919c6044926e4
2020-05-13 18:23:28 +00:00
Samuel Fufa 167210a323 Keep Predicted icon same size when dragging
-> In addition, this also prevents the drawing of ring effect for predicted icon when view is about to be copied to drag bitmap. Icon will scale to full size (without ring) when dropped.

Video attached to bug report

Bug: 152325754
Test: Manual
Change-Id: Ibd1a5dbf76c41bdc30ae851ad914a4d0e32703c8
2020-05-13 11:22:27 -07:00
Andy Wickham ee1203e436 Adds Settings button back to Back gesture tutorial.
Uses a simpler Intent which actually works :)

Fixes: 149348244
Bug: 148542211
Change-Id: I5e28c63d1eec93b4642e398c7532e7ec4809d6e2
2020-05-13 10:48:38 -07:00
Andy Wickham 65381300f2 Minor cleanup in RecentTasksList.java
Change-Id: I8a496300c936e4d3f2bcd6b0c6c482e5bbb0452d
2020-05-13 09:34:49 -07:00
Vinit Nayak 08a8327b1d Update recents child views RTL handling
Fixes: 154928106
Test: AppIcon and clear all button
shows up as expected in LTR and RTL
configuration.

Change-Id: Idcf367b8aff53002e63a03b64b96e3602127707e
2020-05-12 22:24:26 -07:00
TreeHugger Robot 794ca4dba5 Merge "Dumping view hierarchy before swiping to Overview" into ub-launcher3-rvc-dev 2020-05-13 04:16:18 +00:00
TreeHugger Robot 75dcd82a67 Merge "Don't handle task appeared during second quick switch transition" into ub-launcher3-rvc-dev 2020-05-13 03:35:23 +00:00
vadimt 0790cef41c Dumping view hierarchy before swiping to Overview
Bug: 156044202
Change-Id: I21a11a7a55103cffbc05ddeeb93ecc4f6f4063e7
2020-05-12 18:25:32 -07:00
Tracy Zhou 9a1becebec Merge "Fade in grid preview" into ub-launcher3-rvc-dev 2020-05-13 00:45:37 +00:00
TreeHugger Robot 0276b7e2a7 Merge "Adds westworld logging events for drag and drop on target bar buttons." into ub-launcher3-rvc-dev 2020-05-13 00:31:19 +00:00
TreeHugger Robot 7c604edf92 Merge "[Overview Actions] Put the taskview in the middle of the screen." into ub-launcher3-rvc-dev 2020-05-12 23:01:25 +00:00
Tony Wickham f6be443eb4 Don't handle task appeared during second quick switch transition
Instead of using shared gesture state, use the swipe handler's
internal state. This ensures that only the handler that started
the new task can finish the controller for it (i.e. starting a
new gesture, which creates a new handler, will ignore the
onTaskAppeared() that the previous handler initiated).

Test: Quick switch to delayed task A, then quick switch to B right
before onTaskAppeared() such that we get onTaskAppeared() during
the transition (easier to repro if you increase animation durations
with springs off). Before this change, A appeared on top.

Bug: 156412706
Change-Id: Ic7d3cd43399005095b2e7c7382218edffefdc27b
2020-05-12 17:46:02 -05:00
TreeHugger Robot 7839eaa9b7 Merge "Generating a long-press even only when it's expected" into ub-launcher3-rvc-dev 2020-05-12 22:22:52 +00:00
thiruram ff48451ecd Adds westworld logging events for drag and drop on target bar buttons.
This would add below set of LauncherEvents:
* LAUNCHER_ITEM_DROPPED_ON_REMOVE
* LAUNCHER_ITEM_DROPPED_ON_CANCEL
* LAUNCHER_ITEM_DROPPED_ON_DONT_SUGGEST
* LAUNCHER_ITEM_DROPPED_ON_UNINSTALL
* LAUNCHER_ITEM_UNINSTALL_COMPLETED
* LAUNCHER_ITEM_UNINSTALL_CANCELLED

Sample Logs: https://docs.google.com/document/d/1CBP2yTcXdFhPdNG5ZmWFKSgd8mDbMevY-akVlUXPLDo/edit#bookmark=id.3ndtl1dalhdt

Bug: 152978018
Change-Id: I055a1b001524753eea71384b4765522f5946fbbc
2020-05-12 15:09:28 -07:00
Becky Qiu 073cbca370 [Overview Actions] Put the taskview in the middle of the screen.
Using horizontal padding 48dp to adjust the scale of the taskview and put it in the middle of the vertical space.

Test: local
Bug: 155444014
Change-Id: Iee6096baf18ae1106c24c83b4675abd4d3ff4d4f
2020-05-12 15:00:54 -07:00
Tracy Zhou 0d880c876b Fade in grid preview
Fixes: 156406762
Test: https://drive.google.com/open?id=1JshUMjd1ASjHcAhnAiG3PEC-6wCRY7EE
Change-Id: I6a99650796fe64a6c11ee9fad6904b14373c6363
2020-05-12 14:43:44 -07:00
Sunny Goyal b78ea4b4fc Changing RecentsView layout based on the split screen task size
Bug: 155816922
Change-Id: I33f69d72f8a27e3621d029c6ee4045c3664f3ac9
2020-05-12 14:04:19 -07:00
Sunny Goyal 3f948e3f42 Adding state manager to fallback recents activity
Bug: 156398988
Change-Id: Id0a106ef888ade5223940ac8243108c39b4d6b98
2020-05-12 13:31:48 -07:00
TreeHugger Robot 7dcd4d6ed6 Merge "Simplifying animation creating logic for app-to-overview" into ub-launcher3-rvc-dev 2020-05-12 18:42:22 +00:00
TreeHugger Robot 2830c99bee Merge "Even more additional logging for pause non-detection" into ub-launcher3-rvc-dev 2020-05-12 17:35:42 +00:00
vadimt 60bc43d0cc Even more additional logging for pause non-detection
Bug: 156044202
Change-Id: I7c1a8a9ef4149bd64597908c0b6797cfe33fd4b6
2020-05-12 09:51:24 -07:00