summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2016-06-27 11:32:35 -0700
committerDoris Liu <tianliu@google.com>2016-06-27 11:32:35 -0700
commitd0ff41c40660288c3bae27e5c3bc328a464eab03 (patch)
tree5152b027ff0c274ed225316b6ad33621f673fce2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentabcc4392e9c085ff1c28c7849e2d2aa7a9a4aa29 (diff)
Rounding per-channel interpolation in ArgbEvaluator to closest integer
In case of interpolating between x+1 and x in a color channel, the previous implementation would jump to x in the *beginning* of the animation, as it rounds down the interpolated float that's [x, x+1]. This CL rounds the per-channel interpolated float to the closest integer. Change-Id: I8610fb14ab3dd0ee2b1816868977c5653c178660
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions