summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorVadim Caen <caen@google.com>2020-05-26 20:17:15 +0800
committerRiddle Hsu <riddlehsu@google.com>2020-05-27 00:36:51 +0800
commit4b4fc236ffdbb4287bad01588ceebf5313c8d171 (patch)
treee868a928f33ba4ec0318f819217fd7816f84eab8 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent92d678d8ad4ad579b039b15e1b56dea5ed39c9ad (diff)
System Bars animation for fixed rotation transform
Fade out system bars when the fixed transform is starting and fade them in once its finished. In other words, if mFixedRotationLaunchingApp is set, the hide (fade out) animation will start. And if mFixedRotationLaunchingApp is cleared or seamless rotation is done for fixed rotation, the show (fade in) animation will start. Note a special case: the fixed rotation app hides the system bars, so there may be no window to rotate. Then the show animation will apply immediately (though they are invisible) to make sure the bars can be visible by transient state. Bug: 150676212 Bug: 156864004 Test: Manual: open and close a landscape application, and open and immediately cancel opening animation. Manual: open a landscape application which hides status bar and navigation bar. The bars should still be visible after swiping from edge of screen. Test: WmTests:DisplayContentTests#testApplyTopFixedRotationTransform Change-Id: Ic326b4bda44b39c875aeb27f33fba31a5cfcfc66
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions