Commit Graph

1820 Commits

Author SHA1 Message Date
TreeHugger Robot
2effcd4900 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-06-08 04:46:37 +00:00
Selim Cinek
813658a866 Merge "Improved the behavior of overscroll" into sc-dev am: 2b10a16208 am: 9e14be6ef1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14807585

Change-Id: Ibac18a60c9e909ed728e435962e0496a2d648fe9
2021-06-07 18:33:48 +00:00
Selim Cinek
9e14be6ef1 Merge "Improved the behavior of overscroll" into sc-dev am: 2b10a16208
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14807585

Change-Id: I256a2292764664484d1f7f7d0fe3b8139c55c96a
2021-06-07 18:19:03 +00:00
Selim Cinek
2b10a16208 Merge "Improved the behavior of overscroll" into sc-dev 2021-06-07 18:12:40 +00:00
Bill Yi
7c0e324e95 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I908fc392a60c3ab9d7a6fa1b3effbdb2bd8edf08
2021-06-07 12:10:29 +00:00
Bill Yi
b2cfa6daa1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4fba735c6a5a7edc040fe34b907830a99ec1eca6
2021-06-07 12:09:05 +00:00
Selim Cinek
40cebe4468 Improved the behavior of overscroll
The overscroll logic could get stuck previously, which lead to
a forehead visible on the lock screen.
This improves the logic and animation to look much better.

Fixes: 190029393
Test: expand shade, observe nice overshoot, no forehead on lockscreen
Change-Id: I2c9d5313626d3037c7bd3c942820c391da99b459
2021-06-07 13:12:29 +02:00
Mady Mellor
f4575967ca Merge changes I5c096c2b,If0d0d86b into sc-dev am: 73eb2771f8 am: 98c386a401 am: 9d599f0f0f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14751471

Change-Id: I941dd165c06d389b98c98a653212829617ca4dc7
2021-06-04 20:19:31 +00:00
Mady Mellor
9d599f0f0f Merge changes I5c096c2b,If0d0d86b into sc-dev am: 73eb2771f8 am: 98c386a401
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14751471

Change-Id: Ia8d9eb3e8d23a94495a66f4698237a00e5d6e7a7
2021-06-04 20:03:41 +00:00
Mady Mellor
98c386a401 Merge changes I5c096c2b,If0d0d86b into sc-dev am: 73eb2771f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14751471

Change-Id: Ib5743c5f8f200d904573eff541667b645f33bbf1
2021-06-04 19:50:11 +00:00
Mady Mellor
2c864a2275 Merge changes I5c096c2b,If0d0d86b into sc-dev am: 73eb2771f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14751471

Change-Id: I813191f3caa54ccb08212524ccab49e2a7317a77
2021-06-04 19:48:28 +00:00
Mady Mellor
73eb2771f8 Merge changes I5c096c2b,If0d0d86b into sc-dev
* changes:
  PIP dismiss updates
  Bubble dismiss updates
2021-06-04 19:29:15 +00:00
Winson Chung
1de4c3f418 PIP dismiss updates
* orders the target below the PIP surface
* adds scale relative to the dismiss target size when PIP is in
  the target

Test: manual - get a pip, drag it to dismiss => it appears on top of
               the circle and then animates away with it
             - get a pip, make it larger with 2 finger gesture,
               drag it to dismiss => it appears on top of the circle
               and fits nicely in the circle bounds
Bug: 183657564
Change-Id: I5c096c2b5f41a667df37b4c6668c4862a212c7e2
2021-06-03 10:16:53 -07:00
Mady Mellor
9254393aa5 Bubble dismiss updates
- large colored circle, uses same accent color that launcher
  has for remove / uninstall
- added a shrink animation for the target when the bubble is
  stuck via the magnet
- no longer desaturate the bubble being dismissed but rather add
  a bit of an alpha

Bug: 183657564
Test: manual - get a bubble, drag it around & dismiss it, notice
               the animation
Change-Id: If0d0d86b7389f0fa3314598266cd83ecabdc6a9b
2021-06-03 10:16:36 -07:00
Adithya Srinivasan
5179933d6a Merge "Add TaskSurfaceHelper/Controller in WMShell to plumb game mode to SF" into sc-dev am: c6273f7f15
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14687471

Change-Id: I78361faa7f6726a4540e5d2d0114cc3bdd48bd12
2021-06-03 07:06:40 +00:00
Wei Sheng Shih
ea37061584 Merge "Consolidate the starting surface icon size to framework" into sc-dev am: a7fb25ba8a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14609920

Change-Id: I3e479e64785390cab98667c43f8066770d8e0ff4
2021-06-03 06:49:47 +00:00
TreeHugger Robot
2087be9526 Merge "ViewRootImpl: Correct opaque flag usage" into sc-dev am: a731c9f3f9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14724164

Change-Id: I8d17d2547828e3dfcbc382accefcad3e50d789c3
2021-06-03 06:49:39 +00:00
TreeHugger Robot
840c57d359 Merge "Add an extra colored layer when animating launches (1/2)" into sc-dev am: d17c68d57c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14679830

Change-Id: I96ac327e582d9e2069fe8a43913954a5d80dbb62
2021-06-03 06:35:47 +00:00
Mady Mellor
0b4c15a2cc Merge "Hide the stack education view when user taps" into sc-dev am: cdfc535609
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14753038

Change-Id: I9ea337f2b0faf4d2364abb1ea84f37042c2bff54
2021-06-03 06:32:00 +00:00
Adithya Srinivasan
0099c0b7d6 Merge "Add TaskSurfaceHelper/Controller in WMShell to plumb game mode to SF" into sc-dev am: c6273f7f15 am: ef3378bcea am: e79bf55181
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14687471

Change-Id: I94e56e59305e5766ee7f080178e5ef34f3b7bc1d
2021-06-02 22:41:05 +00:00
Adithya Srinivasan
e79bf55181 Merge "Add TaskSurfaceHelper/Controller in WMShell to plumb game mode to SF" into sc-dev am: c6273f7f15 am: ef3378bcea
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14687471

Change-Id: Ie183002c5df4ae0499e640b23ee06f0119cccfc1
2021-06-02 22:20:50 +00:00
Adithya Srinivasan
53d7213bfe Merge "Add TaskSurfaceHelper/Controller in WMShell to plumb game mode to SF" into sc-dev am: c6273f7f15
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14687471

Change-Id: I13a5b08139e100f01831557bdb9c861f506d52b2
2021-06-02 22:19:05 +00:00
Adithya Srinivasan
ef3378bcea Merge "Add TaskSurfaceHelper/Controller in WMShell to plumb game mode to SF" into sc-dev am: c6273f7f15
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14687471

Change-Id: Icffe60b23c8bc8861dec5d66fdb627f98dbbb438
2021-06-02 22:02:33 +00:00
Adithya Srinivasan
c6273f7f15 Merge "Add TaskSurfaceHelper/Controller in WMShell to plumb game mode to SF" into sc-dev 2021-06-02 22:00:09 +00:00
Wei Sheng Shih
d9de3723f2 Merge "Consolidate the starting surface icon size to framework" into sc-dev am: a7fb25ba8a am: c59c9c6664 am: f3c2beadd3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14609920

Change-Id: Ia1abfdf0991f1923586b546b45c17c606dda98af
2021-06-02 10:40:38 +00:00
TreeHugger Robot
138f801a71 Merge "ViewRootImpl: Correct opaque flag usage" into sc-dev am: a731c9f3f9 am: 0c7c150922 am: 1b0b9a026d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14724164

Change-Id: Ifc7214df8aae02f7a367a8bb3be21e667476a314
2021-06-02 10:40:08 +00:00
Wei Sheng Shih
f3c2beadd3 Merge "Consolidate the starting surface icon size to framework" into sc-dev am: a7fb25ba8a am: c59c9c6664
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14609920

Change-Id: Ifc745bd2328b18069797766801f3e82aae825f0c
2021-06-02 10:23:40 +00:00
TreeHugger Robot
1b0b9a026d Merge "ViewRootImpl: Correct opaque flag usage" into sc-dev am: a731c9f3f9 am: 0c7c150922
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14724164

Change-Id: Ic8df8d27c2d0d17a16b05cfc94bc080f8c773076
2021-06-02 10:23:31 +00:00
Wei Sheng Shih
c59c9c6664 Merge "Consolidate the starting surface icon size to framework" into sc-dev am: a7fb25ba8a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14609920

Change-Id: I2a553ec07c58fb2bbcb494aedfa9d2ae947944f6
2021-06-02 10:08:06 +00:00
Wei Sheng Shih
46ebf0b300 Merge "Consolidate the starting surface icon size to framework" into sc-dev am: a7fb25ba8a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14609920

Change-Id: Id09e82e22b949fc21b421791e9a22e276ddc09b1
2021-06-02 10:07:22 +00:00
Wei Sheng Shih
a7fb25ba8a Merge "Consolidate the starting surface icon size to framework" into sc-dev 2021-06-02 10:00:20 +00:00
TreeHugger Robot
5175cde31c Merge "ViewRootImpl: Correct opaque flag usage" into sc-dev am: a731c9f3f9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14724164

Change-Id: I3fe20ae36152271ed1710f0e7847fe7b1f26eca7
2021-06-02 09:54:59 +00:00
TreeHugger Robot
0c7c150922 Merge "ViewRootImpl: Correct opaque flag usage" into sc-dev am: a731c9f3f9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14724164

Change-Id: Ib192fe790f96bf3224ba89240785f1255c368891
2021-06-02 09:52:28 +00:00
TreeHugger Robot
a731c9f3f9 Merge "ViewRootImpl: Correct opaque flag usage" into sc-dev 2021-06-02 09:28:33 +00:00
TreeHugger Robot
0bda7c8336 Merge "Add an extra colored layer when animating launches (1/2)" into sc-dev am: d17c68d57c am: aab741ec4f am: 80e9c47358
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14679830

Change-Id: I68623eaa4f381c7b5d1a7356ebf7f0150aeea77f
2021-06-01 21:40:19 +00:00
TreeHugger Robot
80e9c47358 Merge "Add an extra colored layer when animating launches (1/2)" into sc-dev am: d17c68d57c am: aab741ec4f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14679830

Change-Id: I22bf3b1269ce47c4c02d7339f81b45bfb44628ed
2021-06-01 21:20:39 +00:00
Mady Mellor
72500c81e8 Merge "Hide the stack education view when user taps" into sc-dev am: cdfc535609 am: 938929c329 am: ab34e9bfae
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14753038

Change-Id: Icfecb552abaeb9999798c319b3df5c3486649f11
2021-06-01 21:04:50 +00:00
TreeHugger Robot
8d16b0a65e Merge "Add an extra colored layer when animating launches (1/2)" into sc-dev am: d17c68d57c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14679830

Change-Id: Ia85dcb64a064abb471e144339eb69807cb8e5224
2021-06-01 20:55:38 +00:00
TreeHugger Robot
aab741ec4f Merge "Add an extra colored layer when animating launches (1/2)" into sc-dev am: d17c68d57c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14679830

Change-Id: I2b50de4828b797dac706feb5d298030a11c76b59
2021-06-01 20:55:16 +00:00
TreeHugger Robot
d17c68d57c Merge "Add an extra colored layer when animating launches (1/2)" into sc-dev 2021-06-01 20:44:38 +00:00
Mady Mellor
ab34e9bfae Merge "Hide the stack education view when user taps" into sc-dev am: cdfc535609 am: 938929c329
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14753038

Change-Id: I2ebefd6af194cdada9536d41871fd7c9555f103c
2021-06-01 20:43:21 +00:00
Mady Mellor
938929c329 Merge "Hide the stack education view when user taps" into sc-dev am: cdfc535609
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14753038

Change-Id: I6bb25986c9a5b22bb8674e97cc63c3a36a3e8127
2021-06-01 19:42:24 +00:00
Mady Mellor
71a1b526dd Merge "Hide the stack education view when user taps" into sc-dev am: cdfc535609
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14753038

Change-Id: Ie402fc72dce4e6164a236d28406859afadd01c86
2021-06-01 19:42:17 +00:00
Mady Mellor
cdfc535609 Merge "Hide the stack education view when user taps" into sc-dev 2021-06-01 19:35:46 +00:00
Wei Sheng Shih
9b6a709754 Merge "Ensure no starting window leak in WMShell before adding." into sc-dev am: a1195c85c7 am: 4244ff3aa8 am: bc0d2d0814
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14341155

Change-Id: Icdd657bdacbfd986cbdaf3cd624f50df3370b391
2021-06-01 09:11:25 +00:00
Wei Sheng Shih
bc0d2d0814 Merge "Ensure no starting window leak in WMShell before adding." into sc-dev am: a1195c85c7 am: 4244ff3aa8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14341155

Change-Id: I0b26907e4ee34e87d28f5038d983b492ac2c8d0b
2021-06-01 08:47:02 +00:00
Wei Sheng Shih
4244ff3aa8 Merge "Ensure no starting window leak in WMShell before adding." into sc-dev am: a1195c85c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14341155

Change-Id: Ic806e0c7dd36a2c1f7f7b1180fe2d0869b95bf85
2021-06-01 08:25:05 +00:00
Wei Sheng Shih
04cd638d0b Merge "Ensure no starting window leak in WMShell before adding." into sc-dev am: a1195c85c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14341155

Change-Id: Ic85614ee879806052efd3447f1cbc6e768bbd97a
2021-06-01 08:22:38 +00:00
Wei Sheng Shih
c464bbf453 Merge "Ensure no starting window leak in WMShell before adding." into sc-dev am: a1195c85c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14341155

Change-Id: I3201d3fdeba1797bc11a1aeee539f7226d088d03
2021-06-01 08:19:02 +00:00
wilsonshih
5cdbeb1a42 Ensure no starting window leak in WMShell before adding.
Before adding the snapshot start window, remove any existing window
at the same task if any. Also make sure if starting window was create
failed, the window should be remove after it been added.

Bug: 185318171
Test: manual test without ag/14308714
Change-Id: I5de7d54907bc0318c6d979c44ca8e64a5fcea062
2021-05-31 21:23:19 +08:00