diff options
author | Adrian Roos <roosa@google.com> | 2021-01-14 13:39:51 +0100 |
---|---|---|
committer | Adrian Roos <roosa@google.com> | 2021-01-18 10:50:52 +0000 |
commit | c5ce225fdf7451badf26eb7fee59300a35f4155d (patch) | |
tree | 7b917ff5759feb79b70a4412894ec15aebe972e4 /rs/java/android/renderscript/ProgramRaster.java | |
parent | 361e0a91a67f32af118ec4fbaabec0aa63055ad1 (diff) |
AbsSeekBar: Fix growRect computation
Fixes an issue with the growRectTo computation where if the
difference between the current and target size wasn't an even
number, the resulting rect would not actually have the correct
size.
Also, asserts using the thumb bounds, rather than the view
bounds in case the thumb is not perfectly centered within the
view due to rounding errors on odd densities.
Fixes: 173872859
Test: atest AbsSeekBarTest
Change-Id: Ib2b81a91ba8feeb6743a4e4a588d6116d231eb8d
Diffstat (limited to 'rs/java/android/renderscript/ProgramRaster.java')
0 files changed, 0 insertions, 0 deletions