Lines Matching defs:animation
41 static PassRefPtr<LayerAnimation> create(const KeyframeValueList& values, const IntSize& boxSize, const Animation* animation, const String& name, double timeOffset)
43 return adoptRef(new LayerAnimation(values, boxSize, animation, name, timeOffset));
48 LayerAnimation* animation = new LayerAnimation(*this);
49 // The cloned animation should get a different timeOffset if it's paused.
50 animation->m_timeOffset = timeOffset;
52 return adoptRef(animation);
69 static int idFromAnimation(const Animation* animation) { return reinterpret_cast<int>(animation); }
70 bool isEqualToAnimation(const Animation* animation) const { return idFromAnimation(animation) == id(); }
89 LayerAnimation(const KeyframeValueList& values, const IntSize& boxSize, const Animation* animation, const String& name, double timeOffset)
90 : m_id(reinterpret_cast<int>(animation))
96 , m_duration(animation->duration())
97 , m_iterationCount(animation->iterationCount())
98 , m_direction(animation->direction())
101 if (animation->isTimingFunctionSet())
102 m_timingFunction = animation->timingFunction();