Commit Graph

6175 Commits

Author SHA1 Message Date
Galia Peycheva
69079b467d Merge "Fix TV pip menu edu text hidden too soon" 2022-10-05 08:06:19 +00:00
Ikram Gabiyev
330c3b3ca3 Add flicker test for pinch out pip screen resizing
Create a helper class for injecting a pinching gesture
and use it pinch out to a pip window in a flicker test.
Make pip window area increases during the animation.

Test: atest WMShellFlickerTests:ExpandPipOnPinchOpenTest

Bug: 178407318
Change-Id: I0e3dc3d78cdcafcf1dff380d76d1bea4cf629f65
2022-10-04 18:19:48 +00:00
Winson Chung
373b3c4043 Merge "Clean up some methods on the Pip interface" into tm-qpr-dev am: ddc26a33f8 am: 9ab3a24cf3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20106676

Change-Id: Ibba2686645c4b9bafe5fbff59a1fa26e4a8bcd61
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-04 17:30:12 +00:00
Winson Chung
4f167bfb6b Merge "Move kids task organizer to handheld package" into tm-qpr-dev am: da1e890ff0 am: b6c7d1c8b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20106675

Change-Id: I2019af2ead6d59714a32074b706fb6bff003263c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-04 17:28:11 +00:00
Winson Chung
9ab3a24cf3 Merge "Clean up some methods on the Pip interface" into tm-qpr-dev am: ddc26a33f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20106676

Change-Id: Ieae64d00bae24bcc52c7beba986da91a1f4ff355
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-04 17:19:50 +00:00
Winson Chung
b6c7d1c8b0 Merge "Move kids task organizer to handheld package" into tm-qpr-dev am: da1e890ff0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20106675

Change-Id: I890e575f8152569c29ed169619b2d04c41117c9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-04 17:19:07 +00:00
Pablo Gamito
61a60c1524 Merge "Promote stable Flicker tests" 2022-10-04 15:31:15 +00:00
Galia Peycheva
0f4d28bf3d Merge "Fix tv pip killed on configuration changed" 2022-10-04 15:29:27 +00:00
Galia Peycheva
59405621f2 Fix tv pip killed on configuration changed
Bug: 246954854
Test: manual - change language and see PiP is still there
Change-Id: I8d984060c67b385d43c3c84b2289e8186dcd263e
2022-10-04 13:55:32 +02:00
Pablo Gamito
1a86eef7f8 Promote stable Flicker tests
Bug: 228012334
Bug: 240499181
Bug: 227313015
Bug: 197726610
Bug: 239807171

Test: N/A
Change-Id: I057422a547e3f75ef398996c542c9753a0968a60
2022-10-04 11:42:44 +00:00
Nataniel Borges
9756b369cc Merge "Fix code formatting according to ktfmt rules" 2022-10-04 09:37:19 +00:00
Winson Chung
5414dab01e Clean up some methods on the Pip interface
- Remove some pip methods that aren't used from SysUI
- Migrate an old ISystemUIProxy pip call to IPip

Bug: 238217847
Test: atest WMShellUnitTests
Change-Id: Iab57329a9d79704b0e35fdb22a36594aa4368141
2022-10-04 04:39:33 +00:00
Nataniel Borges
12fafeeb6c Ensure lock screen is enabled in swipe mode at the start of the test
Test: atest FlickerLibTest && atest FlickerTests
Change-Id: Idd324fbf9c0697cb4af341e1288fdcb021ed1d86
2022-10-03 20:07:04 +00:00
Nataniel Borges
9d7d75873c Fix code formatting according to ktfmt rules
Bug: 246905204
Test: atest FlickerTests WMShellFlickerTests
Change-Id: I1192107a280eb5b068f9da4ba5b92092496351a2
2022-10-03 16:37:37 +00:00
Nataniel Borges
173e7c2da4 Merge "Cleanup, remove unused objects" 2022-10-03 15:53:46 +00:00
Nataniel Borges
ec4ddde37c Cleanup, remove unused objects
Test: atest FlickerLibTest && atest FlickerTests
Change-Id: I62a941eac06f820ed00968a07cdbd74041b12391
2022-10-03 13:17:02 +00:00
Pablo Gamito
157d611642 Demote 15%+ flaky tests on Raven from Presubmit
Test: atest FlickerTests WMShellFlickerTests
Change-Id: Ib3ca65e63b189739cba3fbd9c54b575f1afbe6cb
2022-10-03 12:19:25 +00:00
Nataniel Borges
a04e44c89c Demote failing flame presubmit tests
Bug: 247464794
Bug: 241525302
Bug: 241524174
Bug: 249308003
Test: atest FlickerTests WMShellFlickerTests
Change-Id: I61d24e5d1c5162cd4755b807725c4bda6ce7b718
2022-10-03 09:51:14 +00:00
Arthur Hung
12421fe92e Merge changes from topic "refactor_back"
* changes:
  Migrate back animation to shell transition
  Add show wallpaper feature for back navigation
  Refactor back navigation animtion (1/2)
2022-10-03 08:15:51 +00:00
Bill Yi
0fc729b892 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-10-02 06:19:47 +00:00
TreeHugger Robot
db0a8636b7 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-10-01 02:39:51 +00:00
Winson Chung
1c48aa1290 Move kids task organizer to handheld package
Bug: 238217847
Test: mp sysuig
Change-Id: Idee19d16fdea9811044bd47bf6e63c6674cbb470
2022-09-30 23:47:33 +00:00
TreeHugger Robot
b530b79065 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-09-30 21:51:40 +00:00
Winson Chung
35c9fed8c0 Merge "Add config for registering shell task organizer" into tm-qpr-dev am: 94bd703e56 am: d5102e860d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20077930

Change-Id: I9452ebc0f44f0751d14bd5b1addfd42511d8d1d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-30 03:51:36 +00:00
Winson Chung
d5102e860d Merge "Add config for registering shell task organizer" into tm-qpr-dev am: 94bd703e56
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20077930

Change-Id: I75e98c47efabeb459b8ec986e76f8cb4fe927b98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-30 03:21:18 +00:00
Winson Chung
94bd703e56 Merge "Add config for registering shell task organizer" into tm-qpr-dev 2022-09-30 03:05:35 +00:00
Chris Li
19397f0ad8 Merge "Crop embedded split TaskFragment as Task" into tm-qpr-dev am: be74f343db am: 32a303a387
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20018410

Change-Id: I27bacae7cee558d8228640fa945cbeee818fe893
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-30 01:45:28 +00:00
Chris Li
ee15019c4d Merge "Implement ActivityEmbedding Shell transition animation with showBackdrop" into tm-qpr-dev am: b4354df3e7 am: 40626cb4f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19975772

Change-Id: I1c9f8688fa621073576e7cdd6db6938294ce852a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-30 01:44:24 +00:00
Chris Li
32a303a387 Merge "Crop embedded split TaskFragment as Task" into tm-qpr-dev am: be74f343db
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20018410

Change-Id: I70b6bf5a2c910726ad814e81aca1e540ee40eada
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-30 01:15:10 +00:00
Chris Li
40626cb4f6 Merge "Implement ActivityEmbedding Shell transition animation with showBackdrop" into tm-qpr-dev am: b4354df3e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19975772

Change-Id: I28e3f1e4fed0b86de26d602d678ef08150dda1df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-30 01:13:13 +00:00
Chris Li
be74f343db Merge "Crop embedded split TaskFragment as Task" into tm-qpr-dev 2022-09-30 00:48:19 +00:00
Chris Li
b4354df3e7 Merge "Implement ActivityEmbedding Shell transition animation with showBackdrop" into tm-qpr-dev 2022-09-30 00:47:59 +00:00
Winson Chung
2da6ee0d27 Add config for registering shell task organizer
- This should be temporary until we resolve b/238217847 to not
  initialize base WM components unless requested to do so

Bug: 238217847
Test: Manual
Change-Id: I205a8e457f12924f797a5cd1a34e499e7efe5a04
2022-09-29 20:36:26 +00:00
Bill Yi
687f62e360 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0d132b2f74838172e9ffbb32df0cd5df3921ab6c
2022-09-29 12:23:51 -07:00
Bill Yi
b6e052c837 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3a13ce2c028567eecae89203b7be96df10247f48
2022-09-29 12:21:38 -07:00
Bill Yi
3c270f2ac1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib77ed5835ae9a8f6d233b4c5e4f0f16469271d43
2022-09-29 12:17:26 -07:00
Chilun Huang
13ce967748 Merge "Fix EnterSplitScreenByDragFromAllApps in tablet" 2022-09-29 15:45:01 +00:00
Chilun Huang
370f21a19e Fix EnterSplitScreenByDragFromAllApps in tablet
Update the validation of the secondary app trasition.

Bug: 242698835
Bug: 245472831
Test: atest WMShellFlickerTests:EnterSplitScreenByDragFromAllApps
Change-Id: I6669fd55f7098e560a79585870372bb7e0152cdf
2022-09-29 19:08:49 +08:00
Arthur Hung
5c85e5b6c0 Migrate back animation to shell transition
When back animation finished, it will invoke the real back callback and
cause a new transition started.

In this CL, we introduce the back transition handler to consume the
incoming transition request and takeover the whole transition if the
transition info contians same departing window token.

This also seperated the behaviors of enabled/disabled shell
transition.

Bug: 238475694
Test: Enabled shell transition, atest BackNavigationControllerTests
      BackAnimationControllerTest
Change-Id: I57e7c89ce6cb7a99ab3af403704b9dd948f26151
2022-09-29 01:54:55 +00:00
Arthur Hung
8fcc92bb34 Refactor back navigation animtion (1/2)
In previous design, it would create all necessary leashes when starting
back navigation, and they would be carried by `BackNavigationInfo` and
`BackEvent` and would finally deliver to the shell and animator side.

In this CL, we will use the adapter that wraps a back animation runner
to deliver all leashes in next surface placement after back navigation
has started.

In shell side, every animator should be registered by type, so the
adapter could deliver leashes via IRemoteAnimationRunner to the
target animator, and invoke callback when it finished.

This also eliminated all unecessary fields from `BackNavigationInfo` and
`BackEvent`.

Bug: 241808055
Test: atest BackNavigationControllerTests BackAnimationControllerTest
      BackNavigationTest
Change-Id: I8bbec0d8d9631110c3d2788d958b50ae487520a7
2022-09-29 01:21:37 +00:00
Matt Sziklay
a98d566231 Merge "Exit desktop mode on dragging a task to the top of the screen." into tm-qpr-dev am: 990a07fadf am: 57b0266b91
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20030164

Change-Id: I263cae94231e8eb84de87fea57f4a6f6100213f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-29 00:27:32 +00:00
Matt Sziklay
57b0266b91 Merge "Exit desktop mode on dragging a task to the top of the screen." into tm-qpr-dev am: 990a07fadf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20030164

Change-Id: If15fb1a7e3e4527b55495467745810e1fb98982e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-28 23:54:00 +00:00
Matt Sziklay
990a07fadf Merge "Exit desktop mode on dragging a task to the top of the screen." into tm-qpr-dev 2022-09-28 23:30:28 +00:00
Mateusz Cicheński
1fc3023852 Merge "Refactor isAnimating to PipAnimationController, and update references." into tm-qpr-dev am: 5e05a02c9c am: 3dfcf6c0b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20002275

Change-Id: I7a83223ffa454eeafe9b3116a34bcc0587cecb68
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-28 20:16:27 +00:00
Mateusz Cicheński
3dfcf6c0b6 Merge "Refactor isAnimating to PipAnimationController, and update references." into tm-qpr-dev am: 5e05a02c9c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20002275

Change-Id: I5c4a2abf0453b9694ec9e05bc4057cc5992e922a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-28 19:42:21 +00:00
Mateusz Cicheński
5e05a02c9c Merge "Refactor isAnimating to PipAnimationController, and update references." into tm-qpr-dev 2022-09-28 18:42:31 +00:00
mattsziklay
ba89ef9531 Exit desktop mode on dragging a task to the top of the screen.
This CL is part of the effort to implement desktop mode changes based on
drag gestures.

Bug: 247551213
Test: Drag a freeform task to the status bar area, confirm it exits
desktop mode for all tasks.

Change-Id: I44c147a4187466f98ab8f15e0bb050a56fbbe415
2022-09-28 10:41:48 -07:00
Nick Chameyev
872ee1fe11 Merge "[Partial Screensharing] Implement loading of recent tasks, thumbnails and icons" into tm-qpr-dev am: 8504f8c843 am: 86951ca520
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20024785

Change-Id: I73138306061dad6f7ba054634aa312f96777cac1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-28 10:40:26 +00:00
Nick Chameyev
86951ca520 Merge "[Partial Screensharing] Implement loading of recent tasks, thumbnails and icons" into tm-qpr-dev am: 8504f8c843
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20024785

Change-Id: If079e06abe02752bbfb7c13a71c3b87cc087a008
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-28 10:08:24 +00:00
Nick Chameyev
8504f8c843 Merge "[Partial Screensharing] Implement loading of recent tasks, thumbnails and icons" into tm-qpr-dev 2022-09-28 09:46:56 +00:00