diff options
author | Casey Burkhardt <caseyburkhardt@google.com> | 2015-02-12 14:07:55 -0800 |
---|---|---|
committer | Casey Burkhardt <caseyburkhardt@google.com> | 2015-02-12 14:13:10 -0800 |
commit | d29a1e47d44ac072502342c3b9f55e9870e914ba (patch) | |
tree | ee25f10ff1a94665c4e7ea3b45365eac6521270f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | a673af77d95f4a3d46e5d71188256b27e06cc442 (diff) |
Support circular magnification frame on circular devices
The magnification viewport expects its boundary to be a rectangular region,
and always draws it as such. This change causes the indicator to draw as a
circle on devices with circular displays. This also refactors the width of
the indicator's frame to use a proper dimension resource and updates the
width to 4dip.
Bug:18242438
Change-Id: I1d86647b6d1ef84f5dd506f4141223ec050a79b5
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions