Home
last modified time | relevance | path

Searched refs:intervalFraction (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/animation/
DFloatKeyframeSet.java94 float intervalFraction = (fraction - prevFraction) / (nextFraction - prevFraction); in getFloatValue() local
96 prevValue + intervalFraction * (nextValue - prevValue) : in getFloatValue()
97 ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)). in getFloatValue()
110 float intervalFraction = (fraction - prevFraction) / (nextFraction - prevFraction); in getFloatValue() local
112 prevValue + intervalFraction * (nextValue - prevValue) : in getFloatValue()
113 ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)). in getFloatValue()
121 float intervalFraction = (fraction - prevKeyframe.getFraction()) / in getFloatValue() local
127 intervalFraction = interpolator.getInterpolation(intervalFraction); in getFloatValue()
130 prevValue + intervalFraction * (nextValue - prevValue) : in getFloatValue()
131 ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)). in getFloatValue()
DIntKeyframeSet.java94 float intervalFraction = (fraction - prevFraction) / (nextFraction - prevFraction); in getIntValue() local
96 prevValue + (int)(intervalFraction * (nextValue - prevValue)) : in getIntValue()
97 ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)). in getIntValue()
110 float intervalFraction = (fraction - prevFraction) / (nextFraction - prevFraction); in getIntValue() local
112 prevValue + (int)(intervalFraction * (nextValue - prevValue)) : in getIntValue()
113 … ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)).intValue(); in getIntValue()
120 float intervalFraction = (fraction - prevKeyframe.getFraction()) / in getIntValue() local
126 intervalFraction = interpolator.getInterpolation(intervalFraction); in getIntValue()
129 prevValue + (int)(intervalFraction * (nextValue - prevValue)) : in getIntValue()
130 ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)). in getIntValue()
DKeyframeSet.java220 float intervalFraction = (fraction - prevFraction) / in getValue() local
222 return mEvaluator.evaluate(intervalFraction, mFirstKeyframe.getValue(), in getValue()
231 float intervalFraction = (fraction - prevFraction) / in getValue() local
233 return mEvaluator.evaluate(intervalFraction, prevKeyframe.getValue(), in getValue()
242 float intervalFraction = (fraction - prevFraction) / in getValue() local
246 intervalFraction = interpolator.getInterpolation(intervalFraction); in getValue()
248 return mEvaluator.evaluate(intervalFraction, prevKeyframe.getValue(), in getValue()
DPathKeyframes.java106 float intervalFraction = (fraction - startFraction)/(endFraction - startFraction); in interpolateInRange() local
113 float x = interpolate(intervalFraction, startX, endX); in interpolateInRange()
114 float y = interpolate(intervalFraction, startY, endY); in interpolateInRange()