summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorAhan Wu <ahanwu@google.com>2019-07-23 20:41:52 +0800
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-07-28 22:26:15 +0000
commit23ac8e6a375d0c8be65230e1a188b676fd068195 (patch)
treef886376d7cf121cdb750594d6ae6268dab9e958e /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent359a9d999b4f0480e3b4c76f72b51c764572f408 (diff)
Only supports ambient mode when necessary.
We only need support ambient mode on specified devices but we currently enable this attribute on all devices, that means we need redraw every time when ambient mode changes. However, we can just show / hide wallpaper window on the devices which not support ambient transition. In addition, always use portrait dimension as scissor area since we only do transition in portrait. Bug: 138021396 Bug: 137962047 Test: Manually test on F2, C1, B4, S4 and walleye. Test: Set an image wallpaper, switch between home, aod and lockscreen. Test: Also use finger print to unlock from aod to home directly. Test: Rotate to landscape, set a new image wallpaper. Test: Switch between home, aod and lockscreen. Change-Id: I36dd49363e81df5a260b10695d90aa9d8c70a45a (cherry picked from commit 0e17480b1f15635aa9ed05e662deb0aba855bdfa)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions