Winson Chung
c04576ad6e
Merge "Defer adding surface changed callback until view root is valid" into tm-qpr-dev
2022-08-23 21:32:48 +00:00
Pinyao Ting
023b973d15
Explicit Nullbility in Launcher (Part 2)
...
This CL updates the nullabality on methods associated with IconCache in Launcher.
Bug: 242895652
Test: manual
Change-Id: I4832c0950141c8a52c8a9e62659ccabb082897c8
2022-08-22 17:15:44 -07:00
Sunny Goyal
ca5761d21f
Merge "Removing some obsolete features" into tm-qpr-dev am: 211496e3d8 am: a3dacac8b9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19505122
Change-Id: I8a0157caa803b2edcef458895d7e9ded06ea5fe0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-22 21:07:20 +00:00
Sunny Goyal
211496e3d8
Merge "Removing some obsolete features" into tm-qpr-dev
2022-08-22 20:27:45 +00:00
Schneider Victor-tulias
146b86fc31
Finish recents animation to the matching state.
...
ResetGestureInputConsumer was defaulting to finising the recents animation to app when the the state was set to home. This created a situation where the taskbar could become invisible. Updated ResetGestureInputConsumer to check the state.
Fixes: 241204341
Test: tested on a large screen device using the repro steps
Change-Id: If5c109810ae2882f8cdfc0248939feb7c0c53d0d
2022-08-22 10:44:05 -07:00
Ats Jenk
84fb0cf390
Merge "Hide freeform button from app menu in recents" into tm-qpr-dev am: 5db5015fe2 am: a2c0473d94
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19681296
Change-Id: I9886b4c60c692bb8a9cd1030ebbc3a70317162d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-20 01:19:18 +00:00
Ats Jenk
5db5015fe2
Merge "Hide freeform button from app menu in recents" into tm-qpr-dev
2022-08-20 00:37:56 +00:00
Ats Jenk
6b31ed99d9
Hide freeform button from app menu in recents
...
When desktop windowing prototype is enabled, we should only be able to
switch apps to freeform mode via the quick tile.
Disabling other routes to put individual apps to freeform.
Test: visually verified that freeform button is not visible when desktop
windowing prototype flag is enabled
Bug: 242906219
Change-Id: Ib1ce75969b67f30d82262927e2e4113fab2c4956
2022-08-19 12:35:26 -07:00
Sunny Goyal
b2b614e169
Removing tabWidth calculation and using DeviceProfile directly
...
This removes some dependency on FloatingHeaderView, making it
easier to replace
Bug: 234008165
Test: Verified that the UI does not change
Change-Id: I363c98c23f84fe570ea9cb1a40128359f5b67c9f
Merged-In: I363c98c23f84fe570ea9cb1a40128359f5b67c9f
(cherry picked from commit 42b640404a )
Merged-In: I363c98c23f84fe570ea9cb1a40128359f5b67c9f
2022-08-19 18:44:02 +00:00
Jeremy Sim
235bd0c0d4
Merge "Revert "Update animations for TM-QPR: Overview > OverviewSplitSelect transition"" into tm-qpr-dev am: 5ea6cfdb7e am: 2351d8dee3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19669397
Change-Id: Ie12aac6a63ff32c8fd0a443554898ba77c65d471
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-19 14:21:11 +00:00
Jeremy Sim
5ea6cfdb7e
Merge "Revert "Update animations for TM-QPR: Overview > OverviewSplitSelect transition"" into tm-qpr-dev
2022-08-19 13:37:58 +00:00
Zim
68730a684a
Disable Launcher AIDL_TAG tracing special case
...
Since we enable generate_traces by default for the system and
signature apps, we can remove this special case
Test: Manual
Bug: 161393989
Change-Id: Iff92c0a729a9b9b038fb6310c7509925c59547b6
2022-08-18 23:09:11 +01:00
Jeremy Sim
2fe7dd7306
Revert "Update animations for TM-QPR: Overview > OverviewSplitSelect transition"
...
This reverts commit a50bb39048 .
Reason for revert: Causes a P1 bug (b/241165022).
Fixes: 241165022
Bug: 236760307
Change-Id: Icc080d9a37e26d70d0f4cf846a4fd39df3b71625
2022-08-18 21:28:54 +00:00
Winson Chung
b8a2a026a5
Defer adding surface changed callback until view root is valid
...
- It appears there are cases where the view root is not valid (in
which case schedule() returns false and we don't wait to handle
the callback) which causes an NPE, but in these cases we don't
need to add the surface changed callback at all.
Bug: 202776119
Bug: 242347940
Bug: 242897135
Test: Launch an app with sharesheet, swipe up and verify that
screenshot callbacks
Change-Id: Icc3afc604bd925c5d49c693b7de51755f5a8bd42
2022-08-17 20:27:57 +00:00
Evan Rosky
0fb2346e57
Merge "Notify recents controller when no-longer finishing-to-home" into tm-qpr-dev am: 4a8871ce4c am: cce589834c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19583219
Change-Id: Ie50e504f09172342f3ffcecf3ea92aaaad880da4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-17 16:48:02 +00:00
Evan Rosky
4a8871ce4c
Merge "Notify recents controller when no-longer finishing-to-home" into tm-qpr-dev
2022-08-16 16:02:45 +00:00
Jeremy Sim
6044de1977
Merge "Update animations for TM-QPR: Overview > OverviewSplitSelect transition" into tm-qpr-dev am: cf03d04469 am: 6a6b5e4e9a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19464657
Change-Id: Ifb097d77968dd73d80aa42327e53dcb1fdc1c2c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-15 22:47:36 +00:00
Jeremy Sim
cf03d04469
Merge "Update animations for TM-QPR: Overview > OverviewSplitSelect transition" into tm-qpr-dev
2022-08-15 21:19:21 +00:00
Evan Rosky
4b8f86ebcc
Notify recents controller when no-longer finishing-to-home
...
Bug: 241818882
Test: open app, swipe to recents, restore app
Change-Id: Ifb258319b7a54917f9f6ac08ccefeed5a47480e2
2022-08-15 10:26:49 -07:00
Jeremy Sim
a50bb39048
Update animations for TM-QPR: Overview > OverviewSplitSelect transition
...
The animation from Overview to OverviewSplitSelect is now updated to the latest spec. See bug for details.
- New timings
- Task thumbnails slide in with a new spring animation
- Icons fade out and fade in appropriately
- SplitInstructionsView has a new compound "unfold" animation
Bug: 236760307
Test: Manual on tablet and phone. Looks good on both true and fake orientations.
Change-Id: If98d4464aa51c876d79bee9672279992a2cf9026
2022-08-14 10:34:51 -07:00
Stefan Andonian
4ec179f13a
Merge "Fix for bug where expensive launcher animations were being paused and never resumed." into tm-qpr-dev am: 28d354c9a1 am: a79e5705bf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19600849
Change-Id: I8438e9e45e9a453ba586c4a834ba0d24a61b99b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-12 17:38:18 +00:00
Stefan Andonian
c784f76c0d
Fix for bug where expensive launcher animations were being paused and never resumed.
...
Bug: 240623130
Test: Verified on device that the issue is not reproducible after fix.
Change-Id: I7b1e2f70fd75b1eddf340a4f85465cc6d5b65f73
(cherry picked from commit 8b336195a6 )
2022-08-12 17:21:47 +00:00
Stefan Andonian
28d354c9a1
Merge "Fix for bug where expensive launcher animations were being paused and never resumed." into tm-qpr-dev
2022-08-12 17:07:03 +00:00
Stefan Andonian
8b336195a6
Fix for bug where expensive launcher animations were being paused and never resumed.
...
Bug: 240623130
Test: Verified on device that the issue is not reproducible after fix.
Change-Id: I7b1e2f70fd75b1eddf340a4f85465cc6d5b65f73
2022-08-11 20:36:41 +00:00
Pat Manning
2c60b25805
Merge "Add logging to help debug flake when swiping home to overview."
2022-08-11 09:54:17 +00:00
Jerry Chang
7498703aa9
Merge "Integrate split pair cold launch transition with shell transition" into tm-qpr-dev am: 4322190a24 am: f3d0d066bc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19467311
Change-Id: I603efb13f3e6f2d7b9f536e6455fa51e4c1fe789
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-11 07:54:31 +00:00
Jerry Chang
4322190a24
Merge "Integrate split pair cold launch transition with shell transition" into tm-qpr-dev
2022-08-11 07:05:18 +00:00
Winson Chung
99f80d2364
Merge "Force finish pending frame drawn callback once launcher is stopped" into tm-qpr-dev am: 99b1580d79 am: 6245c43bb2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19569180
Change-Id: I2673009a718d4accfc69720f562c5e57ee4cca2d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-11 06:37:43 +00:00
Winson Chung
99b1580d79
Merge "Force finish pending frame drawn callback once launcher is stopped" into tm-qpr-dev
2022-08-11 05:32:41 +00:00
Alex Chau
ea521f4857
Merge "Use WindowManagerProxy.getRotation to determine if rotation has changed" into tm-qpr-dev am: 5d9625b865 am: d86d6223b8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19582532
Change-Id: I93957f96b19647c873580ae014e275be2060b3f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-11 00:03:29 +00:00
Winson Chung
e7bf15932b
Force finish pending frame drawn callback once launcher is stopped
...
- In rare cases, we may schedule to update the taskview with a
screenshot but Launcher will not finish calling back because
the activity is stopped (can be the result of the animation
cancelling back to the app), which prevents Launcher from
scheduling any frames and properly decrementing the frame
count.
Bug: 202776119
Test: Launch an app with sharesheet, swipe up and verify that
screenshot callbacks
Change-Id: I6b7e121fd5d9ef27ef5cccca060a4ff819fe9acc
2022-08-10 19:58:19 +00:00
Alex Chau
360ec033ac
Use WindowManagerProxy.getRotation to determine if rotation has changed
...
- Follow-up of http://ag/19559863 as Config diff on windowConfiguration does not work on 3P Launcher, so diff WindowManagerProxy.getRotation instead
- Also centralized Configuration diff logic into StatefulActivity
Bug: 240730723
Test: manual on 90/180 degree rotation in Launcher, RecentsActivity and 3P Launcher
Change-Id: Ib368ed5d749841a6873a03e2644608ff68885922
2022-08-10 18:14:06 +01:00
Pat Manning
1edba8b0a6
Add logging to help debug flake when swiping home to overview.
...
Bug: 238461210
Test: TaplTestsQuickstep#testSwitchToOverview
Change-Id: I8ee9af4f4a331c43761ba3738e12acb376ababc2
2022-08-10 13:37:02 +00:00
Nicolò Mazzucato
b399812c6e
Merge "Disable hinge sensor while the screen is off" into tm-qpr-dev am: 92b4a88f78 am: b793cac638
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19536889
Change-Id: I6a2a49f39db26fce7cbff4dc359eda8cc47248bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-10 09:49:05 +00:00
Alex Chau
1edf184cc9
Merge "Detect potential WindowConfiguration change at onApplyWindowInsets" into tm-qpr-dev am: 16b6511e14 am: 76865013bd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19559863
Change-Id: Ibe53bcf7d1839224bf2b8e0d8d5bec6a25096b9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-10 09:48:54 +00:00
Nicolò Mazzucato
92b4a88f78
Merge "Disable hinge sensor while the screen is off" into tm-qpr-dev
2022-08-10 09:32:53 +00:00
Alex Chau
16b6511e14
Merge "Detect potential WindowConfiguration change at onApplyWindowInsets" into tm-qpr-dev
2022-08-10 09:14:11 +00:00
Vinit Nayak
2d6442c5e6
Merge "Show 3 button nav on phone in Taskbar (1/2)" into tm-qpr-dev am: 89be3a4c6d am: 72864a13db
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19534821
Change-Id: Ib9ef7e0923dea9e1700208b9dbdd20ee4368b063
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-10 04:19:00 +00:00
Vinit Nayak
89be3a4c6d
Merge "Show 3 button nav on phone in Taskbar (1/2)" into tm-qpr-dev
2022-08-10 03:06:53 +00:00
Vinit Nayak
8a3d05587e
Show 3 button nav on phone in Taskbar (1/2)
...
* TODO: Landscape/seascape support,
Separate nav spacing out into
separate class/add tests
Bug: 219035565
Change-Id: I8f5c007f04ea4d6df15962772806356181d764ff
2022-08-09 13:25:50 -07:00
TreeHugger Robot
5e9ff9eaa1
Merge changes from topic "fabFixMoveToTM" into tm-dev am: e2fd4e4e43
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19432065
Change-Id: I63b05d4643a6e545ab8f0ad53ac4c077400edad9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-09 19:41:43 +00:00
Alex Chau
ccc430e2c1
Detect potential WindowConfiguration change at onApplyWindowInsets
...
- Invoke onConfiguration when receiving inset changes
- In Laucnher/RecentsActivity onConfiguration, additionally detect for windowConfiguration's rotation change; if Configuration stays the same, it'll be ignored.
Bug: 240730723
Test: manual on 90/180 degree rotation in Launcher and RecentsActivity
Change-Id: I7087878af847d62e1c715a4f52a18818d1a6c258
2022-08-09 19:09:42 +01:00
Jon Miranda
88568fd15b
Merge "Make windows transform into icons quicker for certain devices." into tm-qpr-dev am: b4972a3291 am: 2286dc4ea3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19542152
Change-Id: Icfafa692ce1b513c78010ab30a86281020263f42
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-09 17:14:00 +00:00
Jon Miranda
b4972a3291
Merge "Make windows transform into icons quicker for certain devices." into tm-qpr-dev
2022-08-09 16:14:58 +00:00
Alex Chau
8d0048864d
Merge "Update hotseat QSB alpha after isQsbInline changes" into tm-qpr-dev am: aae5739511 am: 02015d7505
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19536892
Change-Id: Ie68e83885eda7159f19d95c8dd371dbb77096b7e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-09 15:12:42 +00:00
Alex Chau
aae5739511
Merge "Update hotseat QSB alpha after isQsbInline changes" into tm-qpr-dev
2022-08-09 14:23:33 +00:00
Jon Miranda
da8c0f9926
Make windows transform into icons quicker for certain devices.
...
Bug: 240671690
Test: manual
Change-Id: Ie36a68c1e92443ca453778df6b8f7549d6e1f7e1
2022-08-08 16:58:04 +00:00
Jerry Chang
32e7d3f2cd
Merge "Fix no action menu for split pairs in overview panel" into tm-qpr-dev am: 3a971a67d6 am: 106458e96e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19498306
Change-Id: Id068204f98e01695caf2915d2ab7a040f9921b63
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-08 15:15:57 +00:00
Jerry Chang
3a971a67d6
Merge "Fix no action menu for split pairs in overview panel" into tm-qpr-dev
2022-08-08 14:38:13 +00:00
Pat Manning
7b0870c1d2
Merge "Skip button layout spacing call when kids nav bar is active." into tm-qpr-dev am: 80d33f35a9 am: d6142daa10
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19459614
Change-Id: I40806b87f34c23577565a326a6b8246464294650
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-06 02:25:58 +00:00