Commit Graph

662 Commits

Author SHA1 Message Date
Ben Lin
7d8dbc05ef Merge "PiP: Better rotation angle calculation." into sc-dev am: 5f5968a225
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13496872

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0ba78c514ff7d813ac458d23556d48ad39a93818
2021-02-08 20:27:15 +00:00
Ben Lin
5f5968a225 Merge "PiP: Better rotation angle calculation." into sc-dev 2021-02-08 20:20:39 +00:00
Jorge Gil
9c7c48e4fb Merge "Run alignment logic of menu icons when the menu is created" into sc-dev am: bec99582ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13472373

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I242a210e5bfebbc653cc8675acd2f9eaf33169ca
2021-02-08 19:51:58 +00:00
Jorge Gil
bec99582ef Merge "Run alignment logic of menu icons when the menu is created" into sc-dev 2021-02-08 19:51:18 +00:00
Ben Lin
852a04c2da PiP: Better rotation angle calculation.
Bug: 178881304
Test: Manual
Change-Id: Ib63ef96a7b8771b2a920a25e44d8583dc584cf05
2021-02-05 16:29:06 -08:00
TreeHugger Robot
242670cc8c Merge "Update badge visibility on expand and collapse" into sc-dev am: 028348d871
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13441643

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iadae615f3b8fe4dc11ae46601cebc843683d8c60
2021-02-05 20:37:52 +00:00
TreeHugger Robot
028348d871 Merge "Update badge visibility on expand and collapse" into sc-dev 2021-02-05 20:30:51 +00:00
TreeHugger Robot
068116eb5e Merge "Enable kotlin tests in shell & fix some bubbles ones" into sc-dev am: e2215fc083
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13482710

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I08d6919cf8a39b05d70219c7ebbca4ad9941a709
2021-02-05 18:13:43 +00:00
TreeHugger Robot
e2215fc083 Merge "Enable kotlin tests in shell & fix some bubbles ones" into sc-dev 2021-02-05 17:53:09 +00:00
Lyn Han
c26a783646 Merge "Skip reorder animation while collapsing" into sc-dev am: fddf14356a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13442648

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ifea129c655f81beb93c4ef58d195dd133b23c68a
2021-02-05 15:05:38 +00:00
Lyn Han
fddf14356a Merge "Skip reorder animation while collapsing" into sc-dev 2021-02-05 15:01:03 +00:00
Ben Lin
a7b862c537 Merge "PiP: Pinch-resize auto to max size if it's pretty close to it." into sc-dev am: 563727df26
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13442885

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9c1cc573cb8209fb012fc5fc196003870f9ebdba
2021-02-05 03:00:36 +00:00
Ben Lin
563727df26 Merge "PiP: Pinch-resize auto to max size if it's pretty close to it." into sc-dev 2021-02-05 02:19:38 +00:00
TreeHugger Robot
6363030864 Merge "Disable split screen tests at 90 degrees" into sc-dev am: 7ff13b5213
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13473554

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I88a807b71363eded8620c43a7da01ff9ea1867f0
2021-02-05 01:28:16 +00:00
TreeHugger Robot
7ff13b5213 Merge "Disable split screen tests at 90 degrees" into sc-dev 2021-02-05 00:53:37 +00:00
TreeHugger Robot
943a8fd945 Merge "Log bubble package when available" into sc-dev am: 80f96120be
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13441716

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I385bf524f2cc554c182662418d483431fcabcbe6
2021-02-05 00:13:07 +00:00
TreeHugger Robot
80f96120be Merge "Log bubble package when available" into sc-dev 2021-02-05 00:08:45 +00:00
Evan Rosky
d277022c2a Merge "Add some more Protologs to Shell-side Transitions" into sc-dev am: 8277f84911
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13473347

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ifb9109359d82f6fd5e54260701883e4e41030f2f
2021-02-04 23:43:30 +00:00
Evan Rosky
8277f84911 Merge "Add some more Protologs to Shell-side Transitions" into sc-dev 2021-02-04 23:33:08 +00:00
TreeHugger Robot
f69986fa4d Merge "Save the notification group key on the bubble" into sc-dev am: 70b6c098ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13484220

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibb8779b1d7b01f8a552ed05e105d3de468274897
2021-02-04 23:21:42 +00:00
Ben Lin
eb03e58426 Merge "Add basic PiP Transition foundation." into sc-dev am: f3e2661602
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13420528

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia4c7809301d7ee12b3c18467a774742c8e118404
2021-02-04 23:19:33 +00:00
TreeHugger Robot
70b6c098ab Merge "Save the notification group key on the bubble" into sc-dev 2021-02-04 23:08:50 +00:00
Ben Lin
f3e2661602 Merge "Add basic PiP Transition foundation." into sc-dev 2021-02-04 22:40:43 +00:00
Lyn Han
5b68054c24 Merge "Log overflow bubble restoration after phone reboot" into sc-dev am: 5c87a1940c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13447707

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1de91dfe6307e84fef687741bca1768d405b9be6
2021-02-04 20:28:05 +00:00
Lyn Han
5c87a1940c Merge "Log overflow bubble restoration after phone reboot" into sc-dev 2021-02-04 20:17:40 +00:00
Chris Li
39c5dcecb7 Merge "Allow non-resizable apps in split-screen (9/n)" into sc-dev am: cab4131e77
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13465189

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7cf498ddd88ace18dbba8a3db11abc9e2e111dc6
2021-02-04 19:45:32 +00:00
Chris Li
cab4131e77 Merge "Allow non-resizable apps in split-screen (9/n)" into sc-dev 2021-02-04 19:40:51 +00:00
Mady Mellor
e108720aa0 Save the notification group key on the bubble
We don't need to persist this because any bubble created
from persisted bubbles in the overflow wouldn't have a
notification to match with it anyways.

Test: atest BubblesTest
Bug: 178620678
Change-Id: I005704cce0e7205e254e71578d40f931c496e8f5
2021-02-04 11:36:32 -08:00
Lyn Han
eb85caf13d Merge "Land bubbles softly" into sc-dev am: 11512218fd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13446893

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ica41405e14963895d606bf3f89c9848757475800
2021-02-04 17:51:09 +00:00
Mady Mellor
4b4036cfad Enable kotlin tests in shell & fix some bubbles ones
Test: these
Bug: 173408780
Change-Id: Iadbc436748e6421f7b1f9544d06f574a7cf1602e
2021-02-04 17:49:37 +00:00
Lyn Han
11512218fd Merge "Land bubbles softly" into sc-dev 2021-02-04 17:45:40 +00:00
Nataniel Borges
c21bbe248c Disable split screen tests at 90 degrees
Those tests are right now flaky on flame and cannot be used in presubmit

Bug: 175687842
Bug: 179116910
Test: atest WMShellFlickerTests
Change-Id: I5e1b3075a63695fed006b2fb134b826447cb8d0c
2021-02-04 09:46:23 +01:00
Tiger Huang
43e23d4556 Merge "Remove outFrame from the parameters of addWindow" into sc-dev am: cf1138d479
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13461435

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Icfd239b6f1de5ceb4406ab046b2d0817bf2030ab
2021-02-04 06:10:38 +00:00
Tiger Huang
cf1138d479 Merge "Remove outFrame from the parameters of addWindow" into sc-dev 2021-02-04 05:46:17 +00:00
jorgegil@google.com
42e039cd6a Run alignment logic of menu icons when the menu is created
The algorithm's icon arrangement logic was previously ran in
onBoundsChange, which could cause the icons to be misaligned
the very first time the menu is shown after being created.
This change ensures that the algorithm does an initial run
when the menu is first created.

Bug: 178708863
Test: manual - open YT PIP, tap to see menu, see the gear
icon is aligned to the top-start corner

Change-Id: I2cb53578db897af62be7ebd3ed40946e16606568
2021-02-03 14:52:35 -08:00
Wale Ogunwale
70cb47fc7c Merge "Prep work for exposing split-screen APIs to Launcher" into sc-dev am: 7ae91f9d0e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13454817

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic963b2b6bb5b927e492e574c574aeff0042e0366
2021-02-03 21:56:03 +00:00
Wale Ogunwale
7ae91f9d0e Merge "Prep work for exposing split-screen APIs to Launcher" into sc-dev 2021-02-03 20:33:35 +00:00
Ben Lin
5426e2ae47 Add basic PiP Transition foundation.
This adds the proper hook for framework to request PiP transition from
Shell and run the animation as needed. Currently only Enter using
3-finger navigation is supported, along with a KI that the PiP bounds
are not finalized at the end of the animation.

Bug: 165793917
Test: Enter PiP with ENABLE_SHELL_TRANSITIONS flag on

Change-Id: I0b992840ddcf8ddfcec9759a5cb06b630f1899a8
2021-02-03 10:34:17 -08:00
Evan Rosky
4146eb6af4 Add some more Protologs to Shell-side Transitions
Some more details about how local and remote transitions
are dispatched.

Bug: 172695387
Test: enable shell transitions and look at logs
Change-Id: I9edff6e43287514557b10b558a94c3300d835157
2021-02-03 17:38:11 +00:00
Jorge Gil
456f24df3f Merge "Only show Pip actions when menu is FULL (i.e. shown)" into sc-dev am: f2abb387f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13464839

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1e16844b1e4ffa7fbc6438b58ae4fc52074f6f62
2021-02-03 17:14:40 +00:00
Jorge Gil
f2abb387f5 Merge "Only show Pip actions when menu is FULL (i.e. shown)" into sc-dev 2021-02-03 17:02:58 +00:00
Wale Ogunwale
e3956ba87a Prep work for exposing split-screen APIs to Launcher
Bug: 179176511
Test: DragAndDropPolicyTest
Change-Id: Iff8e5df9df87779cf8a33430245fc5584928b33c
2021-02-03 08:27:33 -08:00
Tiger Huang
46252a4134 Remove outFrame from the parameters of addWindow
This CL moves computeWindowBounds to the client side. The client can use
it to compute the frame hint on its own.

This can be a step to make client compute its window frame locally.

Bug: 161810301
BUg: 175858823
Test: atest WindowAddRemovePerfTest ActivityRecordTests
            DisplayPolicyLayoutTests TaskSnapshotSurfaceTest
Change-Id: Ia5af1919b8e0e973646a63d1a4c3bf7ea7e2d1f6
2021-02-03 22:50:41 +08:00
Nataniel Borges
9238ae6e98 Merge "Disable flaky tests" into sc-dev am: c2e8b2c61c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13468327

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I413d6c1ef964428afd5652d6ac8caa5349b07d73
2021-02-03 13:19:51 +00:00
Bill Lin
3beefa9198 Disable flaky tests
These tests are flaky on both crosshatch and flame

Bug: 178447631
Test: atest WMShellFlickerTests
Change-Id: I084b91b3d7ab8ea28b7c70ad9bbeb69b873fbaa0
2021-02-03 10:54:11 +01:00
Nataniel Borges
5247c749bf Merge "Provides assertion blocks on Flicker" into sc-dev am: 7004ef2675
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13427510

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I960cecec325aede5b103c9c6125f00c972d57fa4
2021-02-03 08:17:27 +00:00
Nataniel Borges
aca219d923 Merge "Disable flaky tests" into sc-dev am: 04c8c54b15
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13447829

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia0ad211a40d357493b0a2b1eed6faaf850a0b459
2021-02-03 08:17:09 +00:00
Nataniel Borges
7004ef2675 Merge "Provides assertion blocks on Flicker" into sc-dev 2021-02-03 07:21:25 +00:00
Nataniel Borges
04c8c54b15 Merge "Disable flaky tests" into sc-dev 2021-02-03 07:21:10 +00:00
Chris Li
7dfa7106a9 Allow non-resizable apps in split-screen (9/n)
Cleanup SizeCompatModeActivityController

Bug: 176061101
Bug: 178327644
Test: pass existing
Change-Id: If4bb5e082976725b80bda5a95880a24201b6c595
2021-02-02 18:00:35 -08:00