diff options
author | Riddle Hsu <riddlehsu@google.com> | 2020-04-02 01:04:40 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2020-04-02 01:05:21 +0800 |
commit | 6da58ac8d2f98f1cee4dbebc97878315698e037f (patch) | |
tree | 37b4ac9425b8c7aeec4ee8deadf8ce91fb513edc /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | bde104f8be331b97ba8bdb9f0a809245e785ef3f (diff) |
Calculate wallpaper offset with associated display info
If the wallpaper has applied fixed rotation transform, it should
use the local display info. This change centralizes the access of
display info to WallpaperController#updateWallpaperOffset, so the
caller won't pass mismatched display size.
Bug: 152977308
Test: atest DisplayContentTests#testApplyTopFixedRotationTransform
Change-Id: If167e82c71d0f039691155a2aad28c2b78c683de
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions