Commit Graph

22238 Commits

Author SHA1 Message Date
TreeHugger Robot 96202b430f Merge "Add tooltip when long pressing system shortcut icon" into ub-launcher3-rvc-dev am: 671173ef2e
Change-Id: Ia5a223c43e93f9565a8475217e66602a3a3f385a
2020-04-10 21:26:43 +00:00
TreeHugger Robot 671173ef2e Merge "Add tooltip when long pressing system shortcut icon" into ub-launcher3-rvc-dev 2020-04-10 21:22:37 +00:00
TreeHugger Robot 1ce281c51d Merge "Removing tracing for fixed bug" into ub-launcher3-rvc-dev am: 9398772fb8
Change-Id: Ief662c4a4a67daaba9edd79a45458f6fa9296371
2020-04-10 21:13:51 +00:00
TreeHugger Robot 9398772fb8 Merge "Removing tracing for fixed bug" into ub-launcher3-rvc-dev 2020-04-10 20:48:57 +00:00
Tony Wickham cf7552af3f Add tooltip when long pressing system shortcut icon
If we only show the icon view (rather than icon + label),
show the label on long press.

Bug: 148707493
Change-Id: I14ab45b43203375b573e5e5d937ad5ebfb016d83
2020-04-10 13:28:53 -07:00
TreeHugger Robot f383516396 Merge "Adding tracing for apparently skipping verifiable events" into ub-launcher3-rvc-dev am: 77cf9b780f
Change-Id: Iee60d12a673fd54a8705714da5a30d0d854cd399
2020-04-10 03:23:47 +00:00
TreeHugger Robot 77cf9b780f Merge "Adding tracing for apparently skipping verifiable events" into ub-launcher3-rvc-dev 2020-04-10 03:01:05 +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
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
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
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
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
Vinit Nayak 0be5fb29ba Add onQuickSwitchToNewTask(int rotation) am: 16cd3677bc
Change-Id: I0ba6a72ae5f568a920bac693d2b077d1d09b9718
2020-04-08 21:06:09 +00:00
Winson Chung b128442d84 Temporarily revert changes from ag/10899350 am: 5e2cd32ac3
Change-Id: I8688e37caf8ae656eec1d5bdd98cb6c5314632b9
2020-04-08 21:06:07 +00:00
Winson Chung d0a49a6659 Update launcher call to fetch recent tasks am: 5a69742d20
Change-Id: I207b1814991e87e38c4399bf2fea0a2f059f4b06
2020-04-08 21:06:05 +00:00
Vinit Nayak 16cd3677bc Add onQuickSwitchToNewTask(int rotation)
ag/10830421
ag/10831581

Fixes: 150250451
Change-Id: I2d6dbdd0fc7637949bb5ff7707c414f14dbf6d49
2020-04-08 13:43:36 -07:00
Winson Chung 5e2cd32ac3 Temporarily revert changes from ag/10899350
Change-Id: I6608f252fd779b23e84348e52c247a8e2fa9ec7a
2020-04-08 13:43:29 -07:00
Winson Chung 5a69742d20 Update launcher call to fetch recent tasks
- Always just fetch the tasks that will end up in recents

Bug: 152133859
Test: Manual, swipe up with pip/assistant and verify nothing
      changed
Change-Id: I41719e111cba85da7e93f65681b7b50b4c5c4a46
(cherry picked from commit 8e714d42ae)
2020-04-08 13:43:23 -07:00
Winson Chung 641fa0659e Merge "Fix issue with delegate consumers being overwritten" into ub-launcher3-master 2020-04-08 04:07:49 +00:00
Winson Chung a726df9208 Fix issue with delegate consumers being overwritten
- Whenever the delegate consumer sets itself as active, it will cancel
  the base consumers which can cause onConsumerInactive() which will
  clear the active consumer.  Instead, we should only clear the active
  consumer, and in the case where isConsumerDetachedFromGesture() is
  checked, only check the active consumer before resetting.

  ie.
  base ic (detached) -> on touch up (do nothing) -> onConsumerInactive (active == base) -> reset
  base ic (detached), wrapped ic (active) -> onConsumerInactive (active != base) -> on touch up (active == wrapped) -> reset
  base ic (detached, active), wrapped ic -> on touch up (do nothing) -> onConsumerInactive (active == base) -> reset
  base ic (not detached) -> on touch up (active == base) -> reset
  base ic (not detached), wrapped ic (active) -> onConsumerInactive (active != base) -> on touch up (active == wrapped) -> reset
  base ic (not detached, active), wrapped ic -> on touch up (active == base) -> reset

Change-Id: I2d623c501d9c9799dadcf2005f34e1e0062c113f
2020-04-07 17:39:23 -07:00
TreeHugger Robot c84daaf72a Merge "Fixing task start index not getting updated on all View add/remove calls" into ub-launcher3-master 2020-04-07 19:23:56 +00:00