Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/animation/
DIntKeyframeSet.java68 float intervalFraction = (fraction - prevFraction) / (nextFraction - prevFraction); in getIntValue() local
70 prevValue + (int)(intervalFraction * (nextValue - prevValue)) : in getIntValue()
71 ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)). in getIntValue()
84 float intervalFraction = (fraction - prevFraction) / (nextFraction - prevFraction); in getIntValue() local
86 prevValue + (int)(intervalFraction * (nextValue - prevValue)) : in getIntValue()
87 … ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)).intValue(); in getIntValue()
94 float intervalFraction = (fraction - prevKeyframe.getFraction()) / in getIntValue() local
100 intervalFraction = interpolator.getInterpolation(intervalFraction); in getIntValue()
103 prevValue + (int)(intervalFraction * (nextValue - prevValue)) : in getIntValue()
104 ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)). in getIntValue()
DFloatKeyframeSet.java68 float intervalFraction = (fraction - prevFraction) / (nextFraction - prevFraction); in getFloatValue() local
70 prevValue + intervalFraction * (nextValue - prevValue) : in getFloatValue()
71 ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)). in getFloatValue()
84 float intervalFraction = (fraction - prevFraction) / (nextFraction - prevFraction); in getFloatValue() local
86 prevValue + intervalFraction * (nextValue - prevValue) : in getFloatValue()
87 ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)). in getFloatValue()
95 float intervalFraction = (fraction - prevKeyframe.getFraction()) / in getFloatValue() local
101 intervalFraction = interpolator.getInterpolation(intervalFraction); in getFloatValue()
104 prevValue + intervalFraction * (nextValue - prevValue) : in getFloatValue()
105 ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)). in getFloatValue()
DKeyframeSet.java212 float intervalFraction = (fraction - prevFraction) / in getValue() local
214 return mEvaluator.evaluate(intervalFraction, mFirstKeyframe.getValue(), in getValue()
223 float intervalFraction = (fraction - prevFraction) / in getValue() local
225 return mEvaluator.evaluate(intervalFraction, prevKeyframe.getValue(), in getValue()
234 float intervalFraction = (fraction - prevFraction) / in getValue() local
238 intervalFraction = interpolator.getInterpolation(intervalFraction); in getValue()
240 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()