Wei Sheng Shih and Automerger Merge Worker
aed29d3b3d
Merge "Rename 'EMPTY' to 'SOLID_COLOR' for splash screen API changes." into tm-dev am: 54da6aa355
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16962932
Change-Id: Ie37c46c3c3851f539fa450d3c4329a3e728db993
2022-03-03 01:35:18 +00:00
Jerry Chang and Automerger Merge Worker
872da5f950
Merge "Fix split screen divider corners flicker" into tm-dev am: 0610af43d3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17005477
Change-Id: Iedb316253bae143f4b99e685ab6f94f5dfb76379
2022-03-03 01:34:52 +00:00
Wei Sheng Shih and Android (Google) Code Review
54da6aa355
Merge "Rename 'EMPTY' to 'SOLID_COLOR' for splash screen API changes." into tm-dev
2022-03-03 01:30:41 +00:00
Jerry Chang and Android (Google) Code Review
0610af43d3
Merge "Fix split screen divider corners flicker" into tm-dev
2022-03-03 01:04:21 +00:00
TreeHugger Robot and Android (Google) Code Review
fa5333036a
Merge "Add empty implementation for item_attributes field on Launcher."
2022-03-02 23:59:53 +00:00
Jeremy Sim and Android (Google) Code Review
af9b28a56f
Merge "Fix paired icon placement in landscape/seascape"
2022-03-02 23:16:44 +00:00
Brian Isganitis and Automerger Merge Worker
5e5e730d43
Merge "Ignore touches in taskbar and all apps windows during system drag." into tm-dev am: 6ad7a477a5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17008771
Change-Id: I65fe09704be41a75bbd252c3035282aec80d39dc
2022-03-02 22:20:33 +00:00
Brian Isganitis and Android (Google) Code Review
6ad7a477a5
Merge "Ignore touches in taskbar and all apps windows during system drag." into tm-dev
2022-03-02 22:13:28 +00:00
thiruram
e294eadc74
Add empty implementation for item_attributes field on Launcher.
...
Test: make -j64 NexusLauncher
Change-Id: Ie2781017018b9c0397f2322399cbd0267c988296
2022-03-02 13:54:27 -08:00
Jeremy Sim
d6826c74a4
Fix paired icon placement in landscape/seascape
...
In grouped task view, paired icons will now align better with task thumbnails.
Fixes: 218783211
Test: Extensive manual testing on local device(s).
Change-Id: I372d2ee90302a8d96ace048ff4f82126d9b2b363
2022-03-02 12:39:49 -08:00
Brian Isganitis
1bc23b7662
Ignore touches in taskbar and all apps windows during system drag.
...
Touches are ignored as soon as we want to start system drag so that system drag can start sooner (i.e. before any AbstractFloatingView animations finish). This approach utilizes ViewTreeObserverWrapper's compute insets listener by temporarily setting the touch region to empty. The taskbar window remains fullscreen until the drag finishes so the touch region is reset at the right point. Similarly, the all apps window is kept open during its drag operations until the drag finishes. System drag state is now exposed through the drag controller to skip predrag.
Test: Manual by dragging to split screen and triggering dismissal
animation from both windows. Verified predrag works.
Fix: 221104066
Fix: 220070070
Change-Id: I424106269c841f58cbe5338d30b6c33fbd889019
2022-03-02 11:31:47 -08:00
TreeHugger Robot and Automerger Merge Worker
833be1cfc9
Merge "Fix scaling of workspace and hotseat with wrong pivots" into tm-dev am: 2403b863c3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17003265
Change-Id: Iec9889b0da252704bdef16383308d6ee9893794e
2022-03-02 18:37:04 +00:00
TreeHugger Robot and Android (Google) Code Review
2403b863c3
Merge "Fix scaling of workspace and hotseat with wrong pivots" into tm-dev
2022-03-02 18:25:19 +00:00
Pat Manning and Automerger Merge Worker
f9284cf0ff
Merge "Refactor force visible nav bar into new secure setting." into tm-dev am: 281182739a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17002946
Change-Id: Ib720cf678ccf74941a72ebc03e1a13dcf19e6912
2022-03-02 14:11:46 +00:00
Pat Manning and Android (Google) Code Review
281182739a
Merge "Refactor force visible nav bar into new secure setting." into tm-dev
2022-03-02 13:51:27 +00:00
Sam Dubey and Android (Google) Code Review
98ac0efdab
Merge "Revert "Add placeholders for item_attributes parameters.""
2022-03-02 07:07:53 +00:00
Sam Dubey
88b34ff457
Revert "Add placeholders for item_attributes parameters."
...
Revert "Add item_attributes to LauncherAtoms."
Revert submission 17044396-ItemAttributes
Reason for revert: Broke targets
Bug: 222206900
Reverted Changes:
I164eb20e5:Add placeholders for item_attributes parameters.
I18af2044d:Add item_attributes to LauncherAtoms.
Change-Id: I620487090e2486bd579944769cce065e9c810f5b
2022-03-02 05:43:48 +00:00
Thiru Ramasamy and Android (Google) Code Review
e5de0af988
Merge "Add placeholders for item_attributes parameters."
2022-03-02 04:34:20 +00:00
Jerry Chang
9f72c67e65
Fix split screen divider corners flicker
...
Divider bar might be hidden before swipe-up gesture started when users
touching task bar region. This makes sure to update visibility of
divider bar only after gesture started.
Fix: 219995626
Test: long press task bar region to stash/unstash task bar, divider bar
won't be hidden as long as it didn't trigger swipe up gesture.
Change-Id: Iacf690c84a3ad4b5e4fc9b066e9a1ecb8a8aa7d1
2022-03-02 04:04:06 +00:00
Evan Rosky and Automerger Merge Worker
5d0f4ddd34
Merge "Don't use incorrect inputconsumers during recents animation" into tm-dev am: bcc343d944
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17046840
Change-Id: I3816da5f3674779cfc60bb4bcf76ce24ef0658f1
2022-03-02 00:12:24 +00:00
Evan Rosky and Android (Google) Code Review
bcc343d944
Merge "Don't use incorrect inputconsumers during recents animation" into tm-dev
2022-03-01 23:49:06 +00:00
thiruram
cfccd38a0d
Add placeholders for item_attributes parameters.
...
Test: Manual
Change-Id: I164eb20e5b8987a0d2bf4338a7eff235d02f9af7
2022-03-01 15:47:26 -08:00
TreeHugger Robot and Automerger Merge Worker
cd70a2b20b
Merge "Combining the Thumbnail bitmap with the background to fix background spilling in the front." into tm-dev am: b7e181c741
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17003268
Change-Id: I19277c2195ba13e44eebbb5fe95303b9cb851e78
2022-03-01 22:56:34 +00:00
TreeHugger Robot and Android (Google) Code Review
b7e181c741
Merge "Combining the Thumbnail bitmap with the background to fix background spilling in the front." into tm-dev
2022-03-01 22:29:09 +00:00
Evan Rosky
9918df01af
Don't use incorrect inputconsumers during recents animation
...
Shell transitions resumes launcher. This was causing logic in
launcher to pick incorrect inputconsumers which resulted in
aborting animation logic.
Bug: 220196913
Test: quickswitch very quickly
Change-Id: I66d894436a6cc6eae57d505db8a7abf6c10ab00f
2022-03-01 11:09:21 -08:00
wilsonshih
e3e1054f19
Rename 'EMPTY' to 'SOLID_COLOR' for splash screen API changes.
...
Preventing from misleading developers.
Bug: 217953215
Test: build/flash
Change-Id: I76ed29833c71c7b678fbe5bf9d15d0137eec9f91
2022-03-01 20:21:47 +08:00
TreeHugger Robot and Automerger Merge Worker
72f6443cda
Merge "[ShellTransition]: invoke WMS#setRecentsAppBehindSystemBars to WM" into tm-dev am: 33b858d4cc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16972936
Change-Id: I1b575a3ce00c36f288033e96ab56cb21d873d7ce
2022-03-01 09:18:28 +00:00
TreeHugger Robot and Android (Google) Code Review
33b858d4cc
Merge "[ShellTransition]: invoke WMS#setRecentsAppBehindSystemBars to WM" into tm-dev
2022-03-01 08:53:12 +00:00
TreeHugger Robot and Automerger Merge Worker
9df45c386b
Merge "Improve the staged split animation" into tm-dev am: 2ac459e7f2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17031258
Change-Id: I3c38c3ba77c102297462061fea8e06af53a094ec
2022-03-01 07:59:47 +00:00
Tracy Zhou
26f5393db3
Improve the staged split animation
...
- Introduce rounded corners (since we scale x and y differently, we can't use outline since it doesn't support rx and ry. It's achieved by custom drawing).
- Make sure the thumbnail content doesn't shift during the transition (we use custom cropping for TaskThumbnailView, and we have to do it accordingly here)
TODO: update UX of the initial split view (b/219085340)
Fixes: 194414938
Test: https://recall.googleplex.com/projects/f46cfe9c-8076-4efe-bf8a-b1cc4f1f5e1b/sessions/64953aa7-62ea-427c-8ec0-5f2bd96e4762
Change-Id: Id9a5d2f0f41cb4d619c8b3bd3a83c633e3d1f2de
2022-02-28 21:12:16 -08:00
TreeHugger Robot and Automerger Merge Worker
406bbb418c
Merge "Removing some unnecessary layout calls in TaskView" into tm-dev am: 094a4bdd48
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16991032
Change-Id: I127ada46ede783fb87da79272b5527327121f9b2
2022-02-28 22:29:57 +00:00
TreeHugger Robot and Android (Google) Code Review
094a4bdd48
Merge "Removing some unnecessary layout calls in TaskView" into tm-dev
2022-02-28 22:16:30 +00:00
Pat Manning
2da28dcdc9
Refactor force visible nav bar into new secure setting.
...
Decouples force visible from kids mode setting.
Bug: 217668440
Test: manual
Change-Id: Ia8a2b30eab7633e3b686c9afebd7e683ef984deb
2022-02-28 14:55:47 +00:00
Hyunyoung Song and Automerger Merge Worker
6e35e11dd5
Merge "Change the all apps atomic transition duration to 150 ms" into tm-dev am: fbdf40ff4f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17006607
Change-Id: I9471167d0ca3c68b5078cd5cf3e0d67948a0efa2
2022-02-25 23:31:05 +00:00
Hyunyoung Song and Android (Google) Code Review
fbdf40ff4f
Merge "Change the all apps atomic transition duration to 150 ms" into tm-dev
2022-02-25 22:59:56 +00:00
TreeHugger Robot and Automerger Merge Worker
02f4062ca9
Merge "Dump DeviceProfile in TouchInteractionService dumpsys" into tm-dev am: cacb21cba9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17002613
Change-Id: I68a93c5b2206f989ec8b6fa47df4abd88a469389
2022-02-25 20:33:41 +00:00
Winson Chung and Automerger Merge Worker
d3a337609a
Just return an empty list if the system returns null am: e479619836 am: 0f86fee612
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17008524
Change-Id: Ic0d36f7132e5afcfe35c0d23676ef1b75461c66a
2022-02-25 20:17:54 +00:00
TreeHugger Robot and Automerger Merge Worker
b95eef28c9
Merge "Passing in the launch cookie for widget broadcast trampolines" into tm-dev am: 2a431f4a79 am: e1d67bf12e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16940248
Change-Id: I8d0afbdbb64a1e1aad99949dc126a872408b65bd
2022-02-25 19:21:34 +00:00
Alex Chau
890e4a75c3
Dump DeviceProfile in TouchInteractionService dumpsys
...
- So DeviceProfile dumpsys will be available in bugreports, useful for debugging
- Only dump DeviceProfile in createdOverviewActivity if it's non-null
Fix: 221395133
Test: adb shell dumpsys activity service com.google.android.apps.nexuslauncher/com.android.quickstep.TouchInteractionService
Change-Id: Iaf7b7abd25771814be6cb918e96e042d1085debb
2022-02-25 12:46:27 +00:00
Winson Chung
e479619836
Just return an empty list if the system returns null
...
Bug: 206648922
Test: Presubmit (unable to reproduce this)
Change-Id: I04a4759a1c237513ab314ece4acd542e1407edb1
2022-02-25 06:41:45 +00:00
TreeHugger Robot and Android (Google) Code Review
2a431f4a79
Merge "Passing in the launch cookie for widget broadcast trampolines" into tm-dev
2022-02-25 00:21:27 +00:00
Hyunyoung Song
d68872426c
Change the all apps atomic transition duration to 150 ms
...
Test: manual
TL;DR;; this value is used for tap on qsb all apps container
atomic transition. 320 is value that used to be used in R
when all apps travel distance used to be entire window height.
In S, we reduced the travel distance to 1/3 of the height.
Change-Id: Ib66f8a4408fd77350c31c5b894d9f8b2c889159f
2022-02-24 20:33:23 +00:00
Sebastian Franco
5a9dce518e
Combining the Thumbnail bitmap with the background to fix background spilling in the front.
...
What's happening is that we first draw a background,
on top of it, we then draw the Task and because we
have a curvature the corners have pixels with transparency,
and those pixels get combined with the background pixels.
Most tasks have a transparent background or background
of the same color as the task so we don't see this
but for example, Telegram has a white background and
you can see this in the corners.
Fixed by creating a bitmap, drawing the background on it
and then drawing the thumbnail on top of it then using
that bitmap to draw it on the canvas.
Test: Put Telegram in recent Task (shouldn't be the first one) and you won't see a white border. Also when a task was in multitask the backgroudn should be draw.
Fix: 146521490
Change-Id: Id02a64ef472eb07900b0c7c5522d931d5b08f94e
2022-02-24 19:11:55 +00:00
Winson Chung
871759483b
1b/ Replace removed shared lib calls with direct calls
...
Bug: 219861883
Test: Builds
Change-Id: I7831d0de14286c9fa39fed59b168535e0a70d94d
2022-02-24 18:04:02 +00:00
Nicolo' Mazzucato
5a0a17f119
Fix scaling of workspace and hotseat with wrong pivots
...
Bug: 219962098
Test: Unfolded device
Change-Id: I7dd9f0579ea737cd67792e612657a043411ac70e
2022-02-24 17:53:40 +01:00
Alex Chau and Automerger Merge Worker
98c5365a23
Merge "No longer stash taskbar when swiping up all apps" into tm-dev am: 21c63bc809
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16992837
Change-Id: I3964da2eeb546ff016e3e2f6c57a56b333267663
2022-02-24 14:16:56 +00:00
Alex Chau and Android (Google) Code Review
21c63bc809
Merge "No longer stash taskbar when swiping up all apps" into tm-dev
2022-02-24 11:59:57 +00:00
Mady Mellor and Automerger Merge Worker
4ce7e7362a
Merge "Add a reason to the broadcast to collapse system dialogs" into tm-dev am: 57eab45996
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16940036
Change-Id: I011d6f76579efdf3868cd168ca981ec7dfe45bcb
2022-02-24 03:16:38 +00:00
Mady Mellor and Android (Google) Code Review
57eab45996
Merge "Add a reason to the broadcast to collapse system dialogs" into tm-dev
2022-02-24 01:30:11 +00:00
TreeHugger Robot and Automerger Merge Worker
355a5fa8df
Merge "Removing unnecessary AM.getTasks() call on every touch" into tm-dev am: dde28b487e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16992834
Change-Id: Iddfb185ad56ff1a7f0d5211ef5b1bbf403b2939e
2022-02-24 00:41:18 +00:00