Home
last modified time | relevance | path

Searched refs:keyframes (Results 1 – 25 of 51) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/animation/
DKeyframeAnimationEffectTest.cpp55 KeyframeAnimationEffect::KeyframeVector keyframes(2); in keyframesAtZeroAndOne() local
56 keyframes[0] = Keyframe::create(); in keyframesAtZeroAndOne()
57 keyframes[0]->setOffset(0.0); in keyframesAtZeroAndOne()
58 keyframes[0]->setPropertyValue(CSSPropertyLeft, zeroValue); in keyframesAtZeroAndOne()
59 keyframes[1] = Keyframe::create(); in keyframesAtZeroAndOne()
60 keyframes[1]->setOffset(1.0); in keyframesAtZeroAndOne()
61 keyframes[1]->setPropertyValue(CSSPropertyLeft, oneValue); in keyframesAtZeroAndOne()
62 return keyframes; in keyframesAtZeroAndOne()
81 …KeyframeAnimationEffect::KeyframeVector keyframes = keyframesAtZeroAndOne(unknownAnimatableValue(3… in TEST() local
82 RefPtr<KeyframeAnimationEffect> effect = KeyframeAnimationEffect::create(keyframes); in TEST()
[all …]
DKeyframeAnimationEffect.cpp163 KeyframeAnimationEffect::KeyframeAnimationEffect(const KeyframeVector& keyframes) in KeyframeAnimationEffect() argument
164 : m_keyframes(keyframes) in KeyframeAnimationEffect()
198 KeyframeVector keyframes = m_keyframes; in normalizedKeyframes() local
201 if (keyframes.size() >= 2) { in normalizedKeyframes()
202 Keyframe* firstKeyframe = keyframes.first().get(); in normalizedKeyframes()
206 if (keyframes.size() >= 1) { in normalizedKeyframes()
207 Keyframe* lastKeyframe = keyframes.last().get(); in normalizedKeyframes()
213 for (KeyframeVector::iterator iter = keyframes.begin(); iter != keyframes.end(); ++iter) in normalizedKeyframes()
217 std::stable_sort(keyframes.begin(), keyframes.end(), Keyframe::compareOffsets); in normalizedKeyframes()
218 return keyframes; in normalizedKeyframes()
[all …]
DKeyframeAnimationEffect.h83 static PassRefPtr<KeyframeAnimationEffect> create(const KeyframeVector& keyframes) in create() argument
85 return adoptRef(new KeyframeAnimationEffect(keyframes)); in create()
121 const PropertySpecificKeyframeVector& keyframes() const { return m_keyframes; } in keyframes() function
133 return m_keyframeGroups->get(id)->keyframes(); in getPropertySpecificKeyframes()
137 KeyframeAnimationEffect(const KeyframeVector& keyframes);
DElementAnimationTest.cpp121 const KeyframeAnimationEffect::KeyframeVector keyframes = in TEST_F() local
124 EXPECT_EQ(0, keyframes[0]->offset()); in TEST_F()
125 EXPECT_EQ(1, keyframes[1]->offset()); in TEST_F()
127 const AnimatableValue* keyframe1Width = keyframes[0]->propertyValue(CSSPropertyWidth); in TEST_F()
128 const AnimatableValue* keyframe2Width = keyframes[1]->propertyValue(CSSPropertyWidth); in TEST_F()
DCompositorAnimations.cpp414 …KeyframesToCurve(blink::WebAnimationCurve& curve, const KeyframeVector& keyframes, const TimingFun… in addKeyframesToCurve() argument
416 for (size_t i = 0; i < keyframes.size(); i++) { in addKeyframesToCurve()
418 if (i + 1 < keyframes.size()) { // Last keyframe has no timing function in addKeyframesToCurve()
429 ASSERT(keyframes.size() == chained.m_segments.size() + 1); in addKeyframesToCurve()
440 ASSERT(!keyframes[i]->value()->dependsOnUnderlyingValue()); in addKeyframesToCurve()
441 RefPtr<AnimatableValue> value = keyframes[i]->value()->compositeOnto(0); in addKeyframesToCurve()
449 blink::WebFilterKeyframe filterKeyframe(keyframes[i]->offset(), ops.release()); in addKeyframesToCurve()
455 …blink::WebFloatKeyframe floatKeyframe(keyframes[i]->offset(), toAnimatableDouble(value.get())->toD… in addKeyframesToCurve()
464 blink::WebTransformKeyframe transformKeyframe(keyframes[i]->offset(), ops.release()); in addKeyframesToCurve()
DElementAnimation.cpp77 KeyframeAnimationEffect::KeyframeVector keyframes; in startAnimation() local
85 keyframes.append(keyframe); in startAnimation()
125 …ect> effect = StyleResolver::createKeyframeAnimationEffect(*element, propertySetVector, keyframes); in startAnimation()
/external/chromium_org/cc/animation/
Dkeyframed_animation_curve.cc15 ScopedPtrVector<Keyframe>& keyframes) { in InsertKeyframe() argument
18 if (!keyframes.empty() && keyframe->Time() < keyframes.back()->Time()) { in InsertKeyframe()
19 for (size_t i = 0; i < keyframes.size(); ++i) { in InsertKeyframe()
20 if (keyframe->Time() < keyframes[i]->Time()) { in InsertKeyframe()
21 keyframes.insert(keyframes.begin() + i, keyframe.Pass()); in InsertKeyframe()
27 keyframes.push_back(keyframe.Pass()); in InsertKeyframe()
31 float GetProgress(double t, size_t i, const Keyframes& keyframes) { in GetProgress() argument
33 static_cast<float>((t - keyframes[i]->Time()) / in GetProgress()
34 (keyframes[i + 1]->Time() - keyframes[i]->Time())); in GetProgress()
36 if (keyframes[i]->timing_function()) in GetProgress()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSKeyframesRule.cpp91 , m_childRuleCSSOMWrappers(keyframesRule->keyframes().size()) in CSSKeyframesRule()
98 ASSERT(m_childRuleCSSOMWrappers.size() == m_keyframesRule->keyframes().size()); in ~CSSKeyframesRule()
115 ASSERT(m_childRuleCSSOMWrappers.size() == m_keyframesRule->keyframes().size()); in insertRule()
132 ASSERT(m_childRuleCSSOMWrappers.size() == m_keyframesRule->keyframes().size()); in deleteRule()
166 result.append(m_keyframesRule->keyframes()[i]->cssText()); in cssText()
175 return m_keyframesRule->keyframes().size(); in length()
183 ASSERT(m_childRuleCSSOMWrappers.size() == m_keyframesRule->keyframes().size()); in item()
186 …rule = adoptRef(new CSSKeyframeRule(m_keyframesRule->keyframes()[index].get(), const_cast<CSSKeyfr… in item()
DCSSKeyframesRule.h46 const Vector<RefPtr<StyleKeyframe> >& keyframes() const { return m_keyframes; } in keyframes() function
/external/chromium_org/third_party/WebKit/Source/core/animation/css/
DCSSAnimations.cpp75 …n> generateTimingFunction(const KeyframeAnimationEffect::KeyframeVector keyframes, const HashMap<d… in generateTimingFunction() argument
81 for (size_t i = 0; i < keyframes.size() - 1; ++i) { in generateTimingFunction()
82 double lowerBound = keyframes[i]->offset(); in generateTimingFunction()
84 double upperBound = keyframes[i + 1]->offset(); in generateTimingFunction()
105 const Vector<RefPtr<StyleKeyframe> >& styleKeyframes = keyframesRule->keyframes(); in resolveKeyframes()
111 KeyframeAnimationEffect::KeyframeVector keyframes; in resolveKeyframes() local
131 keyframes.append(keyframe); in resolveKeyframes()
135 keyframes.append(keyframe->cloneWithOffset(offsets[j])); in resolveKeyframes()
139 ASSERT(!keyframes.isEmpty()); in resolveKeyframes()
151 std::stable_sort(keyframes.begin(), keyframes.end(), Keyframe::compareOffsets); in resolveKeyframes()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/animation/
DWebAnimationProvider.cpp119 …on(double timeOffset, const CSSAnimationData* anim, const KeyframeList& keyframes, bool hasTransfo… in startAnimation() argument
122 bool hasOpacity = keyframes.containsProperty(CSSPropertyOpacity); in startAnimation()
123 bool hasFilter = keyframes.containsProperty(CSSPropertyWebkitFilter); in startAnimation()
132 size_t numKeyframes = keyframes.size(); in startAnimation()
134 const KeyframeValue& currentKeyframe = keyframes[i]; in startAnimation()
156 …nimation = createWebAnimationAndStoreId(transformVector, boxSize, anim, keyframes.animationName(),… in startAnimation()
158 …nimation = createWebAnimationAndStoreId(opacityVector, IntSize(), anim, keyframes.animationName(),… in startAnimation()
160 …Animation = createWebAnimationAndStoreId(filterVector, IntSize(), anim, keyframes.animationName(),… in startAnimation()
/external/chromium_org/chrome/browser/resources/signin_internals/
Dsignin_index.css49 @-webkit-keyframes highlight1 {
58 @-webkit-keyframes highlight2 {
/external/chromium_org/chrome/browser/resources/sync_internals/
Dabout.css48 @-webkit-keyframes highlight1 {
57 @-webkit-keyframes highlight2 {
/external/skia/tools/skpdiff/
Dviewer_style.css111 @-webkit-keyframes greenflash {
121 @-webkit-keyframes redflash {
/external/chromium/chrome/browser/resources/chromeos/
Dchoose_mobile_network.css30 @-webkit-keyframes spin {
/external/chromium_org/chrome/browser/resources/chromeos/
Dchoose_mobile_network.css32 @-webkit-keyframes spin {
Dnetwork_menu.css47 @-webkit-keyframes spin {
/external/libvpx/libvpx/examples/
Dforce_keyframe.txt5 This is an example demonstrating how to control placement of keyframes
/external/chromium/chrome/browser/resources/
Dnetwork_menu.css44 @-webkit-keyframes spin {
/external/chromium_org/ui/webui/resources/css/
Dspinner.css23 @-webkit-keyframes spinner-animation {
Doverlay.css50 /* keyframes used to pulse the overlay */
51 @-webkit-keyframes pulse {
/external/chromium_org/chrome/browser/resources/ntp4/
Dtile_page.css134 @-webkit-keyframes bounce {
152 @-webkit-keyframes blipout {
/external/chromium_org/chrome/common/extensions/docs/examples/api/fontSettings/css/
Doverlay.css49 /* keyframes used to pulse the overlay */
50 @-webkit-keyframes pulse {
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DcanvasProfiler.css191 @-webkit-keyframes fadeout-odd {
196 @-webkit-keyframes fadeout-even {
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DStyleResolver.cpp821 const Vector<RefPtr<StyleKeyframe> >& keyframes = keyframesRule->keyframes(); in keyframeStylesForAnimation() local
822 for (unsigned i = 0; i < keyframes.size(); ++i) { in keyframeStylesForAnimation()
824 const StyleKeyframe* keyframe = keyframes[i].get(); in keyframeStylesForAnimation()
868 …<MutableStylePropertySet> >& propertySetVector, KeyframeAnimationEffect::KeyframeVector& keyframes) in createKeyframeAnimationEffect() argument
871 ASSERT(propertySetVector.size() == keyframes.size()); in createKeyframeAnimationEffect()
880keyframes[i]->setPropertyValue(id, CSSAnimatableValueFactory::create(id, *state.style()).get()); in createKeyframeAnimationEffect()
883 return KeyframeAnimationEffect::create(keyframes); in createKeyframeAnimationEffect()

123