summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2015-06-04 12:56:00 -0700
committerAdam Powell <adamp@google.com>2015-06-05 08:51:45 -0700
commit14d1f1383fd44081fa797c21f68beefcfc4f2b24 (patch)
tree776574b7d5b797b2b8b86ec79f6bed432a82b060 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parente790c97787dbc05930ad0c4a708fad7cd7d3f2b9 (diff)
Use real rounding in ImageView bounds configuration
While a useful tactic in previous years, the (int) (float + 0.5f) trick is inaccurate in some cases. Tradeoffs have changed; do the real thing now. Bug 20145160 Change-Id: I8af31bcb1945dc113fd36e094f5970ebd4ec0304
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions