Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/animation/
DFloatKeyframeSet.java85 final FloatKeyframe prevKeyframe = (FloatKeyframe) mKeyframes.get(0); in getFloatValue() local
87 float prevValue = prevKeyframe.getFloatValue(); in getFloatValue()
89 float prevFraction = prevKeyframe.getFraction(); in getFloatValue()
101 final FloatKeyframe prevKeyframe = (FloatKeyframe) mKeyframes.get(mNumKeyframes - 2); in getFloatValue() local
103 float prevValue = prevKeyframe.getFloatValue(); in getFloatValue()
105 float prevFraction = prevKeyframe.getFraction(); in getFloatValue()
117 FloatKeyframe prevKeyframe = (FloatKeyframe) mKeyframes.get(0); in getFloatValue() local
125 float intervalFraction = (fraction - prevKeyframe.getFraction()) / in getFloatValue()
126 (nextKeyframe.getFraction() - prevKeyframe.getFraction()); in getFloatValue()
127 float prevValue = prevKeyframe.getFloatValue(); in getFloatValue()
[all …]
DIntKeyframeSet.java85 final IntKeyframe prevKeyframe = (IntKeyframe) mKeyframes.get(0); in getIntValue() local
87 int prevValue = prevKeyframe.getIntValue(); in getIntValue()
89 float prevFraction = prevKeyframe.getFraction(); in getIntValue()
101 final IntKeyframe prevKeyframe = (IntKeyframe) mKeyframes.get(mNumKeyframes - 2); in getIntValue() local
103 int prevValue = prevKeyframe.getIntValue(); in getIntValue()
105 float prevFraction = prevKeyframe.getFraction(); in getIntValue()
116 IntKeyframe prevKeyframe = (IntKeyframe) mKeyframes.get(0); in getIntValue() local
124 float intervalFraction = (fraction - prevKeyframe.getFraction()) / in getIntValue()
125 (nextKeyframe.getFraction() - prevKeyframe.getFraction()); in getIntValue()
126 int prevValue = prevKeyframe.getIntValue(); in getIntValue()
[all …]
DKeyframeSet.java226 final Keyframe prevKeyframe = mKeyframes.get(mNumKeyframes - 2); in getValue() local
231 final float prevFraction = prevKeyframe.getFraction(); in getValue()
234 return mEvaluator.evaluate(intervalFraction, prevKeyframe.getValue(), in getValue()
237 Keyframe prevKeyframe = mFirstKeyframe; in getValue() local
245 final float prevFraction = prevKeyframe.getFraction(); in getValue()
248 return mEvaluator.evaluate(intervalFraction, prevKeyframe.getValue(), in getValue()
251 prevKeyframe = nextKeyframe; in getValue()