Home
last modified time | relevance | path

Searched refs:prevKeyframe (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/animation/
DIntKeyframeSet.java58 final IntKeyframe prevKeyframe = (IntKeyframe) mKeyframes.get(0); in getIntValue() local
60 int prevValue = prevKeyframe.getIntValue(); in getIntValue()
62 float prevFraction = prevKeyframe.getFraction(); in getIntValue()
74 final IntKeyframe prevKeyframe = (IntKeyframe) mKeyframes.get(mNumKeyframes - 2); in getIntValue() local
76 int prevValue = prevKeyframe.getIntValue(); in getIntValue()
78 float prevFraction = prevKeyframe.getFraction(); in getIntValue()
89 IntKeyframe prevKeyframe = (IntKeyframe) mKeyframes.get(0); in getIntValue() local
94 float intervalFraction = (fraction - prevKeyframe.getFraction()) / in getIntValue()
95 (nextKeyframe.getFraction() - prevKeyframe.getFraction()); in getIntValue()
96 int prevValue = prevKeyframe.getIntValue(); in getIntValue()
[all …]
DFloatKeyframeSet.java58 final FloatKeyframe prevKeyframe = (FloatKeyframe) mKeyframes.get(0); in getFloatValue() local
60 float prevValue = prevKeyframe.getFloatValue(); in getFloatValue()
62 float prevFraction = prevKeyframe.getFraction(); in getFloatValue()
74 final FloatKeyframe prevKeyframe = (FloatKeyframe) mKeyframes.get(mNumKeyframes - 2); in getFloatValue() local
76 float prevValue = prevKeyframe.getFloatValue(); in getFloatValue()
78 float prevFraction = prevKeyframe.getFraction(); in getFloatValue()
90 FloatKeyframe prevKeyframe = (FloatKeyframe) mKeyframes.get(0); in getFloatValue() local
95 float intervalFraction = (fraction - prevKeyframe.getFraction()) / in getFloatValue()
96 (nextKeyframe.getFraction() - prevKeyframe.getFraction()); in getFloatValue()
97 float prevValue = prevKeyframe.getFloatValue(); in getFloatValue()
[all …]
DKeyframeSet.java217 final Keyframe prevKeyframe = mKeyframes.get(mNumKeyframes - 2); in getValue() local
222 final float prevFraction = prevKeyframe.getFraction(); in getValue()
225 return mEvaluator.evaluate(intervalFraction, prevKeyframe.getValue(), in getValue()
228 Keyframe prevKeyframe = mFirstKeyframe; in getValue() local
233 final float prevFraction = prevKeyframe.getFraction(); in getValue()
240 return mEvaluator.evaluate(intervalFraction, prevKeyframe.getValue(), in getValue()
243 prevKeyframe = nextKeyframe; in getValue()