HomeSort by relevance Sort by last modified time
    Searched refs:FloatKeyframe (Results 1 - 10 of 10) sorted by null

  /frameworks/base/core/java/android/animation/
FloatKeyframeSet.java 19 import android.animation.Keyframe.FloatKeyframe;
24 * This class holds a collection of FloatKeyframe objects and is called by ValueAnimator to calculate
39 public FloatKeyframeSet(FloatKeyframe... keyframes) {
52 FloatKeyframe[] newKeyframes = new FloatKeyframe[numKeyframes];
54 newKeyframes[i] = (FloatKeyframe) keyframes.get(i).clone();
64 firstValue = ((FloatKeyframe) mKeyframes.get(0)).getFloatValue();
65 lastValue = ((FloatKeyframe) mKeyframes.get(1)).getFloatValue();
78 final FloatKeyframe prevKeyframe = (FloatKeyframe) mKeyframes.get(0)
    [all...]
Keyframe.java 106 return new FloatKeyframe(fraction, value);
122 return new FloatKeyframe(fraction);
320 static class FloatKeyframe extends Keyframe {
326 FloatKeyframe(float fraction, float value) {
333 FloatKeyframe(float fraction) {
354 public FloatKeyframe clone() {
355 FloatKeyframe kfClone = mHasValue ?
356 new FloatKeyframe(getFraction(), mValue) :
357 new FloatKeyframe(getFraction());
KeyframeSet.java 22 import android.animation.Keyframe.FloatKeyframe;
70 FloatKeyframe keyframes[] = new FloatKeyframe[Math.max(numKeyframes,2)];
72 keyframes[0] = (FloatKeyframe) Keyframe.ofFloat(0f);
73 keyframes[1] = (FloatKeyframe) Keyframe.ofFloat(1f, values[0]);
78 keyframes[0] = (FloatKeyframe) Keyframe.ofFloat(0f, values[0]);
81 (FloatKeyframe) Keyframe.ofFloat((float) i / (numKeyframes - 1), values[i]);
100 if (keyframes[i] instanceof FloatKeyframe) {
109 FloatKeyframe floatKeyframes[] = new FloatKeyframe[numKeyframes]
    [all...]
  /external/chromium_org/cc/animation/
keyframed_animation_curve.h 54 class CC_EXPORT FloatKeyframe : public Keyframe {
56 static scoped_ptr<FloatKeyframe> Create(
60 virtual ~FloatKeyframe();
64 scoped_ptr<FloatKeyframe> Clone() const;
67 FloatKeyframe(double time,
149 void AddKeyframe(scoped_ptr<FloatKeyframe> keyframe);
163 ScopedPtrVector<FloatKeyframe> keyframes_;
keyframed_animation_curve.cc 86 scoped_ptr<FloatKeyframe> FloatKeyframe::Create(
91 new FloatKeyframe(time, value, timing_function.Pass()));
94 FloatKeyframe::FloatKeyframe(double time,
100 FloatKeyframe::~FloatKeyframe() {}
102 float FloatKeyframe::Value() const {
106 scoped_ptr<FloatKeyframe> FloatKeyframe::Clone() const
    [all...]
keyframed_animation_curve_unittest.cc 124 FloatKeyframe::Create(0.0, 2.f, scoped_ptr<TimingFunction>()));
137 FloatKeyframe::Create(0.0, 2.f, scoped_ptr<TimingFunction>()));
139 FloatKeyframe::Create(1.0, 4.f, scoped_ptr<TimingFunction>()));
152 FloatKeyframe::Create(0.0, 2.f, scoped_ptr<TimingFunction>()));
154 FloatKeyframe::Create(1.0, 4.f, scoped_ptr<TimingFunction>()));
156 FloatKeyframe::Create(2.0, 8.f, scoped_ptr<TimingFunction>()));
171 FloatKeyframe::Create(0.0, 4.f, scoped_ptr<TimingFunction>()));
173 FloatKeyframe::Create(1.0, 4.f, scoped_ptr<TimingFunction>()));
175 FloatKeyframe::Create(1.0, 6.f, scoped_ptr<TimingFunction>()));
177 FloatKeyframe::Create(2.0, 6.f, scoped_ptr<TimingFunction>()))
    [all...]
  /external/chromium_org/webkit/renderer/compositor_bindings/
web_float_animation_curve_impl.cc 32 curve_->AddKeyframe(cc::FloatKeyframe::Create(
41 curve_->AddKeyframe(cc::FloatKeyframe::Create(
  /external/chromium_org/cc/test/
animation_test_common.cc 17 using cc::FloatKeyframe;
38 curve->AddKeyframe(FloatKeyframe::Create(0.0, start_opacity, func.Pass()));
39 curve->AddKeyframe(FloatKeyframe::Create(
  /external/chromium_org/cc/input/
top_controls_manager.cc 200 FloatKeyframe::Create(start_time, controls_top_offset_,
205 FloatKeyframe::Create(start_time + kShowHideMaxDurationMs,
  /external/chromium_org/cc/layers/
layer_unittest.cc     [all...]

Completed in 690 milliseconds