Commit Graph

23860 Commits

Author SHA1 Message Date
Sunny Goyal 80eb8e041a Merge "Fixing swiping up on home interrupting animation" into ub-launcher3-rvc-qpr-dev am: ec78aef4fc am: 9fbc80da6a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12144100

Change-Id: I07a3962120501d167589ef57d20b51632113c5c7
2020-07-17 23:05:28 +00:00
TreeHugger Robot 510d2ecb4f Merge "Fix velocity in StaggeredWorkspaceAnimation." into ub-launcher3-rvc-qpr-dev am: add69c70c4 am: 2f457a6bbb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12142607

Change-Id: Ibd0aebbbf204fa5fc887aa9d1c61de77d2cfc542
2020-07-17 23:05:24 +00:00
TreeHugger Robot 6f2936e023 [automerger skipped] Merge "Using original taskInfo to create the taskKey instead of fake data" into ub-launcher3-rvc-qpr-dev am: 054280dba4 am: 149758da21 -s ours
am skip reason: skipped by user sunnygoyal

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12142606

Change-Id: I3b770d46678f9283f1de37a5f4766ec7782ebf79
2020-07-17 23:05:18 +00:00
TreeHugger Robot b1e65b07c6 Merge "Using original taskInfo to create the taskKey instead of fake data" into ub-launcher3-rvc-qpr-dev am: 054280dba4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12142606

Change-Id: I87b357e1ce4a30f255598d481ce99fee63ac9d9d
(cherry picked from commit 149758da21)
2020-07-17 21:09:14 +00:00
Pinyao Ting 4caf21104a Fixes the issue Launcher state propagation is slower than onDeferredResume. am: 9d51e49cec am: 24d44a7777
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12142602

Change-Id: I14010126881986adb60ac2fa115b77abe80979fe
2020-07-17 21:04:53 +00:00
TreeHugger Robot 5474f78a57 Merge "Calculate all apps cell height based on actual sizes." into ub-launcher3-rvc-qpr-dev am: 36a1600d66 am: d318bc6dda
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12121642

Change-Id: I3d555960063616f722fba26e389841d8eed9b449
2020-07-17 21:04:41 +00:00
TreeHugger Robot d61b29ce11 [automerger skipped] Merge "Fix shelf tracking distance for landscape app over portrait launcher" into ub-launcher3-rvc-qpr-dev am: 5491b2e2e0 -s ours
am skip reason: skipped by user twickham

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12142261

Change-Id: I1630b8d5468ad21fb09ebd349d9fd99ac058b592
2020-07-17 21:04:31 +00:00
Tony Wickham 60bc684060 Merge "Wait until activity present before calling onEndTargetCalculated()" into ub-launcher3-rvc-qpr-dev am: 032db3289a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12141305

Change-Id: Ib91c86e49145874b481554fa2382678eb03e4239
2020-07-17 20:26:29 +00:00
Bill Yi f3f9b633a0 [automerger skipped] Import translations. DO NOT MERGE am: e888e9a4e8 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12140157

Change-Id: I9fd7f1f659d866c2824c9b651cabfc963681529c
2020-07-17 20:26:20 +00:00
TreeHugger Robot ab55b75e9a [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-qpr-dev am: c277ac41e5 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12131828

Change-Id: If810bdb94a232780dd19b218d3f0f1760d723c7a
2020-07-17 20:26:14 +00:00
Bill Yi 5ebb4cb44e [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 18e3dd64f8 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12131832

Change-Id: I86af011aede4ee8b16a92964b6434d57cf321898
2020-07-17 20:26:08 +00:00
TreeHugger Robot 85ffe3ccb9 [automerger skipped] Merge "Updating some comments and variables" into ub-launcher3-rvc-qpr-dev am: c3c15cc946 -s ours
am skip reason: skipped by user sunnygoyal

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12120422

Change-Id: I232ff44a8333fddb517fd9515c7cca9ac95517fd
2020-07-17 20:26:00 +00:00
Sunny Goyal 5d09b2e358 Updating some comments and variables
Change-Id: Ib3223c66e9ce187cebc6ce26a46b228f95787778
2020-07-17 18:58:49 +00:00
TreeHugger Robot 1d96d2370f Merge "Let AllAppsEduView consume touch until animation is done and view is removed." into ub-launcher3-rvc-qpr-dev am: 95c620c38d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12121641

Change-Id: I70aa4d0ffa4dfd2ef21d7ea54a7293b4243cf1cd
2020-07-17 01:48:23 +00:00
TreeHugger Robot 30d771860e Merge "Updating gesture tutorial home animation" into ub-launcher3-rvc-qpr-dev am: 24ddf21cea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12117946

Change-Id: I6a86fd320482d9f3b894b8ff8eb5c7f0d5bdc9ca
2020-07-17 01:47:52 +00:00
TreeHugger Robot d7ef768f51 Merge "Adding nullcheck while launching task during quickswitch" into ub-launcher3-rvc-qpr-dev am: 6381d38249
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12119527

Change-Id: I48126c4905e20135cdb7091777d9cdf0e2d5f6ba
2020-07-17 01:47:19 +00:00
TreeHugger Robot f67fe5533f [automerger skipped] Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-qpr-dev am: fa990331d2 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12118864

Change-Id: I9f5e332b066ca65fde87134bccc475a87f8cb8d5
2020-07-17 01:46:42 +00:00
Bill Yi fe8fafca57 [automerger skipped] Import translations. DO NOT MERGE am: e821103486 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12118865

Change-Id: Ibcdbef2982f233aca85acbf7f42597f091c65f21
2020-07-17 01:46:09 +00:00
TreeHugger Robot cba55bf6ee Merge "Fix bug where non-center page is visibile in HINT_STATE." into ub-launcher3-rvc-qpr-dev am: b82121c006
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12110138

Change-Id: I2ed2c95b9bc8368229c5090e6face2f40e9ebe9b
2020-07-17 01:45:39 +00:00
Jon Miranda dc2773da43 Fix all apps edu in landscape. am: b59776cd01
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12110139

Change-Id: I0a07002de80d492362f63a23dfc6d844e5268e30
2020-07-17 01:45:17 +00:00
Sunny Goyal 467aba4870 Ensuring workspace pages are offset properly in waterfall cutout am: faea66fe88
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12110121

Change-Id: I96925078c01137326fa2842dfbb5cd44b225f16b
2020-07-17 01:44:35 +00:00
TreeHugger Robot d4a512eefd Merge "Using StatsLog for notifyingAppPredictor" into ub-launcher3-master 2020-07-16 21:53:51 +00:00
Sunny Goyal 852537fd98 Using StatsLog for notifyingAppPredictor
> Adding a listener in StartsLogManager for listening to events.
  This allows events to be directored to the predictor only if
  it is already running, instead of creating it.
> Unifying the event format to be same as hotseat predictor

Bug: 160748731
Change-Id: Ib00e6249ff642c030f00bcad5b748255e704d16a
2020-07-16 14:12:15 -07:00
TreeHugger Robot 6e9faa913a Merge "Increasing wait time for end-action events." into ub-launcher3-master 2020-07-15 23:01:15 +00:00
vadimt ba161b7393 Increasing wait time for end-action events.
This is supposed to fix a flake in one of widgets tests.

The end-scroll event is posted by the system server to another thread
may arrive in ~13 sec.

The delay may have been caused by the previous test that just created
and deleted a user, so the system is busy with processing that.

Bug: 160238801
Change-Id: I43d0804252202ae04c731f35fb219c4be4bd4a76
2020-07-15 22:26:51 +00:00
Tracy Zhou 2c0cdfb100 Improve grid preview performance am: b023873bc3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12153148

Change-Id: Ia849496c109fc3286e2a8ec1d2fcb8f4e0c0714c
2020-07-15 19:56:14 +00:00
Tracy Zhou b023873bc3 Improve grid preview performance
After breaking down the time we spend in rendering preview under a different grid setting, I found out that we spend a huge amount of time loading the workspace. It takes a long time in non preview case (launcher workspace init), so to optimize we should try to cut down things that are not necessary for preview. Widget model loading (widget and shortcut updates) takes half of the time, and can be optimized with minimal risks / code changes.

Bug: 160662425
Test: Manual

Change-Id: I89029d0ddf6e2517077a0ba3fbbcfdcd60b268d9
2020-07-14 23:30:03 +00:00
Sunny Goyal 75bf867d96 Fixing swiping up on home interrupting animation am: 369501d8aa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12152001

Change-Id: I7dc92aae75718c5460a2a2981880b536339f39d9
2020-07-14 19:57:54 +00:00
Sunny Goyal 369501d8aa Fixing swiping up on home interrupting animation
Bug: 161180005
Change-Id: Ida59b87b2fb5905d98b0090630a6ce32fc9c36c8
(cherry picked from commit 93188d61da)
2020-07-14 19:07:51 +00:00
TreeHugger Robot 30f156ad82 Merge "Removing a method that simply returns false" into ub-launcher3-master 2020-07-14 17:41:20 +00:00
Sunny Goyal 9fbc80da6a Merge "Fixing swiping up on home interrupting animation" into ub-launcher3-rvc-qpr-dev am: ec78aef4fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12144100

Change-Id: If9f4248235d42be8d829d0837227202a0e30edc5
2020-07-14 16:19:12 +00:00
Sunny Goyal ec78aef4fc Merge "Fixing swiping up on home interrupting animation" into ub-launcher3-rvc-qpr-dev 2020-07-14 16:01:43 +00:00
Tracy Zhou 0ca024d259 Merge "Place launcher above the target app in live tile mode" into ub-launcher3-master 2020-07-14 05:35:28 +00:00
Sunny Goyal 93188d61da Fixing swiping up on home interrupting animation
Bug: 161180005
Change-Id: Ida59b87b2fb5905d98b0090630a6ce32fc9c36c8
2020-07-13 17:44:56 -07:00
TreeHugger Robot 2f457a6bbb Merge "Fix velocity in StaggeredWorkspaceAnimation." into ub-launcher3-rvc-qpr-dev am: add69c70c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12142607

Change-Id: I6d2e67478dc5a98395aa8f25fe98b206c4fcba75
2020-07-13 22:22:19 +00:00
TreeHugger Robot 149758da21 Merge "Using original taskInfo to create the taskKey instead of fake data" into ub-launcher3-rvc-qpr-dev am: 054280dba4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12142606

Change-Id: I87b357e1ce4a30f255598d481ce99fee63ac9d9d
2020-07-13 22:22:13 +00:00
Pinyao Ting 24d44a7777 Fixes the issue Launcher state propagation is slower than onDeferredResume. am: 9d51e49cec
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12142602

Change-Id: Ic042a5db68e492bedf58d6c328d151411a199ac2
2020-07-13 22:22:07 +00:00
TreeHugger Robot add69c70c4 Merge "Fix velocity in StaggeredWorkspaceAnimation." into ub-launcher3-rvc-qpr-dev 2020-07-13 22:20:33 +00:00
TreeHugger Robot 054280dba4 Merge "Using original taskInfo to create the taskKey instead of fake data" into ub-launcher3-rvc-qpr-dev 2020-07-13 22:06:13 +00:00
TreeHugger Robot d318bc6dda Merge "Calculate all apps cell height based on actual sizes." into ub-launcher3-rvc-qpr-dev am: 36a1600d66
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12121642

Change-Id: I6e78bb0491d37c39ece1b356d028a8dec6db434e
2020-07-13 21:51:50 +00:00
Jon Miranda aee792403d Fix velocity in StaggeredWorkspaceAnimation.
* Velocity should match the direction of the spring values.
  (Swipe direction is upwards, but icons move downwards on screen).
* Remove additional conversion to pxPerS since getDimension already does that.

Bug: 160003774
Change-Id: I12912edb2354c4a30c538da6ca3789c46d82b94d
(cherry picked from commit 54003963d8)
2020-07-13 21:48:19 +00:00
Sunny Goyal 55a9b544c9 Using original taskInfo to create the taskKey instead of fake data
Change-Id: Ie4e35b35484e0f6cb939febe6357b37381d81682
(cherry picked from commit fabfb3ae90)
2020-07-13 21:47:16 +00:00
Pinyao Ting 9d51e49cec Fixes the issue Launcher state propagation is slower than onDeferredResume.
There's currently a bug prevents Launcher release drag lock for two step
widgets. Supposedly, onDeferredResume should release the drag lock; However,
in 3-button navigation mode, the transition from Overview -> Normal is
triggered in Launcher#onNewIntent, which happens after onDeferredResume.

This issue is not reproducible with gesture navigation because its
transition from Overview -> Normal is handled in NavBarToHomeTouchController

Test: manual verified with following steps
1. Enable 3-button navigation
2. Long press in WorkSpace -> Widgets
3. Drag Settings Widget to WorkSpace
4. When the config activity is shown, press "recents" button to see Overview
5. press "home" button to go back to workspace
6. repeat 2 and 3, verify the widget can be dragged
Bug: 149659788

Change-Id: I396ffa8a7db44bf3872a10de4208340a99a7efe8
(cherry picked from commit 3bf889a02f)
2020-07-13 21:46:05 +00:00
TreeHugger Robot 36a1600d66 Merge "Calculate all apps cell height based on actual sizes." into ub-launcher3-rvc-qpr-dev 2020-07-13 21:44:57 +00:00
TreeHugger Robot 5491b2e2e0 Merge "Fix shelf tracking distance for landscape app over portrait launcher" into ub-launcher3-rvc-qpr-dev 2020-07-13 20:44:30 +00:00
Tony Wickham 032db3289a Merge "Wait until activity present before calling onEndTargetCalculated()" into ub-launcher3-rvc-qpr-dev 2020-07-13 20:37:15 +00:00
Tony Wickham 452db0db0c Fix shelf tracking distance for landscape app over portrait launcher
Bug: 149934536
Change-Id: I14fa62fa9f51356613f4a3827446b00af774dbf5
2020-07-13 13:21:02 -07:00
Sunny Goyal 386b75305c Merge "Preventing disambiguation screen when swiping up" into ub-launcher3-rvc-dev am: c031040a2f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12141301

Change-Id: Icca8524c3d2ea19c50015825138dd916d5e13161
2020-07-13 19:44:03 +00:00
Tony Wickham ddbaadb562 Wait until activity present before calling onEndTargetCalculated()
At least one code path relies on the activity to be created: if the
end target is RECENTS, we add a state manager listener to see when
user goes to NORMAL state.

Fixes: 160903658
Change-Id: I3449dec773399f7e9cf2e7ef8b79734b1baa59b4
2020-07-13 12:32:37 -07:00
Sunny Goyal c031040a2f Merge "Preventing disambiguation screen when swiping up" into ub-launcher3-rvc-dev 2020-07-13 19:23:17 +00:00