summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-03-02 23:56:32 +0800
committerRiddle Hsu <riddlehsu@google.com>2020-03-03 19:00:00 +0800
commit6393ad12932d4c1a2706ab15fcb7f1e893299e12 (patch)
tree1038055a14acdfc98bea0116f0254ae65c8009d1 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent6a9cd11871bfb39c1950e4549b5c93d6a21392dd (diff)
Align the end time of wallpaper rotation transform to its target
That fixes the flicker when backing from a different orientation activity than home. Because the wallpaper window may be updated later than home's transition. Ideally, the fixed rotation transform of wallpaper should be synced with its target for consistency. Also fixes various hidden errors of RecentsAnimationControllerTest. Mostly about mDisplayContent: - It is not default display so it requires additional mock. - It contains many testing windows from default setup, that may disturb the test flow. - Currently it cannot rotate due to wrong condition in TestDisplayContent.Builder. That leads to several false positive results. Now it is changed to use the existing default display and home stack, which is more efficient and reasonable. Bug: 148000485 Test: atest RecentsAnimationControllerTest# \ testWallpaperHasFixedRotationApplied Change-Id: I4c054e8a5c9ef654c635055509e2c55f519be932
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions