summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-07-30 12:27:20 +0800
committerRiddle Hsu <riddlehsu@google.com>2021-07-30 12:27:20 +0800
commit9d4a077de92f44ab53e705f5f02ab9743db1d5a9 (patch)
treebb9cf2a914ec60497fb47b5d5df000aadb570af9 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent23ba83b769a59a801cbeb64eea938d4886ee4322 (diff)
Use size compat bounds for window layout
When an app is in size compat mode, the configuration bounds and layout bounds are not the same such as the app keeps a larger configuration bounds and needs to be scaled when drawing on screen. The size compat bounds are the scaled bounds in screen coordinates so it should be used if available. Fix: 194820928 Test: SizeCompatTests#testFixedScreenBoundsWhenDisplaySizeChanged Change-Id: Ib97038560e65699f5275d6f5dc4b8e5881024e57
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions