Jerry Chang
60c6fa7033
Merge "Make divider bar flings smoother when snap-to-dismiss split" into sc-v2-dev am: 70fb265591 am: 417621a2b1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15480930
Change-Id: I0f4c5d6a84acb73b870aa8bc8447185d2109ec5f
2021-08-09 14:29:17 +00:00
Jerry Chang
417621a2b1
Merge "Make divider bar flings smoother when snap-to-dismiss split" into sc-v2-dev am: 70fb265591
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15480930
Change-Id: Ic09439e999fe5b3ac55471eb719a81ef806fd05a
2021-08-09 14:19:32 +00:00
Jerry Chang
70fb265591
Merge "Make divider bar flings smoother when snap-to-dismiss split" into sc-v2-dev
2021-08-09 14:06:59 +00:00
Ben Lin
d9cd47039f
Merge "PiP Transition: Only allow TRANSIT_PIP and TRANSIT_OPEN types for enter animation." into sc-v2-dev am: 4c06d013b5 am: e92a883d27
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15484574
Change-Id: I6e2edc13227f0ab93aa34298d50d02c93514cf06
2021-08-09 05:00:14 +00:00
Ben Lin
e92a883d27
Merge "PiP Transition: Only allow TRANSIT_PIP and TRANSIT_OPEN types for enter animation." into sc-v2-dev am: 4c06d013b5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15484574
Change-Id: I7454a870292fb72797c4b5b342e06d2cb268413a
2021-08-09 04:50:56 +00:00
Ben Lin
4c06d013b5
Merge "PiP Transition: Only allow TRANSIT_PIP and TRANSIT_OPEN types for enter animation." into sc-v2-dev
2021-08-09 04:36:54 +00:00
Jerry Chang
bc1eba66ec
Make divider bar flings smoother when snap-to-dismiss split
...
Bug: 195699800
Test: dismissing stage split with divider bar will fling the divider bar
smoothly to the edge of the screen before split been dismissed.
Change-Id: Ic3bb2d9bc6da82773b7818c70dc535a5cea8e437
2021-08-09 11:30:10 +08:00
Ben Lin
7fb1c306a6
PiP Transition: Only allow TRANSIT_PIP and TRANSIT_OPEN types for enter animation.
...
Bug: 165793917
Test: Enable Shell transition, run flicker tests for PIP
Change-Id: Ia6c77a71ebfb443dd3d6e54dc3cd19df5780379f
2021-08-06 22:48:00 +00:00
Garfield Tan
4417e600fa
Merge "Add a minimal FreeformTaskListener" into sc-v2-dev am: 7e23f324dd am: 4140b2ee39
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15475655
Change-Id: Ic28799314d8643279c620a41702cb6c6f41471ae
2021-08-06 16:57:53 +00:00
Garfield Tan
4140b2ee39
Merge "Add a minimal FreeformTaskListener" into sc-v2-dev am: 7e23f324dd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15475655
Change-Id: I51add5776a23fe63978771aaa8a885b619289890
2021-08-06 16:44:04 +00:00
Garfield Tan
7e23f324dd
Merge "Add a minimal FreeformTaskListener" into sc-v2-dev
2021-08-06 16:29:14 +00:00
Garfield Tan
9f2c659f1a
Add a minimal FreeformTaskListener
...
WM team starts to remove functionalities that were made for unmanaged
tasks so take this step 1 to avoid regressions from this type of
changes.
Also remove UNSUPPORTED_WINDOWING_MODES because ShellTaskOrganizer can
handle all windowing modes now.
Bug: 192310211
Bug: 165794880
Bug: 165794636
Test: Maximize, drag and resize freeform windows.
Change-Id: If130b449fe6cf37c39f0e1424e4f23cdb2d33dd5
2021-08-06 16:25:14 +00:00
Jason Chang
bd349dd1d8
Merge "Fix one-handed mode tap app to exit doesn't work in factory boot" into sc-dev am: 20c38783c2 am: b7edaae151
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472778
Change-Id: I6e9f55719a6122ecf9138eda80e23fbe32882325
2021-08-06 06:01:43 +00:00
Jason Chang
25fee64461
Merge "Fix one-handed mode tap app to exit doesn't work in factory boot" into sc-dev am: 20c38783c2 am: 09dc62ab62
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472778
Change-Id: Ib53cf68e2362e11e0db87bd3d5787b4054c144b5
2021-08-06 06:01:20 +00:00
Jason Chang
b7edaae151
Merge "Fix one-handed mode tap app to exit doesn't work in factory boot" into sc-dev am: 20c38783c2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472778
Change-Id: I2bf121d0ce528eca6960d4bf3d9181fb76ba73bb
2021-08-06 05:48:23 +00:00
Jason Chang
09dc62ab62
Merge "Fix one-handed mode tap app to exit doesn't work in factory boot" into sc-dev am: 20c38783c2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472778
Change-Id: Ib9b3775291c76eb3f4237f85e84cf03e1f00132b
2021-08-06 05:47:59 +00:00
Jason Chang
20c38783c2
Merge "Fix one-handed mode tap app to exit doesn't work in factory boot" into sc-dev
2021-08-06 05:36:49 +00:00
Jason Chang
413ab9d586
Fix one-handed mode tap app to exit doesn't work in factory boot
...
Root cause:
1. Design change "tap app to exit" -> always being true, and settings
remove this option.
2. Tuning performance, due to 1, no longer listens to the key change,
so we remove the listener.
Solution:
Change getSettingsTapsAppToExit() API to return default TRUE.
Bug: 195629000
Test: Build ROM and factory-reset to test
Test: atest WMShellUnitTests
Change-Id: Id3c265258ed28f7e0aa54505c339671885d28fa7
2021-08-06 01:53:39 +00:00
Evan Rosky
4ab085aeb5
Merge "Differentiate seamless rotations in shell transitions" into sc-v2-dev am: 9751bc2fec am: e5e523416c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15388785
Change-Id: I00aae931ff43257abbe6454338ff4a18773b411c
2021-08-06 00:49:55 +00:00
Evan Rosky
e5e523416c
Merge "Differentiate seamless rotations in shell transitions" into sc-v2-dev am: 9751bc2fec
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15388785
Change-Id: Idea3cb030118f0346113cea0dd8cf22d2ac19ef6
2021-08-06 00:32:50 +00:00
Evan Rosky
bc047eeedd
Differentiate seamless rotations in shell transitions
...
Shell owns the whole display rotation animation now. So, we
can just provide enough information for it to decide when
seamless is requested/appropriate. The default behavior (when
not explicitly animating) is already a jump-cut/seamless, so
just skip the rotation animation if we are doing seamless
Bug: 194693472
Test: atest SeamlessAppRotationTest ShellTransitionTests
Change-Id: I64748f5910c04784fd9818818b029fa5f1339c6c
2021-08-05 10:11:52 -07:00
Bill Yi
18bfc13c45
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I5441a7947e16c276fef74a0396621dd20e389cc2
2021-08-04 10:10:46 +00:00
Bill Yi
ee8f81d6b4
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I682d240e086e7ea706c7a513b84e6e0e872b2365
2021-08-04 10:09:24 +00:00
Bill Yi
e0ddb23d3f
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I415a4afa4d0a10a32a211de24b63c698a7d6cdc2
2021-08-04 10:07:45 +00:00
Winson Chung
0a5e07d0c7
Merge "Fix one more import for ContextThemeWrapper." into sc-v2-dev am: fa8944c1a2 am: 39326cd053
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15443607
Change-Id: I01a64f21e47c937f2b4128df057f5e66458c9aff
2021-08-03 18:37:24 +00:00
Winson Chung
39326cd053
Merge "Fix one more import for ContextThemeWrapper." into sc-v2-dev am: fa8944c1a2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15443607
Change-Id: Ieff894252cffc4df4cd5110a16ccae614731d174
2021-08-03 18:25:27 +00:00
Winson Chung
fa8944c1a2
Merge "Fix one more import for ContextThemeWrapper." into sc-v2-dev
2021-08-03 18:08:42 +00:00
Bill Lin
72d99a9351
Merge "Integrate SurfaceControl jank monitor for PIP transition" into sc-v2-dev am: fbb39c14c3 am: 6826296fa1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15222486
Change-Id: I9f989c1753474a825694bb742b138abb0bbdc97e
2021-08-03 07:31:30 +00:00
Bill Lin
6826296fa1
Merge "Integrate SurfaceControl jank monitor for PIP transition" into sc-v2-dev am: fbb39c14c3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15222486
Change-Id: I2f685c4828dc75b1996d95a7c9c390f155da4d9d
2021-08-03 07:19:10 +00:00
Bill Lin
d075ec0ab6
Integrate SurfaceControl jank monitor for PIP transition
...
- onPipTransitionStarted()
Use InteractionJankMonitor.Builder to setup with PIP task's
leash and dispatch to begin() with CUJ_PIP_TRANSITION
- onPipTransitionFinishedOrCanceled()
End CUJ_PIP_TRANSITION when the transition either finished
or canceled.
Test: atest WMShellUnitTests
Test: atest SystemUITests
Test: record systrace through perfetto.dev
Bug: 169221267
Change-Id: I9f94ddde7f0dd48d50d50313ba517b919f0d8d25
2021-08-03 03:41:12 +00:00
Mady Mellor
6980806291
Merge changes I500c566e,I4b5ffc26 into sc-v2-dev am: 81ce27f854 am: 3d1ed7a4f8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15440807
Change-Id: I1dc04db9282adeb658a672d979426f1a2748521e
2021-08-03 01:22:29 +00:00
Mady Mellor
3d1ed7a4f8
Merge changes I500c566e,I4b5ffc26 into sc-v2-dev am: 81ce27f854
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15440807
Change-Id: I16d4d764895a3d2c3f8725e0949559398b164011
2021-08-03 01:21:53 +00:00
Mady Mellor
81ce27f854
Merge changes I500c566e,I4b5ffc26 into sc-v2-dev
...
* changes:
Update the flyout width to be smaller on large screens
Updates to manage button based on latest mocks
2021-08-03 01:07:12 +00:00
Winson Chung
fff8e21975
Fix one more import for ContextThemeWrapper.
...
Bug: 195028385
Test: can build now.
Change-Id: Ie14285b614318a99098f4457d7564a25724cde6b
2021-08-02 14:19:54 -07:00
Mady Mellor
3289ae9f64
Update the flyout width to be smaller on large screens
...
On phone we use 60% of the screen which is huge on
tablet. This change uses 30% of the screen for the
flyout on large screens & enforces a minimum for
that value.
Test: manual - get a long message in a bubble on a
tablet, it should have similar width
as it does on phone.
Bug: 186776550
Change-Id: I500c566edd9941dc2bd149692eaf95c6e6f4aa61
2021-08-02 14:03:01 -07:00
Mady Mellor
ba35a77513
Updates to manage button based on latest mocks
...
- manage button should be inset from the expanded view edge
but the menu should be flush with expanded view edge.
- button size is smaller (36dp instead of 40dp)
- more padding (16dp above / below on both tablet & phone)
- diff colour N1-800 instead of N1-900
Test: visual 1 - expand a bubble and look at 'manage' button
2 - tap on the button and look at the menu
3 - do 1 & 2 on tablet & in RTL & on phone
landscape
Bug: 183658858
Change-Id: I4b5ffc26602b72ee28d26476fc222df3e2e1e80b
2021-08-02 12:20:08 -07:00
Hongwei Wang
fa325c750d
Merge "Pass AppOps result for PiP in RemoteAnimationTarget" into sc-v2-dev am: 4eaeabe8bd am: 7abcb9bce8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15391157
Change-Id: I1d63fc358e69cf2cf0f2745216226a8447c2a5ed
2021-07-31 03:44:39 +00:00
Hongwei Wang
7abcb9bce8
Merge "Pass AppOps result for PiP in RemoteAnimationTarget" into sc-v2-dev am: 4eaeabe8bd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15391157
Change-Id: I3e5f3f7beab30482a3e759fda7ed479ee24d3f48
2021-07-31 03:28:56 +00:00
Hongwei Wang
4eaeabe8bd
Merge "Pass AppOps result for PiP in RemoteAnimationTarget" into sc-v2-dev
2021-07-31 03:14:11 +00:00
Hongwei Wang
c9a7c24e3e
Pass AppOps result for PiP in RemoteAnimationTarget
...
This result will be used by Launcher when deciding if we should start
the auto-enter-pip transition.
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/c9raN4jiaNqbiV7DF4YTJ6
Bug: 194272108
Test: try auto-enter-pip with permission disabled
Change-Id: Iea3a45fd68b54d74e7d5da91b63684c206a0132e
2021-07-30 15:57:39 -07:00
TreeHugger Robot
fdd6b8b6ec
Merge "Fix broken launcher build to use the right import for ContextThemeWrapper." into sc-v2-dev am: 93be1fb110
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15419006
Change-Id: Ia2d43526e2d8e41f569f4b40a13eed51e8750f12
2021-07-30 18:44:33 +00:00
TreeHugger Robot
93be1fb110
Merge "Fix broken launcher build to use the right import for ContextThemeWrapper." into sc-v2-dev
2021-07-30 18:32:37 +00:00
Becky Qiu
2ee44db719
Fix broken launcher build to use the right import for ContextThemeWrapper.
...
Bug: 195028385
Test: can build now.
Change-Id: Ia36b77e3274191efa28c87cc0b2604a66906b604
Merged-In: Ia36b77e3274191efa28c87cc0b2604a66906b604
2021-07-30 17:32:35 +00:00
Mady Mellor
66b936d926
Merge changes Ie7aaec55,I3053cdb6 into sc-v2-dev am: 57a3e448f6 am: efc97e3688
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15421004
Change-Id: I2b90171df59cdbf4514bc4e609f09d98bbabe588
2021-07-30 17:16:33 +00:00
Mady Mellor
efc97e3688
Merge changes Ie7aaec55,I3053cdb6 into sc-v2-dev am: 57a3e448f6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15421004
Change-Id: If1e174c0584c849ca1aa2c758d40fa560c123312
2021-07-30 17:03:35 +00:00
Mady Mellor
57a3e448f6
Merge changes Ie7aaec55,I3053cdb6 into sc-v2-dev
...
* changes:
Remove BUBBLE_EXPANDED state from ScrimController
Manage menu changes
2021-07-30 16:47:43 +00:00
Nataniel Borges
de3ab6daab
[DO NOT MERGE] Full - Compatibilize winscope with master am: 3dab1eaeec
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15403074
Change-Id: If1bc500776c7a411de294e66d220cf29a6302d91
2021-07-30 14:54:34 +00:00
TreeHugger Robot
0b7f506aa9
Merge "[DO NOT MERGE] Full - Compatibilize winscope with master" into sc-v2-dev
2021-07-30 14:47:23 +00:00
Jerry Chang
5e2ec78c59
Merge "Fix the content of the bottom split being truncated while showing IME" into sc-v2-dev am: 581d500ee6 am: f3204bd10f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15287617
Change-Id: I1b651ce81256b3ed46d0373567fe3b4fe31fb61e
2021-07-30 12:35:45 +00:00
Jerry Chang
f3204bd10f
Merge "Fix the content of the bottom split being truncated while showing IME" into sc-v2-dev am: 581d500ee6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15287617
Change-Id: Idaa8454bdfe26cc0fd75e2fe77816c633c12560c
2021-07-30 12:21:01 +00:00