Commit Graph

1906 Commits

Author SHA1 Message Date
Selim Cinek
f7930d1946 Merge "Always do the app reveal animation when dismissing the splash screen" into sc-dev am: bfa0487b7a am: 3e62cd77b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14934416

Change-Id: Ibbc4766f3f1de0d557df131baede066b1bbad5f7
2021-06-14 08:32:13 +00:00
Selim Cinek
3e62cd77b5 Merge "Always do the app reveal animation when dismissing the splash screen" into sc-dev am: bfa0487b7a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14934416

Change-Id: I4858516d5c5b9a1cb849fd34437666ed5a7392f4
2021-06-14 08:18:53 +00:00
Selim Cinek
bfa0487b7a Merge "Always do the app reveal animation when dismissing the splash screen" into sc-dev 2021-06-14 08:02:08 +00:00
TreeHugger Robot
846d138903 Merge "Skip onMovementBoundsChanged when waiting for fixed rotation" into sc-dev am: fe8d6de401 am: 783bb77e60
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14939513

Change-Id: I9fb285a92c2efe4d4732ce4119676f68f1b60a6f
2021-06-12 18:50:32 +00:00
TreeHugger Robot
783bb77e60 Merge "Skip onMovementBoundsChanged when waiting for fixed rotation" into sc-dev am: fe8d6de401
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14939513

Change-Id: Idcb8b6d58087d435f68e43130c7355ac7b88c33b
2021-06-12 18:34:11 +00:00
TreeHugger Robot
fe8d6de401 Merge "Skip onMovementBoundsChanged when waiting for fixed rotation" into sc-dev 2021-06-12 18:13:50 +00:00
Cyrus Boadway
bde6e09366 Merge "Include splashscreen background color in new starting window listener" into sc-dev am: 7deb3ba4d4 am: 046939e448
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14881305

Change-Id: I8f97b62f1da043298faac2edff60aa8b6bd8c23e
2021-06-12 17:39:48 +00:00
Cyrus Boadway
046939e448 Merge "Include splashscreen background color in new starting window listener" into sc-dev am: 7deb3ba4d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14881305

Change-Id: Ic0a629b3f7fd006fa3f9bdd38164b74209943bb8
2021-06-12 17:26:40 +00:00
Cyrus Boadway
7deb3ba4d4 Merge "Include splashscreen background color in new starting window listener" into sc-dev 2021-06-12 17:14:49 +00:00
TreeHugger Robot
c989a2172a Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-06-11 17:55:50 +00:00
Cyrus Boadway
e830abcc75 Include splashscreen background color in new starting window listener
Pass the starting window background color to starting window listeners.

Bug: 187706750
Test: Manual
Change-Id: I729df4afbf75540a60c6f2e288de80fc0b6d97dd
2021-06-11 10:07:15 +00:00
Bill Yi
4162039d32 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I984dc4628334c519511ea9bad6b63006cebf4e40
2021-06-11 09:52:41 +00:00
Bill Yi
20ac43d4e8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6ae305e3be95b968ceb46fdc371ca5fcd228df60
2021-06-11 09:51:07 +00:00
Jerry Chang
efffe25c1a Merge "Keep the task in main stage at top after dismissed split due to fold" into sc-v2-dev am: 7b8f6bf5b2 am: 3d46c32365
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14928714

Change-Id: I87a9a42b873c08f53c89c4e5df8b7795ff2078af
2021-06-11 04:09:39 +00:00
Jerry Chang
1aa448dbea Merge "Fix not updating split bounds after devices unfolded" into sc-v2-dev am: 11a26a5665 am: cd672f385e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14932975

Change-Id: I75e5beda71865a4a2bfcac323268a7ff027a22e2
2021-06-11 04:09:06 +00:00
Jerry Chang
3d46c32365 Merge "Keep the task in main stage at top after dismissed split due to fold" into sc-v2-dev am: 7b8f6bf5b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14928714

Change-Id: Ic8c5128144db028b74532c392ac9bfb5153f6311
2021-06-11 03:55:11 +00:00
Jerry Chang
cd672f385e Merge "Fix not updating split bounds after devices unfolded" into sc-v2-dev am: 11a26a5665
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14932975

Change-Id: Ie2f7e00b52eee7cbdac5f606f6c4334f4c34dfa8
2021-06-11 03:53:46 +00:00
wilsonshih
192aef77d7 Always do the app reveal animation when dismissing the splash screen
Let empty-style splash screen do reveal animation.
Also remove the extra animation duration if the icon is empty.

Bug: 190695897
Bug: 190695665
Test: manual
Test: atest SplashscreenTests
Change-Id: I8b3b52369c12fbddc32af8c40f37650cc84a88dd
2021-06-11 11:34:33 +08:00
Jerry Chang
7b8f6bf5b2 Merge "Keep the task in main stage at top after dismissed split due to fold" into sc-v2-dev 2021-06-11 03:29:00 +00:00
Jerry Chang
11a26a5665 Merge "Fix not updating split bounds after devices unfolded" into sc-v2-dev 2021-06-11 03:26:28 +00:00
Ben Lin
e8c5677e16 Merge "PiP: Introduce PipTransitionState." into sc-v2-dev am: e9d456b056 am: d60ba5ca23
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14687499

Change-Id: Idd4ef64a940ae231599df0410926a3c762d86f4f
2021-06-10 21:55:51 +00:00
Ben Lin
d60ba5ca23 Merge "PiP: Introduce PipTransitionState." into sc-v2-dev am: e9d456b056
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14687499

Change-Id: Idb0e54f74fed6d6421a4d3d9578fed9f67ddb94e
2021-06-10 21:55:19 +00:00
Ben Lin
e9d456b056 Merge "PiP: Introduce PipTransitionState." into sc-v2-dev 2021-06-10 21:45:25 +00:00
Hongwei Wang
48a0820666 Skip onMovementBoundsChanged when waiting for fixed rotation
When entering PiP from landscape mode with non-default aspect ratio, the
onMovementBoundsChanged callback will try to reset the surface with the
default bounds. Skip it if we are waiting for fixed rotation to be
completed, similar to the exiting swipe-pip-to-home check.

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/cTmovQdIAyqu5rCrJGtf0q
Bug: 190651955
Test: follow the reproduce steps, see video
Change-Id: I71a427351f5e080b4307ebe0a30659a3617d4a58
2021-06-10 12:36:09 -07:00
Jerry Chang
825e8efc2f Keep the task in main stage at top after dismissed split due to fold
Fix: 189333036
Fix: 189723946
Bug: 188010345
Test: atest WMShellUnitTests
Test: trigger staged split, the task in main stage will remain at top
after dismissed split due to fold.

Change-Id: If2a795bed7073efcea70129e62aacdaad3efa602
2021-06-10 09:34:16 +00:00
Jerry Chang
2af1cde04d Fix not updating split bounds after devices unfolded
When the default display changed due to unfolded the device, the split
root tasks might be changed to invisible before reporting display info
changed to split component. This causing the split component didn't
update split layout due to the divider bar is not "initialized" after
released with stage roots changed to invisible.

This makes sure to update split layout while the split is activated no
matter the divider bar is initialized or not.

Fix: 189726605
Test: atest WMShellUnitTests
Test: check the split bounds updated properly after the device unfolded.
Change-Id: I722b08116a97b8482ea6e25b60ffe71005076cd7
2021-06-10 09:30:11 +00:00
Tiger Huang
69ea93aea0 Merge "Defer dispatching insets to app if its window frame will be changed soon" into sc-dev am: 50ae7cbf1b am: 4586f92923
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14881021

Change-Id: Id063a13b6f41715e0e5256c2122dcc9820c34603
2021-06-10 08:27:18 +00:00
Tiger Huang
0667ac5b91 Merge "Defer dispatching insets to app if its window frame will be changed soon" into sc-dev am: 50ae7cbf1b am: d0c6024002
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14881021

Change-Id: Ie99d5ce746f009423f0e84c375dc801f34fb8b6d
2021-06-10 08:26:00 +00:00
Tiger Huang
be91de455b Merge "Defer dispatching insets to app if its window frame will be changed soon" into sc-dev am: 50ae7cbf1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14881021

Change-Id: I7377340b7fedc22df682ffbd9675fc5109a506a3
2021-06-10 08:13:42 +00:00
Tiger Huang
d0c6024002 Merge "Defer dispatching insets to app if its window frame will be changed soon" into sc-dev am: 50ae7cbf1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14881021

Change-Id: Icd7ace03da717ab1d9d98460c3b86a1b884c9192
2021-06-10 08:12:14 +00:00
Tiger Huang
4586f92923 Merge "Defer dispatching insets to app if its window frame will be changed soon" into sc-dev am: 50ae7cbf1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14881021

Change-Id: Ifba48a864d7090a46cb300df2ecb567eedc619de
2021-06-10 08:12:08 +00:00
Tiger Huang
50ae7cbf1b Merge "Defer dispatching insets to app if its window frame will be changed soon" into sc-dev 2021-06-10 07:55:53 +00:00
Mady Mellor
bed8ff2d09 Merge "Collapse the stack on clicks rather than on down" into sc-dev am: fd4a4a3ee5 am: abfba98a67
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14850318

Change-Id: I598b1b445e9de98686f46e8741d130a74fab5032
2021-06-09 18:49:57 +00:00
Winson Chung
7332701c2a Merge "Fix for IME exclusions not working with expanded bubble" into sc-dev am: 24de1aa861 am: 65540bc717
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14912906

Change-Id: I75e178b782497441210851ba4d32f52d161531e1
2021-06-09 18:49:50 +00:00
Mady Mellor
72cf461617 Merge "Collapse the stack on clicks rather than on down" into sc-dev am: fd4a4a3ee5 am: 302ab063ec
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14850318

Change-Id: Ibe9d8df4cbf6a6701fa135426eaf2e2cfdd25fe1
2021-06-09 18:46:32 +00:00
Winson Chung
4e1f3d0241 Merge "Fix for IME exclusions not working with expanded bubble" into sc-dev am: 24de1aa861 am: 63ab670350
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14912906

Change-Id: If7539ea66f487de0a30125e39d2346f1d83eb592
2021-06-09 18:45:48 +00:00
Mady Mellor
6de08c6165 Merge "Collapse the stack on clicks rather than on down" into sc-dev am: fd4a4a3ee5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14850318

Change-Id: I5705a6db65605c7b3c7ecba0164aa7c959891cd3
2021-06-09 18:05:26 +00:00
Winson Chung
a9e03e665d Merge "Fix for IME exclusions not working with expanded bubble" into sc-dev am: 24de1aa861
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14912906

Change-Id: Id2dc2b634af4609b4b9b8f102ca4f17247c6f032
2021-06-09 18:04:25 +00:00
Mady Mellor
abfba98a67 Merge "Collapse the stack on clicks rather than on down" into sc-dev am: fd4a4a3ee5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14850318

Change-Id: If46c3cc3c71058511b55c3abc99375ddda1d354a
2021-06-09 18:04:12 +00:00
Winson Chung
65540bc717 Merge "Fix for IME exclusions not working with expanded bubble" into sc-dev am: 24de1aa861
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14912906

Change-Id: If74b1c6bd99a2b2953e4b4dec8af876fb422eb5f
2021-06-09 18:03:57 +00:00
Mady Mellor
302ab063ec Merge "Collapse the stack on clicks rather than on down" into sc-dev am: fd4a4a3ee5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14850318

Change-Id: Ic6001c06bd9ef857554224f5559701b1675c6851
2021-06-09 18:03:45 +00:00
Winson Chung
63ab670350 Merge "Fix for IME exclusions not working with expanded bubble" into sc-dev am: 24de1aa861
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14912906

Change-Id: Idcae736e4aa2cd8b1c433e635edb16783424d177
2021-06-09 18:03:29 +00:00
Mady Mellor
fd4a4a3ee5 Merge "Collapse the stack on clicks rather than on down" into sc-dev 2021-06-09 17:46:55 +00:00
Winson Chung
24de1aa861 Merge "Fix for IME exclusions not working with expanded bubble" into sc-dev 2021-06-09 17:35:35 +00:00
Winson Chung
9f6c43e65c Fix for IME exclusions not working with expanded bubble
- Technically the IME window is above the Bubble window, but when
  traversing the windows top-down for calculating the final exclusion
  region for SysUI, the IME is placed just above its target (the
  embedded task), and the Bubble's full touchable region effectively
  overrides the IME's requested exclusion region

Fixes: 190338512
Test: Expand a bubble, swipe from IME edge
Change-Id: Idd71eabfaba1be4bc6fc90d09db28d3f9e9106c5
2021-06-09 17:34:58 +00:00
Riddle Hsu
4500c8e35b Merge "Fix inverted vertical offset of entering rotated PiP" into sc-dev am: 7f38c6c3a4 am: 5d36efa378
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14881023

Change-Id: Id6922893da637ad81926596e37c5bdb32f0c8b22
2021-06-09 17:22:27 +00:00
Riddle Hsu
8352b14aab Merge "Fix inverted vertical offset of entering rotated PiP" into sc-dev am: 7f38c6c3a4 am: cf28b411bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14881023

Change-Id: I7f30277a566ab926835d9b1c4e02c8a633b63b0e
2021-06-09 17:21:49 +00:00
Riddle Hsu
cf28b411bf Merge "Fix inverted vertical offset of entering rotated PiP" into sc-dev am: 7f38c6c3a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14881023

Change-Id: I617c5700a1b1c6b63b9c805dffd4f47ce4cbf760
2021-06-09 17:08:52 +00:00
Riddle Hsu
890099cb20 Merge "Fix inverted vertical offset of entering rotated PiP" into sc-dev am: 7f38c6c3a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14881023

Change-Id: Ie035c1bdb3cd8e4069874c08a7c1e219023725ec
2021-06-09 17:07:25 +00:00
Riddle Hsu
5d36efa378 Merge "Fix inverted vertical offset of entering rotated PiP" into sc-dev am: 7f38c6c3a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14881023

Change-Id: If1fae15a883381ca4d470c7d77a4cecc2268a4d3
2021-06-09 17:05:05 +00:00