/external/chromium_org/third_party/WebKit/Source/core/animation/ |
H A D | KeyframeAnimationEffectTest.cpp | 55 KeyframeAnimationEffect::KeyframeVector keyframes(2); 56 keyframes[0] = Keyframe::create(); 57 keyframes[0]->setOffset(0.0); 58 keyframes[0]->setPropertyValue(CSSPropertyLeft, zeroValue); 59 keyframes[1] = Keyframe::create(); 60 keyframes[1]->setOffset(1.0); 61 keyframes[1]->setPropertyValue(CSSPropertyLeft, oneValue); 62 return keyframes; 81 KeyframeAnimationEffect::KeyframeVector keyframes = keyframesAtZeroAndOne(unknownAnimatableValue(3.0), unknownAnimatableValue(5.0)); local 82 RefPtr<KeyframeAnimationEffect> effect = KeyframeAnimationEffect::create(keyframes); 91 KeyframeAnimationEffect::KeyframeVector keyframes = keyframesAtZeroAndOne(unknownAnimatableValue(3.0), unknownAnimatableValue(5.0)); local 100 KeyframeAnimationEffect::KeyframeVector keyframes = keyframesAtZeroAndOne(pixelAnimatableValue(3.0), pixelAnimatableValue(5.0)); local 109 KeyframeAnimationEffect::KeyframeVector keyframes = keyframesAtZeroAndOne(pixelAnimatableValue(3.0), pixelAnimatableValue(5.0)); local 118 KeyframeAnimationEffect::KeyframeVector keyframes = keyframesAtZeroAndOne(unknownAnimatableValue(3.0), unknownAnimatableValue(5.0)); local 127 KeyframeAnimationEffect::KeyframeVector keyframes = keyframesAtZeroAndOne(pixelAnimatableValue(3.0), pixelAnimatableValue(5.0)); local 136 KeyframeAnimationEffect::KeyframeVector keyframes = keyframesAtZeroAndOne(pixelAnimatableValue(3.0), pixelAnimatableValue(5.0)); local 326 KeyframeAnimationEffect::KeyframeVector keyframes = keyframesAtZeroAndOne(pixelAnimatableValue(3.0), pixelAnimatableValue(5.0)); local 337 KeyframeAnimationEffect::KeyframeVector keyframes = keyframesAtZeroAndOne(pixelAnimatableValue(1.0), pixelAnimatableValue(3.0)); local [all...] |
H A D | ElementAnimation.cpp | 77 KeyframeAnimationEffect::KeyframeVector keyframes; local 85 keyframes.append(keyframe); 92 // keyframes without specified offsets. This check can be removed when 113 // keyframes that were input through the API. We will add a layer to wrap 114 // KeyframeAnimationEffect, store input keyframes and implement getFrames. 125 RefPtr<KeyframeAnimationEffect> effect = StyleResolver::createKeyframeAnimationEffect(*element, propertySetVector, keyframes);
|
H A D | ElementAnimationTest.cpp | 121 const KeyframeAnimationEffect::KeyframeVector keyframes = local 124 EXPECT_EQ(0, keyframes[0]->offset()); 125 EXPECT_EQ(1, keyframes[1]->offset()); 127 const AnimatableValue* keyframe1Width = keyframes[0]->propertyValue(CSSPropertyWidth); 128 const AnimatableValue* keyframe2Width = keyframes[1]->propertyValue(CSSPropertyWidth);
|
H A D | KeyframeAnimationEffect.h | 47 // Represents the keyframes set through the API. 83 static PassRefPtr<KeyframeAnimationEffect> create(const KeyframeVector& keyframes) argument 85 return adoptRef(new KeyframeAnimationEffect(keyframes)); 121 const PropertySpecificKeyframeVector& keyframes() const { return m_keyframes; } function in class:WebCore::KeyframeAnimationEffect::PropertySpecificKeyframeGroup 133 return m_keyframeGroups->get(id)->keyframes(); 137 KeyframeAnimationEffect(const KeyframeVector& keyframes); 140 // Lazily computes the groups of property-specific keyframes. 144 // The spec describes filtering the normalized keyframes at sampling time 145 // to get the 'property-specific keyframes'. For efficiency, we cache the
|
H A D | CompositorAnimations.cpp | 152 // Are the keyframes convertible? 414 void CompositorAnimationsImpl::addKeyframesToCurve(blink::WebAnimationCurve& curve, const KeyframeVector& keyframes, const TimingFunction& timingFunction) argument 416 for (size_t i = 0; i < keyframes.size(); i++) { 418 if (i + 1 < keyframes.size()) { // Last keyframe has no timing function 429 ASSERT(keyframes.size() == chained.m_segments.size() + 1); 440 ASSERT(!keyframes[i]->value()->dependsOnUnderlyingValue()); 441 RefPtr<AnimatableValue> value = keyframes[i]->value()->compositeOnto(0); 449 blink::WebFilterKeyframe filterKeyframe(keyframes[i]->offset(), ops.release()); 455 blink::WebFloatKeyframe floatKeyframe(keyframes[i]->offset(), toAnimatableDouble(value.get())->toDouble()); 464 blink::WebTransformKeyframe transformKeyframe(keyframes[ [all...] |
H A D | KeyframeAnimationEffect.cpp | 163 KeyframeAnimationEffect::KeyframeAnimationEffect(const KeyframeVector& keyframes) argument 164 : m_keyframes(keyframes) 198 KeyframeVector keyframes = m_keyframes; local 201 if (keyframes.size() >= 2) { 202 Keyframe* firstKeyframe = keyframes.first().get(); 206 if (keyframes.size() >= 1) { 207 Keyframe* lastKeyframe = keyframes.last().get(); 213 for (KeyframeVector::iterator iter = keyframes.begin(); iter != keyframes.end(); ++iter) 217 std::stable_sort(keyframes 227 const KeyframeVector& keyframes = normalizedKeyframes(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | CSSKeyframesRule.h | 46 const Vector<RefPtr<StyleKeyframe> >& keyframes() const { return m_keyframes; } function in class:WebCore::FINAL
|
H A D | CSSGrammar.y | 285 %type <rule> keyframes 511 | keyframes 584 | keyframes 595 | keyframes 890 keyframes: label
|
/external/chromium_org/cc/animation/ |
H A D | keyframed_animation_curve.cc | 15 ScopedPtrVector<Keyframe>& keyframes) { 16 // Usually, the keyframes will be added in order, so this loop would be 18 if (!keyframes.empty() && keyframe->Time() < keyframes.back()->Time()) { 19 for (size_t i = 0; i < keyframes.size(); ++i) { 20 if (keyframe->Time() < keyframes[i]->Time()) { 21 keyframes.insert(keyframes.begin() + i, keyframe.Pass()); 27 keyframes.push_back(keyframe.Pass()); 31 float GetProgress(double t, size_t i, const Keyframes& keyframes) { argument 14 InsertKeyframe(scoped_ptr<Keyframe> keyframe, ScopedPtrVector<Keyframe>& keyframes) argument 287 GetCurveValue(const ScopedPtrVector<KeyframeType>* keyframes, double t) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/animation/css/ |
H A D | CSSAnimations.cpp | 75 static PassRefPtr<TimingFunction> generateTimingFunction(const KeyframeAnimationEffect::KeyframeVector keyframes, const HashMap<double, RefPtr<TimingFunction> > perKeyframeTimingFunctions) argument 81 for (size_t i = 0; i < keyframes.size() - 1; ++i) { 82 double lowerBound = keyframes[i]->offset(); 84 double upperBound = keyframes[i + 1]->offset(); 105 const Vector<RefPtr<StyleKeyframe> >& styleKeyframes = keyframesRule->keyframes(); 111 KeyframeAnimationEffect::KeyframeVector keyframes; local 131 keyframes.append(keyframe); 135 keyframes.append(keyframe->cloneWithOffset(offsets[j])); 139 ASSERT(!keyframes.isEmpty()); 150 // Remove duplicate keyframes [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/animation/ |
H A D | WebAnimationProvider.cpp | 119 WebAnimations WebAnimationProvider::startAnimation(double timeOffset, const CSSAnimationData* anim, const KeyframeList& keyframes, bool hasTransform, const IntSize& boxSize) argument 122 bool hasOpacity = keyframes.containsProperty(CSSPropertyOpacity); 123 bool hasFilter = keyframes.containsProperty(CSSPropertyWebkitFilter); 132 size_t numKeyframes = keyframes.size(); 134 const KeyframeValue& currentKeyframe = keyframes[i]; 156 resultAnimations.m_transformAnimation = createWebAnimationAndStoreId(transformVector, boxSize, anim, keyframes.animationName(), timeOffset); 158 resultAnimations.m_opacityAnimation = createWebAnimationAndStoreId(opacityVector, IntSize(), anim, keyframes.animationName(), timeOffset); 160 resultAnimations.m_filterAnimation = createWebAnimationAndStoreId(filterVector, IntSize(), anim, keyframes.animationName(), timeOffset);
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
H A D | StyleResolver.cpp | 776 // FIXME: Can't keyframes contain variables? 821 const Vector<RefPtr<StyleKeyframe> >& keyframes = keyframesRule->keyframes(); local 822 for (unsigned i = 0; i < keyframes.size(); ++i) { 824 const StyleKeyframe* keyframe = keyframes[i].get(); 868 PassRefPtr<KeyframeAnimationEffect> StyleResolver::createKeyframeAnimationEffect(Element& element, const Vector<RefPtr<MutableStylePropertySet> >& propertySetVector, KeyframeAnimationEffect::KeyframeVector& keyframes) argument 871 ASSERT(propertySetVector.size() == keyframes.size()); 880 keyframes[i]->setPropertyValue(id, CSSAnimatableValueFactory::create(id, *state.style()).get()); 883 return KeyframeAnimationEffect::create(keyframes);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | CompositedLayerMapping.cpp | 1992 bool CompositedLayerMapping::startAnimation(double timeOffset, const CSSAnimationData* anim, const KeyframeList& keyframes) argument 1994 bool hasTransform = renderer()->isBox() && keyframes.containsProperty(CSSPropertyWebkitTransform); 1998 WebAnimations animations(m_animationProvider->startAnimation(timeOffset, anim, keyframes, hasTransform, boxSize)); 2002 bool hasOpacity = keyframes.containsProperty(CSSPropertyOpacity); 2003 bool hasFilter = keyframes.containsProperty(CSSPropertyWebkitFilter); 2004 int animationId = m_animationProvider->getWebAnimationId(keyframes.animationName());
|
H A D | RenderBoxModelObject.cpp | 124 bool RenderBoxModelObject::startAnimation(double timeOffset, const CSSAnimationData* animation, const KeyframeList& keyframes) argument 128 return layer()->compositedLayerMapping()->startAnimation(timeOffset, animation, keyframes);
|