Commit Graph

34630 Commits

Author SHA1 Message Date
Tony Wickham c101e1c5de Fix curve properties not applying when dismissing task
- ag/10936255 replaced getViewCenterPosition() with getChildStart(),
  meaning getTranslationX() was no longer included.
- This change goes back to using getViewCenterPosition() and renames
  it to getChildStartWithTranslation().
- Update typo with parameter in getCurveProperties being mInsets
  instead of insets.

Bug: 153574162
Change-Id: I9b46daecf3ee6dbefe0270e70fdc5e6d9d0b0c00
2020-04-10 00:44:28 +00:00
vadimt e206b031a6 Removing tracing for fixed bug
Bug: 152658211
Change-Id: Idc1643a879fca47a50bd58090bbb72a284fd8d59
2020-04-09 16:41:01 -07:00
Becky Qiu 40f7ea4005 [Overview Actions] Update the actions container UI. am: a24c341b52
Change-Id: I42f6d5314cca7a8d92a1d38a1c76706d9be55396
2020-04-09 22:40:40 +00:00
Becky Qiu a24c341b52 [Overview Actions] Update the actions container UI.
Make the overview actions container not limited by the taskview any more, and add left and right margin as 16dp to it.

Screenshot: https://hsv.googleplex.com/5938979251683328
Test: local
Bug: 153591867
Change-Id: I8056105fe4c03311e473bb317cba345048ec2203
2020-04-09 21:36:44 +00:00
TreeHugger Robot 734c1d9634 Merge "Log InputConsumer name instead of type" into ub-launcher3-rvc-dev am: 260f52d41f
Change-Id: Iec0da13a5ac86a0dc5dc5ce14393f379636f9023
2020-04-09 21:35:42 +00:00
TreeHugger Robot 260f52d41f Merge "Log InputConsumer name instead of type" into ub-launcher3-rvc-dev 2020-04-09 21:30:50 +00:00
TreeHugger Robot feb582d3b8 Merge "Notify SysUi of NavBar region user interacts with" into ub-launcher3-rvc-dev am: 2f70230817
Change-Id: If3c1607ea3a93db1e83c86855bdd6b3cfc339001
2020-04-09 21:26:14 +00:00
Sunny Goyal a982e0c89f Moving model data structures to a separate file am: e396abf502
Change-Id: Ie1460415f62162a34e50eb2a2c6a1df99e07a18d
2020-04-09 21:26:05 +00:00
TreeHugger Robot 2f70230817 Merge "Notify SysUi of NavBar region user interacts with" into ub-launcher3-rvc-dev 2020-04-09 21:09:55 +00:00
Tony Wickham 94ea8fa77e Log InputConsumer name instead of type
Also slightly optimize getName() by using StringBuilder

Change-Id: I7037ba0204378a716bc292d5ced710e0ac37bb78
2020-04-09 20:49:02 +00:00
TreeHugger Robot 21de9388a9 Merge "Using config for robo test configuration so that it can easily be customized" into ub-launcher3-rvc-dev am: fefbe9e218
Change-Id: If2846f2e03523f67606b4cd9c3147b04397ccb2f
2020-04-09 20:25:48 +00:00
Sunny Goyal e396abf502 Moving model data structures to a separate file
Change-Id: I77ad7a5219e72d2e0d6c1803de2ac3ed6a65a8f7
2020-04-09 13:20:39 -07:00
TreeHugger Robot fefbe9e218 Merge "Using config for robo test configuration so that it can easily be customized" into ub-launcher3-rvc-dev 2020-04-09 20:11:50 +00:00
vadimt 8cb2f9ce08 Adding tracing for apparently skipping verifiable events
Bug: 153670015
Change-Id: I481c095f1245ba4252eb07e08b4130c857dd6e72
2020-04-09 13:02:48 -07:00
Vinit Nayak dcbed4b5a3 Notify SysUi of NavBar region user interacts with
SysUi can then adjust things like disabling
the edge back gesture region or re-drawing the
home handle in the correct positions.

Fixes: 150250451
Test: Tested quickswitch manually with
test apps fixed to different rotations.
Ensured back only showed when rotation of
touch and display matched.

Change-Id: Ie4ea3063835a09fc12ab1d4f8b504b3a9555fa9b
2020-04-09 12:48:42 -07:00
TreeHugger Robot c07879120f Merge "Fix drag and drop regression when dragging a scaled widget" into ub-launcher3-rvc-dev am: 94c627cf5c
Change-Id: I7801f77cebe6eed75256151747c6eac8377941c2
2020-04-09 19:10:45 +00:00
TreeHugger Robot 94c627cf5c Merge "Fix drag and drop regression when dragging a scaled widget" into ub-launcher3-rvc-dev 2020-04-09 19:06:10 +00:00
TreeHugger Robot a1d820eb7a Merge "More tracking for get-widgets flake" into ub-launcher3-rvc-dev am: 2637ec6d8b
Change-Id: Icc3b823c1e9fda858c61fd0fed277a8e848931cd
2020-04-09 19:04:59 +00:00
TreeHugger Robot f2ccb91f2b Merge "Fix the issue "Turn on work profile?" dialog not displayed for work profile deep shortcuts when disabled." into ub-launcher3-rvc-dev am: 2c243ad37d
Change-Id: Idf7aa7b91f25e48c201c4421e5388ea5372b5220
2020-04-09 19:04:53 +00:00
TreeHugger Robot 2637ec6d8b Merge "More tracking for get-widgets flake" into ub-launcher3-rvc-dev 2020-04-09 19:03:13 +00:00
TreeHugger Robot 2c243ad37d Merge "Fix the issue "Turn on work profile?" dialog not displayed for work profile deep shortcuts when disabled." into ub-launcher3-rvc-dev 2020-04-09 18:48:19 +00:00
Sunny Goyal c57a79721d Using config for robo test configuration so that it can easily be customized
Change-Id: Ibd0957ac5c28fae1f88d524cda29bbc84a7ff7bc
2020-04-09 11:32:38 -07:00
Sunny Goyal 7510361ee8 Merge "Adding All Apps action even when launcher is not in foreground" into ub-launcher3-rvc-dev am: 3d0d2292fe
Change-Id: Ic2ee6d630d7d5bd9cade86259ba723e6b40d4c57
2020-04-09 18:14:53 +00:00
vadimt 38a6404a8f More tracking for get-widgets flake
Bug: 152354290
Change-Id: I2883d04c3db0cba6323b125d6c15ffc7aeb1e5b4
2020-04-09 11:06:28 -07:00
Sunny Goyal 3d0d2292fe Merge "Adding All Apps action even when launcher is not in foreground" into ub-launcher3-rvc-dev 2020-04-09 18:01:09 +00:00
Pinyao Ting 8e5db81c3b Fix the issue "Turn on work profile?" dialog not displayed for
work profile deep shortcuts when disabled.

When work profile is locked, the state change doesn't propagated
into UserManagerService immediately. This CL remove that dependency,
rather than having Launcher calls UserManager#isUserUnlocked, the state
is passed into UserLockStateChangedTask by extracting user state from
broadcasted intent at the call-site.

Bug: 147210578
Test: manual
Change-Id: I87f3d0478df44df60e273189f77b61bc40dd2630
2020-04-09 18:00:37 +00:00
Sunny Goyal 512a2c1dbe Adding All Apps action even when launcher is not in foreground
> Also avoids additional binder call on resume/pause
> Removes a system API which needs to be mocked for robo tests

Change-Id: I23d0cba62c17f7659121c53d1804df40f5069005
2020-04-09 02:48:40 -07:00
lumark bec41bc5b9 Trigger onTaskAppeared when a task started from recents becomes ready.
Launcher can now receive onTaskAppeared callback from
RecentsAnimationController to get remote animation target when in quick
switch mode.

Note: This CL just demonstrates how to receive callback and then
calling removeTask & finish recents animation,
in order to really improve quick switch flicking, launcher side needs
to implement the rest of logic to animate task's remote animation target
to make task switching more smoothly.

Bug: 152480470
Test: WIP
Change-Id: Id0371db7339cfe84942cc905a89b0a2c1fab62ec
2020-04-09 17:19:43 +08:00
android-build-team Robot 3f41f1c993 Snap for 6379507 from 77bdfd63d0 to mainline-release
Change-Id: I91818c882ad1ceba2de79dc356ef802f163cc022
2020-04-09 07:08:53 +00:00
TreeHugger Robot a404566db4 Merge "Adding diags to getWidget" into ub-launcher3-rvc-dev am: e8fade9140
Change-Id: I4ca03097f809aab659681ab03621a0594a74dbc5
2020-04-09 05:01:36 +00:00
TreeHugger Robot e8fade9140 Merge "Adding diags to getWidget" into ub-launcher3-rvc-dev 2020-04-09 04:47:09 +00:00
vadimt 9e43839b45 TAPL waits for widgets recycler to become scrollable am: 9915a7c60f
Change-Id: I53115310c8d8aad654e5ef7b8bcbad042f773eab
2020-04-09 04:26:31 +00:00
android-build-team Robot 7180b8195e Snap for 6378851 from 2ab57b665d to rvc-release
Change-Id: I75d0580178c89423d1d7bad4fd4369bfa8d15c1d
2020-04-09 02:17:22 +00:00
vadimt 9915a7c60f TAPL waits for widgets recycler to become scrollable
On the Launcher side, moving setLayoutFrozen from the posted action to
avoid a possible short scrollable period just after the view is shown.

Bug: 152354290
Change-Id: I7319236d8a6e49a7e017fd54d593ee131dff10a9
2020-04-08 18:56:52 -07:00
Sunny Goyal 885de7f7fe Fixing insets not getting applied to workspace am: 2ab57b665d am: ca8bff87d6 am: 3d543da4fd am: 77bdfd63d0 am: 653730ba80
Change-Id: I574ab1ebb73b81f34a8b16146b04ea9e50c072cd
2020-04-09 01:33:48 +00:00
Sunny Goyal 653730ba80 Fixing insets not getting applied to workspace am: 2ab57b665d am: ca8bff87d6 am: 3d543da4fd am: 77bdfd63d0
Change-Id: I42fc1d942e55c1eb1a9da1401c4daea7142bf73d
2020-04-09 01:23:26 +00:00
Sunny Goyal 1c0e80e7e3 Fixing insets not getting applied to workspace am: 2ab57b665d am: dba4aeedfb am: b0fa488772 am: 5daa1644ad
Change-Id: If77cc51167bf3491e1ad92fbd904ef34c77ccafb
2020-04-09 01:11:40 +00:00
Sunny Goyal 77bdfd63d0 Fixing insets not getting applied to workspace am: 2ab57b665d am: ca8bff87d6 am: 3d543da4fd
Change-Id: I0a0ea147274908d38cdbf0389d11b78af15813a9
2020-04-09 01:11:12 +00:00
Sunny Goyal df1b4ee15d Fixing insets not getting applied to workspace am: 2ab57b665d am: ca8bff87d6 am: 34af66fc06 am: 4587fc0d88
Change-Id: Ie13bcface34b48fcb2c0e62e68ca5a603f62d93a
2020-04-09 01:10:59 +00:00
Sunny Goyal 5daa1644ad Fixing insets not getting applied to workspace am: 2ab57b665d am: dba4aeedfb am: b0fa488772
Change-Id: I491eadcfa1fdbf8e13d3ba044adf62da996f9198
2020-04-09 01:04:28 +00:00
Sunny Goyal 4587fc0d88 Fixing insets not getting applied to workspace am: 2ab57b665d am: ca8bff87d6 am: 34af66fc06
Change-Id: I1b8f703149582af5ab4336e2ec0b809f6d362e0b
2020-04-09 01:04:22 +00:00
Adam Cohen 370164c4f7 Fix drag and drop regression when dragging a scaled widget
Missed this case in ag/10736229; the symptom was that if you picked up a widget when it was scaled due to split-screen, the widget would disappear

Test: manual

Change-Id: I26810fcf820f7053b6445989dce6598e1df55a8e
2020-04-08 18:00:35 -07:00
Sunny Goyal b0fa488772 Fixing insets not getting applied to workspace am: 2ab57b665d am: dba4aeedfb
Change-Id: Ib0abb026ea84c8b222b1724ff4f6f20484f24381
2020-04-09 00:57:11 +00:00
Sunny Goyal 3d543da4fd Fixing insets not getting applied to workspace am: 2ab57b665d am: ca8bff87d6
Change-Id: I28dfd5181731dfc79ad816f8f3297a45dad84f86
2020-04-09 00:56:51 +00:00
Sunny Goyal 34af66fc06 Fixing insets not getting applied to workspace am: 2ab57b665d am: ca8bff87d6
Change-Id: Ia09c6d6f5bf1ea4e670b30b631efb29c872234c5
2020-04-09 00:56:39 +00:00
Sunny Goyal dba4aeedfb Fixing insets not getting applied to workspace am: 2ab57b665d
Change-Id: I5e2dd63f0628075e9cab70776363a208c9d2dba3
2020-04-09 00:45:43 +00:00
Sunny Goyal ca8bff87d6 Fixing insets not getting applied to workspace am: 2ab57b665d
Change-Id: I0588416c03fd7b3173a592d7123f35225aa2e25e
2020-04-09 00:45:33 +00:00
Becky Qiu fdcbe6cad9 [Overview Actions] Update Overview UI to match new spec. am: e32f484693
Change-Id: I2087229f76999c7eb7b29c7d089a2040953182dd
2020-04-09 00:11:35 +00:00
Becky Qiu e32f484693 [Overview Actions] Update Overview UI to match new spec.
See spec in the design: https://docs.google.com/presentation/d/1gXWNdCRXvXuEhgDmE0TX2KYqCxIQBXVtWKdl4pKrno8/edit#slide=id.g6f30ae9caf_14_4

Test: local
Bug: 139828243
Change-Id: I6e01dd5de4e4d9ccb4ec7febe81b3e789119bfa0
2020-04-08 15:01:01 -07:00
vadimt 180c2e10fc Adding diags to getWidget
Also avoiding scrolling widgets horizontally when the gesture could
happen in the lower system gesture area.

Change-Id: I80192db7e407f8c1715aad3b96178c00b5710e71
2020-04-08 21:12:20 +00:00