Bill Yi
ce22acf2d0
[automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 4146464bf5
...
Blank merge reason: commit message contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15860487
Change-Id: Ied1f8f6e86e5453aafec704b0efa4ddb01ab8d8c
2021-09-18 14:09:32 +00:00
Bill Yi
4146464bf5
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Icaa03a2eefc4d7436c02f023cffd7354d905e977
2021-09-18 14:09:18 +00:00
Sunny Goyal
8c6f984334
Fixing ModelPreload cancelling existing load am: 57d4f748b8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555
Change-Id: Ib11b322e13cb18389230d3f7ea9fdd711c660e52
2021-09-13 23:23:05 +00:00
Sunny Goyal
57d4f748b8
Fixing ModelPreload cancelling existing load
...
When a model preload call was made while the loader task is running
(eg: on enabling/disabling icon theme, Launcher reloads and then
launcher preview start a model-preload), it would cancel the original
loader and then start a new loader with empty callbacks. So the
model indeed get loaded, but the original callbacks never got notified
of it.
> Instead we only start preload if an existing task is not running.
> Also when preloading, we use existing callbacks, instead of using
empty callbacks
Bug: 193851085
Bug: 195155924
Test: Verified repro steps
Change-Id: I0a96310be8489756f364aa2a12e4345e1418733d
2021-09-13 17:47:29 +00:00
Alex Chau
eb312ee60b
Merge "Only call setCurrentPage in applyLoadPlan if mCurrentPage is outdated" into sc-dev am: 464fc41df7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15742147
Change-Id: I554eb8ef08418a955baa6a0f8da890b05c3115a0
2021-09-07 17:43:56 +00:00
Alex Chau
464fc41df7
Merge "Only call setCurrentPage in applyLoadPlan if mCurrentPage is outdated" into sc-dev
2021-09-07 17:24:05 +00:00
Alex Chau
dacb37c143
Only call setCurrentPage in applyLoadPlan if mCurrentPage is outdated
...
- Apply the same for all 3 setCurrentPage cases as they can all causes page jumping
Bug: 197493120
Test: manual
Change-Id: I5f7013ce3ce4d6fe84c67123618c3bebeeffc43a
Merged-In: I5f7013ce3ce4d6fe84c67123618c3bebeeffc43a
2021-09-02 16:06:44 +00:00
Bill Yi
848c4695bd
[automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 53900282f8
...
Blank merge reason: commit message contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15744737
Change-Id: Ic54379ebad469e583e06913042712d5fc7c705c0
2021-09-02 04:39:11 +00:00
Bill Yi
53900282f8
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I6d36dc91926963e14ece7d0e2c51c7c13364ed53
2021-09-02 04:39:00 +00:00
Vadim Caen
cb1f40df02
Merge "Disable splash screen for launches from widget." into sc-dev am: 97aaa6e5ae
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15685202
Change-Id: Ibbaa115ac594623509e42f8fa4f7b5c4c6c74dae
2021-08-30 16:36:47 +00:00
Vadim Caen
97aaa6e5ae
Merge "Disable splash screen for launches from widget." into sc-dev
2021-08-30 15:56:26 +00:00
Bill Yi
c849854e72
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: e2e15a65d6 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15689983
Change-Id: Ib5d730c70e4669c3349ac763b7ec2b56f82505c4
2021-08-29 20:28:08 +00:00
Bill Yi
97fc54a5d2
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 3eac3bdadf -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15688215
Change-Id: I51c3605116fd15720e4501e59296a81badf8ed62
2021-08-29 20:28:04 +00:00
Bill Yi
7b52467031
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 9c4f43cf6f -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15689990
Change-Id: I1f4b769f2808bf72688a31ad79ba750a4a79df58
2021-08-29 20:26:56 +00:00
Bill Yi
e2e15a65d6
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2021-08-29 20:11:46 +00:00
Bill Yi
55d979ea66
Merge changes from topic "presubmit-am-af3a9aca4e964a6d8bba7a4113919ae9" into sc-mainline-prod
...
* changes:
[automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: e44a274170
Import translations. DO NOT MERGE ANYWHERE
2021-08-29 20:11:46 +00:00
Bill Yi
3eac3bdadf
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2021-08-29 20:06:06 +00:00
Bill Yi
46aee81f94
Merge changes from topic "presubmit-am-1d1cd88cc63d4a20a2e01c6e7836744e" into sc-mainline-prod
...
* changes:
[automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 155a13de9f
Import translations. DO NOT MERGE ANYWHERE
2021-08-29 20:06:06 +00:00
Bill Yi
9c4f43cf6f
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2021-08-29 20:05:18 +00:00
Bill Yi
d01cffd518
Merge changes from topic "presubmit-am-323f1efd13694d1c823ff0877ccea911" into sc-mainline-prod
...
* changes:
[automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 9ecead5629
Import translations. DO NOT MERGE ANYWHERE
2021-08-29 20:05:18 +00:00
Hyunyoung Song
caf87076c6
All apps memory leak fix / unregister data observer am: 349c7c82f4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15673928
Change-Id: Ic8f87212d38bf17953086b167e0c77bc673637a4
2021-08-27 23:12:34 +00:00
Vadim Caen
ee44c4dc1e
Disable splash screen for launches from widget.
...
The transition from a widget to the splash screen icon feels
odd because of the difference in shapes. Disable for S and rework that
in T.
Test: Manually tested with clock and Calendar
Bug: 197504657
Change-Id: Ia375885af967d6ad282dcc7325ad905731c8734d
2021-08-27 19:17:03 +02:00
Hyunyoung Song
349c7c82f4
All apps memory leak fix / unregister data observer
...
Bug: 197702957
Test: adb shell dumpsys meminfo com.google.android.apps.nexuslauncher, ahat
Change-Id: Ia5732cced959e4a199d9c2b59f1f3941a2e23552
Merged-In: Ia5732cced959e4a199d9c2b59f1f3941a2e23552
(cherry picked from commit 6e72c8bbba )
2021-08-27 16:23:23 +00:00
Bill Yi
43db216631
[automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 9ecead5629
...
Blank merge reason: commit message contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15689990
Change-Id: I7805d313edfcdf1258310e5e5cb96b0a67f3fbe6
2021-08-27 05:40:46 +00:00
Bill Yi
9ecead5629
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I5bfa5dd2771d0823eed4da674991b55202bb5ac6
2021-08-27 05:40:37 +00:00
Bill Yi
094b8b9669
[automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: e44a274170
...
Blank merge reason: commit message contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15689983
Change-Id: Ifc44f75e20623d82bf9d2315d7ea5ff174f25b56
2021-08-27 05:39:15 +00:00
Bill Yi
e44a274170
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I4560e9785fd11e7beccde0a92d140d90562e436f
2021-08-27 05:39:06 +00:00
Bill Yi
bcebd627c6
[automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 155a13de9f
...
Blank merge reason: commit message contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15688215
Change-Id: I4b76a5eeeb77b2956fbabf6ab45c8e2d1dbe9cda
2021-08-27 05:37:11 +00:00
Bill Yi
155a13de9f
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ib8df9d449d6109c352a2e537cd425c716e2f017c
2021-08-27 05:37:03 +00:00
Lucas Dupin
a2074f2716
Synchronize surface transaction am: 0a2076e8d3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15669618
Change-Id: I245c71502f8880b555d55c93966fb6fba7af7f92
2021-08-25 03:34:59 +00:00
Lucas Dupin
0a2076e8d3
Synchronize surface transaction
...
Until now the SurfaceControl transaction was being applied
asynchronously, which could lead to it being executed out of sync with
launcher drawing.
This became an issue at higher refresh rates, where frames are produced
at a much faster pace.
In order to fix this issue, we can use BLAST transactions, which are
annotated with a frame number.
Test: record video, go through it manually
Fixes: 194320152
Change-Id: I1636a1ded4f9dd84c54ba12239e3549b92ed7567
Merged-In: I1636a1ded4f9dd84c54ba12239e3549b92ed7567
2021-08-24 21:28:50 +00:00
Lucas Dupin
053a182ad0
Act on scrim visibility am: a8382dc052
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15655786
Change-Id: Ieb1701d2ffc70e47c9443565212a4b094c3d22b7
2021-08-23 21:33:39 +00:00
Lucas Dupin
a8382dc052
Act on scrim visibility
...
The scrim visibility drives whether the launcher window is opaque or
not. We should track it and apply the flag instead of trying to catch it
through other Launcher life cycles.
Fixes: 195365607
Bug: 196403152
Test: tap on home button while launching app from overview
Change-Id: I2a00b86b602b5dd12c901433b92adcf0170be15e
(cherry picked from commit e4a9469156 )
2021-08-23 19:22:02 +00:00
Bill Yi
57d2756d3c
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 3b8415e58a -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15595326
Change-Id: I262db3d8bbbe7a5391d83e679de9ec030c551c36
2021-08-17 22:20:19 +00:00
Bill Yi
3b8415e58a
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2021-08-17 22:05:47 +00:00
Bill Yi
c1fbe420d0
Merge changes from topic "presubmit-am-7e1940cadd2a43ad94282dd8aef456b4" into sc-mainline-prod
...
* changes:
[automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: c864f6c50e
Import translations. DO NOT MERGE ANYWHERE
2021-08-17 22:05:47 +00:00
Bill Yi
cc78c86459
[automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: c864f6c50e
...
Blank merge reason: commit message contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15595326
Change-Id: I4778f193e34722e0c2d24f769e54b4ff6c7f0f43
2021-08-17 09:15:33 +00:00
Bill Yi
c864f6c50e
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I7fb2cb94cefd0abab06ebaf0f6a54d5ef2b225aa
2021-08-17 02:15:20 -07:00
Bill Yi
b03a16f3c6
[automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: cea66b3a81
...
Blank merge reason: commit message contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15595229
Change-Id: I19e40ee61c961636687b735f3aa2cf41b4f95633
2021-08-17 09:11:13 +00:00
Bill Yi
cea66b3a81
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I1827e8d2469c9c7993b5b15ea5a964e1fa562dbb
2021-08-17 02:11:04 -07:00
TreeHugger Robot
4f3c68ec43
Merge "Adjust all apps zoom level" into sc-dev am: 6b10f4649c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15530106
Change-Id: I22bed9d6f2e71bfe3c755218fb7469b57d9ed585
2021-08-12 00:30:36 +00:00
TreeHugger Robot
6b10f4649c
Merge "Adjust all apps zoom level" into sc-dev
2021-08-12 00:09:14 +00:00
Steven Ng
95439ffdcc
Fix pending restore widget touch issue am: bdffb53843
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15517689
Change-Id: I236f9ed002f3a31e4d0a26a60d84601bd00f33b6
2021-08-11 23:48:39 +00:00
Steven Ng
bdffb53843
Fix pending restore widget touch issue
...
After http://ag/14980850 , we block updateAppWidget until app widget
is restored. However, PendingAppWidgetHostView constructor relies
on updateAppWidget(null) to trigger set listener in getDefaultView().
We should call super.updateAppWidget(null) in the constructor instead.
Test: manual
Bug: 14980850
Change-Id: I30af9778a636af2ad822e7abc152b6f0bfdea1bf
2021-08-11 22:40:06 +01:00
Lucas Dupin
3f6a4e6bf5
Adjust all apps zoom level
...
The All Apps scrim fades in early, covering part of the zoom animation.
We need to adjust the max zoom in order to make All Apps consistent with
Overview, -1, and Shade.
Test: pull up the all apps drawer
Fixes: 195992422
Change-Id: Ia7bbe17fe7f227dd0a16ba7d21b402cff57176f0
(cherry picked from commit f168bb7aaf )
2021-08-11 15:55:04 +00:00
Bill Yi
010078c9d4
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8bc9c6355a -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15505516
Change-Id: I32afb4560fe828795cee72e8d5653e0e373df74d
2021-08-10 19:43:45 +00:00
Bill Yi
8bc9c6355a
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I8a0be2eb6ceb321440efdf75d2b8f6232de201fe
2021-08-09 22:32:00 +00:00
Jonathan Miranda
2bf9863aa4
Merge "Update extra space allocations for taller devices." into sc-dev am: dd16ecbc61
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15457550
Change-Id: Ie6c7f0b80eaef11d315ffe3cef9ddb6964a7eb93
2021-08-05 18:41:57 +00:00
Jonathan Miranda
dd16ecbc61
Merge "Update extra space allocations for taller devices." into sc-dev
2021-08-05 18:33:56 +00:00
TreeHugger Robot
b688e02643
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 9d5749fd7f -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15465212
Change-Id: I5e1471564c18fb4eb534b1e9540476a2324a29aa
2021-08-05 03:05:18 +00:00