Colin Cross
af52aea9a3
Merge changes from topic "androidx_drop-sc-dev-plus-aosp" into sc-dev-plus-aosp
...
* changes:
Temporarily disable Launcher3 tests affected by fling changes
Disable eager initialization of Jetpack libraries
2021-09-09 21:22:24 +00:00
Alex Chau
676892da5a
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: I8cdd82482645c0d0f7c710e5a519a4e5a8f25492
2021-09-07 17:43:46 +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
Vadim Caen
2d08ce736b
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: I820df5660b67e541def5449b99047e8a7f6be077
2021-08-30 16:35:59 +00:00
Vadim Caen
97aaa6e5ae
Merge "Disable splash screen for launches from widget." into sc-dev
2021-08-30 15:56:26 +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
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
Alan Viverette
ca34b4d571
Temporarily disable Launcher3 tests affected by fling changes
...
Bug: 197802324
Test: TaplTestsLauncher3
Change-Id: I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e
Merged-In: I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e
(cherry picked from commit bc4dc49c6c )
2021-08-26 12:38:10 -07:00
Lucas Dupin
def763740a
Synchronize surface transaction am: 0a2076e8d3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15669618
Change-Id: Ia8b9b012f5372cae3953e18c50c6dca031e3b848
2021-08-25 03:34:53 +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
5e670d29b7
Act on scrim visibility am: a8382dc052
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15655786
Change-Id: Ia60393e3464a363b297ad6a3c9a3014247848e3b
2021-08-23 21:37:20 +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
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
4b3c24d0d3
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: Ic51ea9d199e6a072168365aeb7553203cd2c43c6
2021-08-12 00:29:10 +00: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
ff049aae0f
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I8da912b3e7ec23e63a5c1436773cd86b8cb8dffc
2021-08-04 22:14:26 +00:00
Tracy Zhou
6c262c5f94
[DO NOT MERGE] Disable live tile in split mode for S am: 145bd74749
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15331686
Change-Id: I65674551091fde62193325a3f5676c5becde7334
2021-08-03 22:02:31 +00:00
Tracy Zhou
145bd74749
[DO NOT MERGE] Disable live tile in split mode for S
...
Recall link: https://recall.googleplex.com/projects/debb8388-5e38-42c5-99ab-20bdfb92d25e/sessions/655af962-b4bd-4dc4-93aa-178852c0d701
Bug: 193991436
Test: enter split screen and swipe up
Change-Id: I7adffcdefb12d225db207542716a436f29df0377
2021-08-03 20:50:27 +00:00
Alex Chau
49f3a41c78
Merge "Always treat FallbackRecentsView as visible if isInLiveTileMode is true" into sc-dev am: e20208e9d1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15429930
Change-Id: I63897bebddbc836c4265bff67c2248c9d132fbe0
2021-07-30 18:01:28 +00:00
Alex Chau
fb5ae9060d
Always treat FallbackRecentsView as visible if isInLiveTileMode is true
...
- activity.hasBeenResumed is no longer an accurate indicator after live tile has been introduced, indeed it's always false
- Return recentsView regardless if there is a runningTask as well
Bug: 194286330
Test: In fallback Recents with 3 button, tap overview button from home screen, then tap overview button again. Try combination with back and home button
Change-Id: Ib2775a11f5466abc433763f24192e7bfdcf191a2
(cherry picked from commit 455718e842 )
2021-07-30 08:22:03 +00:00
Tracy Zhou
d95465cc59
Merge "Clear command queue of OverviewCommandHelper on home tap" into sc-dev am: dec3330a83
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15416225
Change-Id: I605ffc7cd56f9407ed4aeff55a50db8021f69612
2021-07-29 21:48:37 +00:00
Tracy Zhou
6842315605
Clear command queue of OverviewCommandHelper on home tap
...
Fixes: 194934483
Test: manual
Change-Id: Id83b341245793c38c305e6ada5581ac4e49527a7
Merged-In: Id83b341245793c38c305e6ada5581ac4e49527a7
2021-07-29 19:09:53 +00:00
Tracy Zhou
c94002600a
Merge "Reset current task and dequeue overview commands when recents animation is cancelled" into sc-dev am: 024749a1e0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15365516
Change-Id: I881b9d322e67699ecea9414b3db2f72d05e80c3b
2021-07-26 21:35:42 +00:00
Tracy Zhou
024749a1e0
Merge "Reset current task and dequeue overview commands when recents animation is cancelled" into sc-dev
2021-07-26 21:17:38 +00:00
Tracy Zhou
94e798bac1
Reset current task and dequeue overview commands when recents animation is cancelled
...
Fixes: 193925362
Test: manual
Change-Id: I792be003e5aabf34324075829d5381cba591892b
2021-07-26 12:17:01 -07:00
TreeHugger Robot
aa4c71efa0
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2021-07-24 05:42:14 +00:00
Bill Yi
818238558a
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I47acd077e560f94d070da5dd2c9b66ac07950e49
2021-07-24 03:05:08 +00:00
Sunny Goyal
cc0f183bb3
Merge "Fixing touch events ignored in some cases" into sc-dev am: e0e64b4851
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15362818
Change-Id: I2a01ed8b901306937bd3ccea185fddb3d45c43e2
2021-07-23 22:46:28 +00:00
Sunny Goyal
58e81e5da1
Fixing touch events ignored in some cases
...
Bug: 160218103
Test: Manual
Change-Id: Ifa71e742451acecd8979a6833a202c6189b4df52
2021-07-22 15:27:43 -07:00
Jason Chang
668fd1db2f
Merge "Fix unable to swipe up to exit one-handed mode under 2 button navigation" into sc-dev am: 1b3f5d3883
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15311532
Change-Id: I45544393dec62e60baebdda57602f931e0919b3a
2021-07-22 10:01:58 +00:00
Jason Chang
1b3f5d3883
Merge "Fix unable to swipe up to exit one-handed mode under 2 button navigation" into sc-dev
2021-07-22 09:43:13 +00:00
Brian Isganitis
647f62657c
Support overriding All Apps EDU animation on drag am: ec4a56a311
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15349065
Change-Id: Ibda4551f7ea83db1868458693190ef467a9ee683
2021-07-21 20:14:40 +00:00
Brian Isganitis
ec4a56a311
Support overriding All Apps EDU animation on drag
...
Test: Dragging during All Apps EDU animation overrides the animation.
Bug: 160218103
Change-Id: I1c0a2d047bcb43ea7ce30cf87182b392dac313e4
2021-07-21 17:39:00 +00:00
TreeHugger Robot
3a7df28e8d
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2021-07-21 12:46:42 +00:00
Bill Yi
ae99b65b1f
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I828bb455fd6ce0c8e5552cac3bf2090f29021ccd
2021-07-21 05:55:06 +00:00
Jason Chang
edc7917521
Fix unable to swipe up to exit one-handed mode under
...
2 button navigation
Remove redundant condition checking when consuming One-handed mode
gesture events.
Bug: 193761450
Test: manual
Test: atest WMShellUnitTests
Change-Id: Id4687cb579c17d7de1a08b32c003e656cbbce820
2021-07-21 11:54:52 +08:00
Lucas Dupin
56cc5f0a39
Merge "Revert "Apply depth even when surface is null"" into sc-dev am: 8d43e46261
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15341690
Change-Id: Iaaf417215e3c9352f959d54184b4e221dcf8caed
2021-07-21 00:35:20 +00:00
Lucas Dupin
ee9099af7f
Revert "Apply depth even when surface is null"
...
This reverts commit a6c38be150 .
Fixes: 193333562
Test: manual
Change-Id: I4fae079e0cd056fc800e5a15389f4795c77e17fb
2021-07-20 14:14:50 -07:00
Sunny Goyal
1e741bd802
Merge "Fixing quickswitch window not properly aligned in split-screen" into sc-dev am: c3f56d7628
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15331678
Change-Id: I6c8939002922cea0af704971b7d188408716a7d7
2021-07-20 07:15:35 +00:00
Sunny Goyal
c3f56d7628
Merge "Fixing quickswitch window not properly aligned in split-screen" into sc-dev
2021-07-20 07:03:51 +00:00
Sunny Goyal
a1bed5428d
Fixing quickswitch window not properly aligned in split-screen
...
Bug: 193992000
Test: Manual
Change-Id: Ic37cbc561a0299be1a1c05dfb17bd826c173100e
2021-07-19 17:10:12 -07:00
Jonathan Miranda
1032f3cd64
Merge "Fix notification dot not always being up to date." into sc-dev am: 8e095ccb05
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302020
Change-Id: I14464148a1f19023f937eb2449bcb3dac1493638
2021-07-19 17:59:29 +00:00
Jonathan Miranda
8e095ccb05
Merge "Fix notification dot not always being up to date." into sc-dev
2021-07-19 17:45:26 +00:00
Bill Yi
d795b67d17
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ic985ca3898b08c71facddecf2e9c94fd4f0ad350
2021-07-18 04:16:45 +00:00
Jon Miranda
f8441cc276
Fix notification dot not always being up to date.
...
- Prediction row views were never updated when notification changes.
- FloatingIconView set the BubbleTextView to force hide dot, but never restored it.
BubbleTextView is instanceof IconLabelDotView, so its already handled in the end runnable
Bug: 183360736
Test: 1. swipe up to go home such that the closing app has a notification,
note that the notification dot is properly updated
2. have all apps open
make notification update for a predicted app
ensure dot is properly updated
Change-Id: I35dacf9b71a3d8b8a857be450690d65ea9199bf6
2021-07-16 17:50:56 -07:00
TreeHugger Robot
a47e60d8ca
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2021-07-16 15:05:35 +00:00
Bill Yi
0896cbc8f3
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I3d7b3786054b9790b140cbaa43b0d96196beb042
2021-07-16 02:51:58 +00:00
TreeHugger Robot
aea4bed7e6
Merge "Fixing regression from animation not starting while in overview" into sc-dev am: f054bf5681
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15305446
Change-Id: I2014b2a3322de2875b64ede01e26a65cc5f2c6dd
2021-07-16 01:43:40 +00:00
TreeHugger Robot
f054bf5681
Merge "Fixing regression from animation not starting while in overview" into sc-dev
2021-07-16 01:27:02 +00:00
Winson Chung
558b18eb12
Fixing regression from animation not starting while in overview
...
Bug: 193830420
Test: Open an app in overview, tap on a notification
Change-Id: Ifd9797dc40d9fffbf9603bca98fcb4a4119e0444
2021-07-15 16:17:51 -07:00