Commit Graph

33222 Commits

Author SHA1 Message Date
Bill Yi 0ff89bdbbf [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: I56a5ed571d1a699eef7eb1728b39008d75806cd5
2021-08-29 20:30:14 +00:00
Bill Yi 6e4055c5f8 [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: Iaf14bfd6a3e9a15c7a34a064cde4582a3901eb7d
2021-08-29 20:29:05 +00:00
Bill Yi 615f7a329c [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: I09113028d4c02930c838b2ffad2452634f9ab453
2021-08-29 20:27:53 +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 e2c9a05e73 Merge changes from topic "presubmit-am-af3a9aca4e964a6d8bba7a4113919ae9" into sc-qpr1-dev
* 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 30cf131415 Merge changes from topic "presubmit-am-1d1cd88cc63d4a20a2e01c6e7836744e" into sc-qpr1-dev
* 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 be48c68bd2 Merge changes from topic "presubmit-am-323f1efd13694d1c823ff0877ccea911" into sc-qpr1-dev
* 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
TreeHugger Robot 255133a2ae Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev 2021-08-28 07:58:59 +00:00
TreeHugger Robot f7483291e7 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev 2021-08-28 07:55:26 +00:00
TreeHugger Robot ad45c62ad1 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev 2021-08-28 07:55:16 +00:00
Hyunyoung Song cb6948a2a2 [automerger skipped] All apps memory leak fix / unregister data observer am: 349c7c82f4 -s ours
am skip reason: Merged-In Ia5732cced959e4a199d9c2b59f1f3941a2e23552 with SHA-1 6e72c8bbba is already in history

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

Change-Id: I33d580c95459e06324d2f281c61e8b4450d5552a
2021-08-27 23:13:14 +00: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 e57d9636a7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I17fda4d6bb542e6b3dd90db73acaf140ba966e12
2021-08-27 05:41:16 +00:00
Bill Yi 3264d86d36 [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: I885aee784a1688d8a8a04b890510c9d291ac7e24
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 4c67a7bbf7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If885af101a48eff6d7861e8f204df79442d55346
2021-08-27 05:39:33 +00:00
Bill Yi 12a401fbb4 [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: I9d6dc63256d091f2ac0d0c7a23f932f40800c563
2021-08-27 05:39:16 +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 268fed7bcc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I432b16f415344cedf760195ccdc303909c67724b
2021-08-27 05:37:36 +00:00
Bill Yi 004202d088 [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: I866fd1973beedd1da620f40d258096f3d2c780bb
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
Hyunyoung Song 6e72c8bbba All apps memory leak fix / unregister data observer
Bug: 197702957

Test: adb shell dumpsys meminfo com.google.android.apps.nexuslauncher, ahat

Change-Id: Ia5732cced959e4a199d9c2b59f1f3941a2e23552
2021-08-26 15:18:47 -07:00
Lucas Dupin 6d7a006302 Constrain scroll amount
Test: scroll vertically and horizontally
Fixes: 196309367
Change-Id: Ibf16fb72cf95e29ed820d5f511e764a388c93bb0
Merged-In: Ibf16fb72cf95e29ed820d5f511e764a388c93bb0
(cherry picked from commit b259a896f5)
2021-08-25 16:45:20 +00:00
Alex Chau d688120ee1 Merge "Fix animation problem when swipeing up app to screen edge and release" into sc-qpr1-dev 2021-08-25 09:08:03 +00:00
Lucas Dupin e3cf162169 Synchronize surface transaction am: 0a2076e8d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15669618

Change-Id: I494543d4183689bfcec9ed4e384be4ad3e660707
2021-08-25 03:35:43 +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
Alex Chau df2b9e14d6 Fix animation problem when swipeing up app to screen edge and release
- Consider scroll diff between currentPage and primary scroll when calculating adjacent page offset
- Removed setEnableFreeScroll call in onPrepareGestureAnimation that calls setCurrentPage and causes jumping

Fixes: 197012570
Fixes: 195740577
Test: Swipe up from app to end of screen, adjacent task should come from screen edge, and app should snap smoothly to position
Test: Swipe up from app, scroll immediately, free scroll should be enabled
Test: Swipe up immediately after quick switch, task thumbnails are loaded
Change-Id: Id88266634183dfcb18d5ba8a803883b7d6f50ab4
Merged-In: I1964b8c3bd82b22396340d2352833b2aee73a6fc
(cherry picked from commit 8ebd11af14)
2021-08-24 10:11:41 +00:00
Lucas Dupin f52fb6f632 Act on scrim visibility am: a8382dc052
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15655786

Change-Id: I40626071bdaadd997cc1479118224847b78229d3
2021-08-23 21:34:23 +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
TreeHugger Robot 70dd01be85 Merge "Fix NPE when converting final screen to empty screen." into sc-qpr1-dev 2021-08-19 15:30:20 +00:00
TreeHugger Robot 686d42a1d4 Merge "New app animation specs." into sc-qpr1-dev 2021-08-19 00:45:05 +00:00
Jon Miranda bda98de9f8 New app animation specs.
- New values and interpolators.

Bug: 173107751
Test: open apps from different parts of the home screen
Change-Id: I81bec0221aec9c04dac0bb3e926c879999699e57
2021-08-18 18:26:46 +00:00
Lucas Dupin 482f983a7b Add depth to -1 screen
Wallpaper will zoom out as you drag the overlay

Test: manually pull overlay
Fixes: 192502999
Change-Id: I9067b70d10497d4e16a5ef601161fbedfa9307e1
Merged-In: I9067b70d10497d4e16a5ef601161fbedfa9307e1
(cherry picked from commit 87d752062e)
2021-08-18 15:34:45 +00:00
TreeHugger Robot 8782ad4f99 Merge "Fixing ModelPreload cancelling existing load" into sc-qpr1-dev 2021-08-18 05:09:49 +00:00
Bill Yi e0b69a2ae5 [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: I9d66bd5008a21418a1e061329c1dcb20ea0c91ed
2021-08-17 22:23:00 +00:00
Bill Yi 0610d4c802 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: cea66b3a81 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If74688fff1cbeb04de75f0da8908642d485c4186
2021-08-17 22:22:24 +00:00
Bill Yi 3b8415e58a Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-08-17 22:05:47 +00:00
TreeHugger Robot 5baa4e8c45 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev 2021-08-17 19:54:28 +00:00
Bill Yi f07084c8f4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2e99b63e1092bd252b2052280d05e765cbe799ac
2021-08-17 02:16:14 -07: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 af65b6d3d2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I945a5fbf0a31fe983fe20c6f173d80e6d9423e26
2021-08-17 02:11:45 -07: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
Jon Miranda 26de7be984 Fix NPE when converting final screen to empty screen.
Bug: 194553613
Test: manual
Change-Id: Id29b8574964688f6f6aa96dd5b1b8a4d8b9110c0
2021-08-16 16:47:11 +00:00
Sunny Goyal 57e0866fdd 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-08-12 21:33:33 +00:00
Brian Isganitis e52a4e39af Merge "Update preferences to Material Next styling" into sc-qpr1-dev 2021-08-12 18:57:49 +00:00
TreeHugger Robot 3be0173b14 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: Id2a24af3aed6fa4819a2fc46c8a305b06ff31d84
2021-08-12 00:31:19 +00:00
TreeHugger Robot 6b10f4649c Merge "Adjust all apps zoom level" into sc-dev 2021-08-12 00:09:14 +00:00
Steven Ng 8facf46000 Fix pending restore widget touch issue am: bdffb53843
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15517689

Change-Id: Ie1cd0fccfcb7377853f326e6e0476c3ec08be97a
2021-08-11 23:49:30 +00:00