Adam Cohen
b14a4c165b
Merge "Draw the workspace scrim in the LauncherRootView instead of DragLayer" into sc-dev am: 12e547f2a8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13463974
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I441e0b92a8e00821159e34a95899ee1ab3b4d9db
2021-02-10 23:44:13 +00:00
Adam Cohen
12e547f2a8
Merge "Draw the workspace scrim in the LauncherRootView instead of DragLayer" into sc-dev
2021-02-10 23:33:06 +00:00
TreeHugger Robot
b4bd0af611
Merge "Update TaskIcon UI." into sc-dev am: 99f23c9714
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13538913
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5cf8437984a707be3f71a36c92f7e239703ee0a9
2021-02-10 22:22:21 +00:00
TreeHugger Robot
99f23c9714
Merge "Update TaskIcon UI." into sc-dev
2021-02-10 22:03:30 +00:00
Hongwei Wang
4fa594b17b
Merge "Support autoEnterPip without source rect hint" into sc-dev am: 0f16e51451
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13524927
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ibd08c63eb219320ea52f701d7b59e0646dff449d
2021-02-10 20:37:08 +00:00
Hongwei Wang
0f16e51451
Merge "Support autoEnterPip without source rect hint" into sc-dev
2021-02-10 20:03:07 +00:00
Adam Cohen
501e139c6e
Draw the workspace scrim in the LauncherRootView instead of DragLayer
...
=> The entire DragLayer is translated during the -1 transition which creates a janky looking edge at the top of the screen
=> By bumping the scrim up a level, we avoid this
=> Separated WorkspaceAndHotseatScrim into two separate scrims, since only part of the scrim needed to be bumped up to a level. Further, it was an overloaded class.
=> We had previously been implicitly relying on the fact that the scrim was rendered in the Workspace parent; we need to make sure to propagate workspace inavlidations to the container of the scrim. While things would still work without this change, it's more correct to leave it, as we no longer assume a hierarchy for functinoality.
Bug: 178215332
Test: manual verification. See video in bug.
Change-Id: I0a76ddf35ceea8c9635367f69380ef24f42e9479
2021-02-10 19:16:26 +00:00
thiruram
2b8f04a877
[AA+] Log DeviceSearchResultContainer.QueryLength as cardinality field of statsd am: ea826f87d1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13521886
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8280340a4cbac8bee43eb94442eebe2c510623e5
2021-02-10 18:32:58 +00:00
thiruram
ea826f87d1
[AA+] Log DeviceSearchResultContainer.QueryLength as cardinality field of statsd
...
Bug: 178562918
Change-Id: Iae8ca85d46f127e94fe57f42c5c3397d27393f6c
2021-02-10 18:03:06 +00:00
Becky Qiu
d6b5dad64a
[Overview Sharing] Pass the full screen progress to task overlay. am: dffbdf861c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13536607
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8e950f9741779e9125e13484589614345d8ec16f
2021-02-10 05:30:19 +00:00
Becky Qiu
dffbdf861c
[Overview Sharing] Pass the full screen progress to task overlay.
...
This is to change the alpha value of the suggest view when user swipe down.
Bug: 179514465
Test: local
Change-Id: Idfa66ff6d9bb43f35f859df828a19e3b47abcd65
2021-02-10 03:07:40 +00:00
Sreyas
4defb4009d
Update TaskIcon UI.
...
Moved TaskView Icon up and removed TaskMenuView Icon.
Screenshot: https://drive.google.com/file/d/1dVJOr_n4hfj7HvqHs3GQY-ZsPFkv3aFP/view?usp=sharing
Bug: 179490926
Test: Manual
Change-Id: I41844901a3e47ec6d6a8bdb6ed1fb7f4524500c4
2021-02-09 18:56:44 -08:00
Sunny Goyal
6b717f876e
Merge "Deduping multiple prediction UI update calls" into sc-dev am: 1f6b7fcc35
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13496879
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I70d242ad9f34484e65552d532009277428dc1741
2021-02-09 23:52:33 +00:00
Sunny Goyal
1f6b7fcc35
Merge "Deduping multiple prediction UI update calls" into sc-dev
2021-02-09 23:15:37 +00:00
Winson Chung
794f00fb95
Merge "Add screen size to touch regions cache." into sc-dev am: ab2739e990
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13519358
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ibdae1c61e0bca9b0b14705dca3d4cc57b3685808
2021-02-09 22:17:24 +00:00
Samuel Fufa
bc20044910
Merge "Migrate AA+ Search related files" into sc-dev am: 1d8a2a6e0d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13521180
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic13ba256f7ecef674dc46a14c8491d23282357c6
2021-02-09 22:17:17 +00:00
Wale Ogunwale
4c7d4e5830
Merge "Added API to specify if split-screen should exit on hide" into sc-dev am: 6cd63cb4ee
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13522458
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8a25af7439c2823e0318ef04bbaf879029ce7138
2021-02-09 22:15:31 +00:00
Sreyas Rangaraju
82bbab6f72
Merge "Updating Chips UI" into sc-dev am: 8eced27076
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13486576
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6503b91f8fed163277d59149d7ee6e87c0b71cf4
2021-02-09 22:11:07 +00:00
Sunny Goyal
0969693b33
Merge "Removing released features" into sc-dev am: 9fa3a07086
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13468029
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I55b7537c5fc1354a319ec2ba501ee66d424b55fd
2021-02-09 22:10:47 +00:00
Winson Chung
ab2739e990
Merge "Add screen size to touch regions cache." into sc-dev
2021-02-09 21:30:24 +00:00
Samuel Fufa
1d8a2a6e0d
Merge "Migrate AA+ Search related files" into sc-dev
2021-02-09 21:24:37 +00:00
Hyunyoung Song
a3a30a9224
Migrate AA+ Search related files
...
Bug: 179495850
Test: Manual
Change-Id: I32180f14a11eaf72d5d4981e76c2f2ea74472494
2021-02-09 21:23:36 +00:00
Sunny Goyal
c402fdaf7b
Deduping multiple prediction UI update calls
...
Bug: 179445858
Test: Manual
Change-Id: I6ad86af247a6d94dcaf45206b3d7fb8c44c602d6
2021-02-09 21:22:26 +00:00
Wale Ogunwale
6cd63cb4ee
Merge "Added API to specify if split-screen should exit on hide" into sc-dev
2021-02-09 21:04:38 +00:00
Sreyas Rangaraju
8eced27076
Merge "Updating Chips UI" into sc-dev
2021-02-09 20:06:02 +00:00
Sunny Goyal
9fa3a07086
Merge "Removing released features" into sc-dev
2021-02-09 19:57:18 +00:00
Wale Ogunwale
fb674c7d81
Added API to specify if split-screen should exit on hide
...
Bug: 179176511
Test: presubmits
Change-Id: I6eaecec2ac3fd1bbfbf548078eef525376ddbe72
2021-02-09 07:19:33 -08:00
TreeHugger Robot
f0146b72ed
Merge "Enable variable size thumbnail for large screen" into sc-dev am: 823c5f8bf6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13427477
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I78354b5ae84c742eefcefe200dc8130a740df4c6
2021-02-09 12:32:48 +00:00
TreeHugger Robot
823c5f8bf6
Merge "Enable variable size thumbnail for large screen" into sc-dev
2021-02-09 11:26:33 +00:00
TreeHugger Robot
ac6215595a
Merge "Fix some issues with taskbar" into sc-dev am: e263a44567
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13520675
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I79662375a2446ad0312198e83912880c6a06792d
2021-02-09 02:06:12 +00:00
Hongwei Wang
4d69fab5c8
Support autoEnterPip without source rect hint
...
When no source rect hint is specified, autoEnterPip simply scale the
window down to the PiP.
Video: http://rcll/aaaaaabFQoRHlzixHdtY/cdY8k6V9uhJEXyMAKAUA34
Video: http://rcll/aaaaaabFQoRHlzixHdtY/bvodLNGyrIXH8DSvGHehrp
Bug: 179286893
Test: manual in ApiDemos app, see video
Change-Id: Ife4f1a56ddfd61c13383da9a1066e3d8b4a2181c
2021-02-08 16:55:15 -08:00
thiruram
223784cec2
[AA+] Fixes wrong container for LAUNCHER_ITEM_DROP_COMPLETED log event. am: 73821a9c6d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13501152
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0dbe95908b2034fb3501d9001f8c15c6b19d9633
2021-02-08 22:11:19 +00:00
thiruram
d45bcde260
[AA+] Add QueryLength to DeviceSearchResultContainer. am: 43b1d40918
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13486574
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ifc935c178457f9e614134f2f36ae6892b5476c70
2021-02-08 22:11:18 +00:00
Tony Wickham
afd0d81a70
Fix some issues with taskbar
...
- Update Hotseat items in init() to ensure they are reloaded
- Don't update Recent items if we get the new tasks after cleanup()
Test: Fold and unfold, ensure Taskbar disappears/reappears without
crashing
Bug: 171917176
Change-Id: I1c2ae1022ae56cddece655b22db187684f691bf8
2021-02-08 21:54:01 +00:00
Alex Chau
7944ee5c79
Enable variable size thumbnail for large screen
...
- Introduced a feature flag
- Refresh TaskView size when thumbnail is refreshed or Recents resizes
- Disable edge scale down in large screens
- Added temp method to get task width/height ratio
- In fullscreen, scale down TaskThumbnailView and disable TaskView elevation
- Task boxing mechanism: http://screen/3NkePthAVUVH2Rv.png
Bug: 174464656
Test: Manually test overview and quickswitch for folded and unfolded, including with RTL.
Change-Id: I2ce24d588a246cc6a2408039a37d884021aa0800
2021-02-08 19:40:49 +00:00
Himanshu Jaju
df256ae86b
Add screen size to touch regions cache.
...
The general design for foldable devices contains a smaller screen and a
larger screen. Hence we need to move from caching based on rotation to
caching based on {display size, rotation} tuple.
Test: Manual on fold2
Bug: 172240450
Change-Id: I445a7545e684134d7d880f957bb97ff847b726b7
2021-02-08 18:23:32 +00:00
thiruram
73821a9c6d
[AA+] Fixes wrong container for LAUNCHER_ITEM_DROP_COMPLETED log event.
...
Bug: 179529616
Change-Id: Id35c952c94d8a10743f147b194d3c27e22bc5062
2021-02-08 10:11:32 -08:00
thiruram
43b1d40918
[AA+] Add QueryLength to DeviceSearchResultContainer.
...
Bug: 178562918
Change-Id: I4891433bcd8848edd92f103448f5c00c5f9619e4
2021-02-08 10:08:11 -08:00
TreeHugger Robot
9834e06b63
Merge "Enable slice again" into sc-dev am: fd03d04ae0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13490546
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I217744cee86bc38c439c04f8a73e6ac9ad4f0577
2021-02-08 09:16:49 +00:00
TreeHugger Robot
fd03d04ae0
Merge "Enable slice again" into sc-dev
2021-02-08 08:55:00 +00:00
TreeHugger Robot
d83a5c0019
Merge "After AA+Search Edu, bring up IME" into sc-dev am: bcf2ecc9e5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13491648
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ifd1c4687cdc2529fb8e38d05f0739d792decab13
2021-02-08 01:39:33 +00:00
TreeHugger Robot
bcf2ecc9e5
Merge "After AA+Search Edu, bring up IME" into sc-dev
2021-02-08 01:19:33 +00:00
TreeHugger Robot
84947738f2
Merge "Catching generic app start exceptions in ProxyActivity" into sc-dev am: a693baa663
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13439497
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Idd10a59218fec2a46d8f2ffe5b910170470bcddc
2021-02-06 03:44:13 +00:00
TreeHugger Robot
a693baa663
Merge "Catching generic app start exceptions in ProxyActivity" into sc-dev
2021-02-06 02:53:14 +00:00
TreeHugger Robot
6a7a476d54
Merge changes I9ccb4335,I0d2f9be8 into sc-dev am: 9165c00438
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13487408
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9d4a8ecadf0dfac669c8448426781f623e710f71
2021-02-06 02:18:58 +00:00
TreeHugger Robot
9165c00438
Merge changes I9ccb4335,I0d2f9be8 into sc-dev
...
* changes:
Add OnComputeInsetsListener to TaskbarContainerView
Use SYSTEM_APPLICATION_OVERLAY instead of SYSTEM_ALERT_WINDOW for Taskbar
2021-02-06 01:54:37 +00:00
Sreyas
6c7e594d06
Updating Chips UI
...
Old Screenshot: https://drive.google.com/file/d/1_ptMdXCQGTz_vafOMbB-BZVZ_EP1LsaN/view?usp=sharing
New Screenshot: https://drive.google.com/file/d/1bM6Ur5H5OJdG22XU0MdRfVlNBAf_8aUy/view?usp=sharing
Test: Manual
Bug: 179490983
Change-Id: I14715b07a412239535b4916ba9cb355a0f0cf09e
2021-02-05 17:05:27 -08:00
Sunny Goyal
ead22a5257
Removing released features
...
Bug: 179224463
Test: Presubmit
Change-Id: I6aa989fa8e52398112cca2c7f4bed0ae69881f7b
2021-02-05 11:36:08 -08:00
Samuel Fufa
db01293e35
Merge "Only show OOBE once" into sc-dev am: 0569375610
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13484806
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I32c49e53076792a14dd64652254204eda533e1d4
2021-02-05 17:07:22 +00:00
Tony Wickham
734be0b5ae
Add OnComputeInsetsListener to TaskbarContainerView
...
Instead of updating visibility of TaskbarContainerView, keep it
VISIBLE but with alpha 0, and update touchableInsets to allow
touches to pass through. This avoids sending insets changed
when Taskbar is hidden.
Test: Swipe to Overview, no jumping/jank due to insets change;
also tap where Taskbar would be and ensure it doesn't launch
Bug: 171917176
Change-Id: I9ccb4335e0301f34eec459657f3bbaf88b0d8a52
2021-02-05 08:51:42 -08:00