Commit Graph
32041 Commits
Author SHA1 Message Date
Vinit Nayak 709a52074d Enable edge back gesture on app launch
We don't clear state on EdgeBackGestureHandler
when we go to Recents or Home.
A more robust solution is in the works with
WM team and will probably be built on top of this.
Needs ag/11273364 to work.

Bug: 154580671
Test: Launch app directly in landscape,
should be able to swipe home on first try.

Change-Id: Ia4c685e16645d0237f278a611f6c61f252f3b79c
(cherry picked from commit 3f3cc3e96e)
2020-04-29 23:34:57 +00:00
vadimt a1f0a10662 Removing tracking activity start/stop events
They were not especially useful in investigations; besides, these events
can be sent by the system asynchronously for actions that happened
before entering TAPL, causing flakes.

Change-Id: I72b5aad5521c6c0969f5b657b3db3e4d855f1d64
2020-04-29 14:23:53 -07:00
TreeHugger Robot cb7f93757d Merge "Dump RecentsOrientationState for bug reports" into ub-launcher3-rvc-dev am: 875f381dbb
Change-Id: I8848ee8e4d3af64a6f6315c3f8753aba11f5f205
2020-04-29 20:00:06 +00:00
TreeHugger Robot 875f381dbb Merge "Dump RecentsOrientationState for bug reports" into ub-launcher3-rvc-dev 2020-04-29 19:56:54 +00:00
Vinit Nayak 67e7b8baee Merge "Use appropriate start padding for clear all button" into ub-launcher3-rvc-dev am: 3aed7aeb67
Change-Id: Ie7a3eff5c67d124391b3cf20fdd9761f9d4641f5
2020-04-29 19:53:21 +00:00
Vinit Nayak 3aed7aeb67 Merge "Use appropriate start padding for clear all button" into ub-launcher3-rvc-dev 2020-04-29 19:31:38 +00:00
Vinit Nayak a5877307d1 Dump RecentsOrientationState for bug reports
Bug: 154951045
Test: New output shows up when running
"adb shell dumpsys activity
com.google.android.apps.nexuslauncher.NexusLauncherActivity
[--all]"

Change-Id: I5e9ace7d370eb0e9d278d7d9f7f9156674ca1a50
2020-04-29 12:19:49 -07:00
TreeHugger Robot 6d04b3e880 [automerger skipped] Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev am: a1925a28aa -s ours
am skip reason: subject contains skip directive

Change-Id: Idd851bc41999545ec76cf05ffad8f1869c90cf77
2020-04-29 19:08:49 +00:00
Sunny Goyal 0addbf0512 Various multi-window fixes
> Fixing scale up calculator for swipe-down
> Offsetting pivot so that the preview is aligned to bottom-right
> Allowing insets to be available in multi-window mode as well
> Offsetting taskViewSimulator appropriately in multi-window mode

Change-Id: I7da4c145efca72ef219a5ffcaf23d726812df270
2020-04-29 11:50:33 -07:00
TreeHugger Robot a1925a28aa Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev 2020-04-29 18:47:25 +00:00
Bill Yi 2d65e2202e Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ie7e058e9ca81e402b0877d430badb4be25ba06b5
2020-04-29 11:12:27 -07:00
Lucas Dupin 264cb2ff68 Do not blur if all apps is fully visible
Fixes: 155093795
Fixes: 155203546
Test: manual
Change-Id: I30f4c027e5107a199791e908acbb7ffed94e6a77
2020-04-29 17:49:02 +00:00
Jonathan Miranda 6010f5c1d0 Merge "Fix floating icon view positioning when in multiwindow mode." into ub-launcher3-rvc-dev am: 0d9a9b9336
Change-Id: Ic73efd6442d55c6a674b7dffbdb28d868ccaa22d
2020-04-29 17:47:19 +00:00
Jonathan Miranda 0d9a9b9336 Merge "Fix floating icon view positioning when in multiwindow mode." into ub-launcher3-rvc-dev 2020-04-29 17:26:33 +00:00
Jonathan Miranda 05c9e830b9 Merge "Ensure final values are set when StaggeredWorkspaceAnim is cancelled/ended." into ub-launcher3-rvc-dev am: 7a79edd48a
Change-Id: Ib7c536821ad431be6cf7dcb769d6cf821a06723c
2020-04-29 16:50:08 +00:00
Jonathan Miranda 7a79edd48a Merge "Ensure final values are set when StaggeredWorkspaceAnim is cancelled/ended." into ub-launcher3-rvc-dev 2020-04-29 16:37:50 +00:00
TreeHugger Robot 29a23ee665 Merge "[Overview Actions] Fix the animation duration issue." into ub-launcher3-rvc-dev am: 606c5c4179
Change-Id: I7c953d2da6f177d536ec711ddfeef650ddff1417
2020-04-29 16:22:29 +00:00
TreeHugger Robot 606c5c4179 Merge "[Overview Actions] Fix the animation duration issue." into ub-launcher3-rvc-dev 2020-04-29 16:03:24 +00:00
Jon Miranda db02b11340 Ensure final values are set when StaggeredWorkspaceAnim is cancelled/ended.
Was able to repo the bug reliably when calling cancel() and
end() immediately after starting the StaggeredWorkspaceAnim.

Bug: 153584267
Change-Id: I954d38ad69e72a83535f4dd1ec21dba0f61a3cfb
2020-04-29 15:51:10 +00:00
TreeHugger Robot b90ad041f1 Merge "Change horizontal spring stiffness to 250." into ub-launcher3-rvc-dev am: 5111df54d3
Change-Id: Ib47602b345f9b890e5f09df38df7ae4fc9e941a8
2020-04-29 11:49:44 +00:00
TreeHugger Robot 5111df54d3 Merge "Change horizontal spring stiffness to 250." into ub-launcher3-rvc-dev 2020-04-29 11:39:06 +00:00
Santiago Etchebehere d63bbb5267 Merging from ub-launcher3-rvc-dev @ build 6436292 am: 82902c0da6 am: afdae84544 am: 130cd74716 am: 38276df530 am: 98f9db6bed
Change-Id: I0f7581589e52da91515527f1d325680a6f8e74a9
2020-04-29 06:52:18 +00:00
Automerger Merge Worker 4ed212861d Merge "Merging from ub-launcher3-rvc-dev @ build 6436292 am: 82902c0da6 am: a43f9d93fb" into rvc-d1-dev-plus-aosp am: 69c437ca28 am: 4c05b965da
Change-Id: I47cc8d68b4b8a4308482be7e3bd58c47afe72c26
2020-04-29 06:51:56 +00:00
Santiago Etchebehere 98f9db6bed Merging from ub-launcher3-rvc-dev @ build 6436292 am: 82902c0da6 am: afdae84544 am: 130cd74716 am: 38276df530
Change-Id: Iab04765eb8f870d0535c9a9afdd70d48bea68448
2020-04-29 06:51:54 +00:00
Santiago Etchebehere 010ebfb0b2 Merging from ub-launcher3-rvc-dev @ build 6436292 am: 82902c0da6 am: afdae84544 am: 0b2e2aec60 am: 731943e045
Change-Id: Ia4f765487ec506a0c11bd940f8268d828a95661b
2020-04-29 06:51:45 +00:00
Automerger Merge Worker 4c05b965da Merge "Merging from ub-launcher3-rvc-dev @ build 6436292 am: 82902c0da6 am: a43f9d93fb" into rvc-d1-dev-plus-aosp am: 69c437ca28
Change-Id: I3d23ac13273eaddcc152b1c2e49b63554ade3c72
2020-04-29 06:41:09 +00:00
Santiago Etchebehere 38276df530 Merging from ub-launcher3-rvc-dev @ build 6436292 am: 82902c0da6 am: afdae84544 am: 130cd74716
Change-Id: I52dc7811165818212edc0688e0e273b1069d9624
2020-04-29 06:40:39 +00:00
Santiago Etchebehere 731943e045 Merging from ub-launcher3-rvc-dev @ build 6436292 am: 82902c0da6 am: afdae84544 am: 0b2e2aec60
Change-Id: Ib44df9a8fc03058007f2a9f4be3798622ddb7760
2020-04-29 06:40:33 +00:00
Automerger Merge Worker 69c437ca28 Merge "Merging from ub-launcher3-rvc-dev @ build 6436292 am: 82902c0da6 am: a43f9d93fb" into rvc-d1-dev-plus-aosp 2020-04-29 06:27:37 +00:00
Santiago Etchebehere 0b2e2aec60 Merging from ub-launcher3-rvc-dev @ build 6436292 am: 82902c0da6 am: afdae84544
Change-Id: I0171418c05d7bcc4d8af61ef3958224593851200
2020-04-29 06:27:24 +00:00
Santiago Etchebehere 413a0bea91 Merging from ub-launcher3-rvc-dev @ build 6436292 am: 82902c0da6 am: a43f9d93fb
Change-Id: Id58120721b1ec1947a284ee11c2c8a28fa2a872a
2020-04-29 06:27:23 +00:00
Santiago Etchebehere 130cd74716 Merging from ub-launcher3-rvc-dev @ build 6436292 am: 82902c0da6 am: afdae84544
Change-Id: Ibf6c66017f81d423907ed3312f62f82c898aefaa
2020-04-29 06:27:22 +00:00
Santiago Etchebehere a43f9d93fb Merging from ub-launcher3-rvc-dev @ build 6436292 am: 82902c0da6
Change-Id: Ifa733f80c0e9d6d22b7bb6179741ec7a56d83f55
2020-04-29 06:12:38 +00:00
Santiago Etchebehere afdae84544 Merging from ub-launcher3-rvc-dev @ build 6436292 am: 82902c0da6
Change-Id: I355c3c3f087518ea108533a91de5b15622f28bf0
2020-04-29 06:11:40 +00:00
Jon Miranda f6225830d5 Fix floating icon view positioning when in multiwindow mode.
The rect we passed in was in screen space to match the window, but needs to be
be local to launcher.

Also updated code/comments to make it more readable.

Note that the bounds of the targets being off is a separate issue b/153581126

Bug: 135195169
Change-Id: I4a8c0aa2f504bdf69342a927725cd440fb324a36
2020-04-28 21:29:51 -07:00
thiruram a5341d377a Updates launcher_atom.proto to support consistent logging for launcher containers. am: acbd7ef70f
Change-Id: I857b5b6a3bfeeb269f867eb115f0dd9e8c937c1b
2020-04-29 02:18:58 +00:00
thiruram acbd7ef70f Updates launcher_atom.proto to support consistent logging for launcher containers.
* Updated default of some fields to invalid values. Because when these fields are not actually set on the client, the default values could lead to misinterpretations on the server side.
* Refactored container messages into a separate oneof message to use it on the client side as interface.

Test: Manual (make NexusLauncherDebug -j100)
Bug: 144124838

Change-Id: I2d2ea05e9d7d043682d8ca1a56a238d9d22174bb
2020-04-29 00:55:28 +00:00
Vinit Nayak 54c9bc2e89 Merge "Enable edge back gesture on app launch" into ub-launcher3-rvc-dev am: e8269b3944
Change-Id: I677120f8ec5a9b23edc864d05417af982fe4abde
2020-04-29 00:30:32 +00:00
Becky Qiu 1f31915b5b [Overview Actions] Fix the animation duration issue.
Test: local
Bug: 155205932

Change-Id: Ic64762b0c7647a5c38d182c24a8cba4a354a9a83
2020-04-28 17:24:48 -07:00
Vinit Nayak e8269b3944 Merge "Enable edge back gesture on app launch" into ub-launcher3-rvc-dev 2020-04-29 00:18:22 +00:00
Sreyas 43cf2f7925 Sets icon invisible when alpha 0 (Cannot be tapped while TaskView modal)
Bug: 155177299
Change-Id: Ibedbc271837441915580577986c10fa3f0de0ae6
2020-04-28 17:05:16 -07:00
Tracy Zhou 19b2989869 Merge "Remove grid options pref key" into ub-launcher3-rvc-dev am: 42de4ddc83
Change-Id: I0ed74da6b6b18cd4594b9913bbba10f10da726c3
2020-04-28 23:47:42 +00:00
Tracy Zhou 42de4ddc83 Merge "Remove grid options pref key" into ub-launcher3-rvc-dev 2020-04-28 23:42:53 +00:00
TreeHugger Robot 272f15d845 Merge "Support for counting activity creations" into ub-launcher3-rvc-dev am: d4066f5876
Change-Id: I78149686009e73db17f9ea06fa4d6642400a6421
2020-04-28 23:41:00 +00:00
Hilary Huo 7874996823 [AllAppsSearch] Update AllAppsSearch interface to expose the activity to the plugin
Tested=Locally

Change-Id: I8986eb50fea2091d8a1aea3cc1c5ee58e3692bc6
2020-04-28 16:34:42 -07:00
TreeHugger Robot d4066f5876 Merge "Support for counting activity creations" into ub-launcher3-rvc-dev 2020-04-28 23:26:37 +00:00
Pinyao Ting 0807c946b6 Mitigate 10 minutes delay in launcher restore for work apps.
1. Instead of debouncing launcher restore when new install session
(triggered by Play Service due to restore) is created, it is now
throttled at once every 30 seconds. (i.e. Launcher restore is triggered
immediately, but cannot be triggered again within 30 seconds)
2. Removes the backup table when all items are restored. (i.e. no item
were removed as a result of sanitize db due to user didn't sign in to
their work profile)

Bug: 153648870
Change-Id: I32df371f8b47c60a72515876217fd83ac1e56f0a
Test: manually verified with deferred restore
2020-04-28 15:52:19 -07:00
Tracy Zhou ad1d5d0739 Merge "Refactor usage of getting GRID_OPTIONS_PREFERENCE_KEY value into whether GridOptionsProvider is enabled" into ub-launcher3-rvc-dev am: df5d99f419
Change-Id: I1c57254a6f0b36d8a1c6d24fab18e9d3704ca399
2020-04-28 22:43:10 +00:00
Tracy Zhou 9dd8f411e5 Remove grid options pref key
Fixes: 154154093
Test: manual testing of the feature
Change-Id: I48fa2788c163ebfe4b925e05d1526c0c1f3e3926
2020-04-28 15:33:30 -07:00
Tracy Zhou df5d99f419 Merge "Refactor usage of getting GRID_OPTIONS_PREFERENCE_KEY value into whether GridOptionsProvider is enabled" into ub-launcher3-rvc-dev 2020-04-28 22:26:46 +00:00