summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorVadim Caen <caen@google.com>2020-02-14 17:54:39 +0100
committerVadim Caen <caen@google.com>2020-03-03 16:36:44 +0000
commitb46f9233eaaa32b2930298a4dead518c702855c5 (patch)
treeaa75279f444a8262f47e37a32d39bc01eef33029 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent4cbd3b7a8e25ef467b2031b5cb2293e1a7c0dc99 (diff)
Compute Wallpaper scaling on the server
Image wallpaper uses DisplayInfo to compute the wallpaper scaling. When the wallpaper has a fixed rotation transform, its DisplayInfo do not correspond to its transformed bounds. We can't use the Configuration's bounds either because the wallpaper token is created on the server side and we do not have a way to propagate the changed configuration to a token created from the server. Bug: 148000485 Test: atest WallpaperControllerTests#testWallpaperSizeWithFixedTransform Change-Id: Ie80592ae868c980faddece17b94cd34178b1de0e (cherry picked from commit f79baeaa200d0a6a6d0774b1e9261d2ae97e2d99)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions