Add smooth dimming transition for swapping in flexible split
Animates the dim layer during the swap movement, so that dimmed offscreen apps gradually become brighter as they come onscreen (and vice versa). Previously, the shift was abrupt (at the end of the swap movement) and looked bad. Also adds an API to SplitState to check the onscreen/offscreen status of a given Rect (should be useful later too). Bug: 349828130 Flag: com.android.wm.shell.enable_flexible_two_app_split Test: Dim layer transitions nicely when swapping. Doesn't affect onscreen > onscreen case. No change when flag is off. Change-Id: Ie5133e84967bd4905c192967ecb673adb12bf26d
Loading
Please register or sign in to comment