Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/animation/
DIntKeyframeSet.java84 final IntKeyframe prevKeyframe = (IntKeyframe) mKeyframes.get(0); in getIntValue() local
86 int prevValue = prevKeyframe.getIntValue(); in getIntValue()
88 float prevFraction = prevKeyframe.getFraction(); in getIntValue()
100 final IntKeyframe prevKeyframe = (IntKeyframe) mKeyframes.get(mNumKeyframes - 2); in getIntValue() local
102 int prevValue = prevKeyframe.getIntValue(); in getIntValue()
104 float prevFraction = prevKeyframe.getFraction(); in getIntValue()
115 IntKeyframe prevKeyframe = (IntKeyframe) mKeyframes.get(0); in getIntValue() local
120 float intervalFraction = (fraction - prevKeyframe.getFraction()) / in getIntValue()
121 (nextKeyframe.getFraction() - prevKeyframe.getFraction()); in getIntValue()
122 int prevValue = prevKeyframe.getIntValue(); in getIntValue()
[all …]
DFloatKeyframeSet.java84 final FloatKeyframe prevKeyframe = (FloatKeyframe) mKeyframes.get(0); in getFloatValue() local
86 float prevValue = prevKeyframe.getFloatValue(); in getFloatValue()
88 float prevFraction = prevKeyframe.getFraction(); in getFloatValue()
100 final FloatKeyframe prevKeyframe = (FloatKeyframe) mKeyframes.get(mNumKeyframes - 2); in getFloatValue() local
102 float prevValue = prevKeyframe.getFloatValue(); in getFloatValue()
104 float prevFraction = prevKeyframe.getFraction(); in getFloatValue()
116 FloatKeyframe prevKeyframe = (FloatKeyframe) mKeyframes.get(0); in getFloatValue() local
121 float intervalFraction = (fraction - prevKeyframe.getFraction()) / in getFloatValue()
122 (nextKeyframe.getFraction() - prevKeyframe.getFraction()); in getFloatValue()
123 float prevValue = prevKeyframe.getFloatValue(); in getFloatValue()
[all …]
DKeyframeSet.java224 final Keyframe prevKeyframe = mKeyframes.get(mNumKeyframes - 2); in getValue() local
229 final float prevFraction = prevKeyframe.getFraction(); in getValue()
232 return mEvaluator.evaluate(intervalFraction, prevKeyframe.getValue(), in getValue()
235 Keyframe prevKeyframe = mFirstKeyframe; in getValue() local
240 final float prevFraction = prevKeyframe.getFraction(); in getValue()
247 return mEvaluator.evaluate(intervalFraction, prevKeyframe.getValue(), in getValue()
250 prevKeyframe = nextKeyframe; in getValue()