Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/WebKit/Source/core/animation/
DKeyframeEffectModelTest.cpp58 AnimatableValueKeyframeVector keyframes(2); in keyframesAtZeroAndOne() local
59 keyframes[0] = AnimatableValueKeyframe::create(); in keyframesAtZeroAndOne()
60 keyframes[0]->setOffset(0.0); in keyframesAtZeroAndOne()
61 keyframes[0]->setPropertyValue(CSSPropertyLeft, zeroValue.get()); in keyframesAtZeroAndOne()
62 keyframes[1] = AnimatableValueKeyframe::create(); in keyframesAtZeroAndOne()
63 keyframes[1]->setOffset(1.0); in keyframesAtZeroAndOne()
64 keyframes[1]->setPropertyValue(CSSPropertyLeft, oneValue.get()); in keyframesAtZeroAndOne()
65 return keyframes; in keyframesAtZeroAndOne()
103 …AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(unknownAnimatableValue(3.0), unkno… in TEST() local
104 …AnimatableValueKeyframeEffectModel> effect = AnimatableValueKeyframeEffectModel::create(keyframes); in TEST()
[all …]
DKeyframeEffectModel.cpp68 …lBase::KeyframeVector KeyframeEffectModelBase::normalizedKeyframes(const KeyframeVector& keyframes) in normalizedKeyframes() argument
72 result.reserveCapacity(keyframes.size()); in normalizedKeyframes()
74 for (size_t i = 0; i < keyframes.size(); ++i) { in normalizedKeyframes()
75 double offset = keyframes[i]->offset(); in normalizedKeyframes()
82 result.append(keyframes[i]->clone()); in normalizedKeyframes()
117 const KeyframeVector keyframes = normalizedKeyframes(getFrames()); in ensureKeyframeGroups() local
118 …for (KeyframeVector::const_iterator keyframeIter = keyframes.begin(); keyframeIter != keyframes.en… in ensureKeyframeGroups()
149 const PropertySpecificKeyframeVector& keyframes = iter->value->keyframes(); in ensureInterpolationEffect() local
150 ASSERT(keyframes[0]->composite() == AnimationEffect::CompositeReplace); in ensureInterpolationEffect()
151 for (size_t i = 0; i < keyframes.size() - 1; i++) { in ensureInterpolationEffect()
[all …]
DKeyframeEffectModel.h61 const PropertySpecificKeyframeVector& keyframes() const { return m_keyframes; } in keyframes() function
85 return m_keyframeGroups->get(id)->keyframes(); in getPropertySpecificKeyframes()
107 static KeyframeVector normalizedKeyframes(const KeyframeVector& keyframes);
134 …eyframe> > create(const KeyframeVector& keyframes) { return adoptRefWillBeNoop(new KeyframeEffectM… in create() argument
137 KeyframeEffectModel(const KeyframeVector& keyframes) in KeyframeEffectModel() argument
139 m_keyframes.appendVector(keyframes); in KeyframeEffectModel()
DAnimationStackTest.cpp49 AnimatableValueKeyframeVector keyframes(2); in makeAnimationEffect() local
50 keyframes[0] = AnimatableValueKeyframe::create(); in makeAnimationEffect()
51 keyframes[0]->setOffset(0.0); in makeAnimationEffect()
52 keyframes[0]->setPropertyValue(id, value.get()); in makeAnimationEffect()
53 keyframes[1] = AnimatableValueKeyframe::create(); in makeAnimationEffect()
54 keyframes[1]->setOffset(1.0); in makeAnimationEffect()
55 keyframes[1]->setPropertyValue(id, value.get()); in makeAnimationEffect()
56 return AnimatableValueKeyframeEffectModel::create(keyframes); in makeAnimationEffect()
DCompositorAnimations.cpp184 const KeyframeVector& keyframes = keyframeEffect.getFrames(); in isCandidateForAnimationOnCompositor() local
185 …if (keyframes.size() == 2 && keyframes[0]->easing().type() == TimingFunction::LinearFunction && ti… in isCandidateForAnimationOnCompositor()
358 …bCompositorAnimationCurve& curve, const PropertySpecificKeyframeVector& keyframes, const Timing& t… in addKeyframesToCurve() argument
360 for (size_t i = 0; i < keyframes.size(); i++) { in addKeyframesToCurve()
362 if (i < keyframes.size() - 1) { // Ignore timing function of last frame. in addKeyframesToCurve()
363 … if (keyframes.size() == 2 && keyframes[0]->easing().type() == TimingFunction::LinearFunction) { in addKeyframesToCurve()
366 keyframeTimingFunction = &keyframes[i]->easing(); in addKeyframesToCurve()
373 const AnimatableValue* value = keyframes[i]->getAnimatableValue().get(); in addKeyframesToCurve()
380 WebFilterKeyframe filterKeyframe(keyframes[i]->offset(), ops.release()); in addKeyframesToCurve()
386 … WebFloatKeyframe floatKeyframe(keyframes[i]->offset(), toAnimatableDouble(value)->toDouble()); in addKeyframesToCurve()
[all …]
DEffectInput.cpp52 StringKeyframeVector keyframes; in convert() local
84 keyframes.append(keyframe); in convert()
110 …wPtr<StringKeyframeEffectModel> keyframeEffectModel = StringKeyframeEffectModel::create(keyframes); in convert()
DAnimation.idl35 Constructor(Element? target, sequence<Dictionary> keyframes),
36 Constructor(Element? target, sequence<Dictionary> keyframes, double timingInput),
37 Constructor(Element? target, sequence<Dictionary> keyframes, Dictionary timingInput),
DAnimationTest.cpp93 const KeyframeVector keyframes = toKeyframeEffectModelBase(animation->effect())->getFrames(); in TEST_F() local
95 EXPECT_EQ(0, keyframes[0]->offset()); in TEST_F()
96 EXPECT_EQ(1, keyframes[1]->offset()); in TEST_F()
98 …const CSSValue* keyframe1Width = toStringKeyframe(keyframes[0].get())->propertyValue(CSSPropertyWi… in TEST_F()
99 …const CSSValue* keyframe2Width = toStringKeyframe(keyframes[1].get())->propertyValue(CSSPropertyWi… in TEST_F()
106 …EXPECT_EQ(*(CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseInOut)), keyframes[0]… in TEST_F()
107 EXPECT_EQ(*(CubicBezierTimingFunction::create(1, 1, 0.3, 0.3).get()), keyframes[1]->easing()); in TEST_F()
/external/chromium_org/cc/animation/
Dkeyframed_animation_curve.cc17 ScopedPtrVector<Keyframe>& keyframes) { in InsertKeyframe() argument
20 if (!keyframes.empty() && keyframe->Time() < keyframes.back()->Time()) { in InsertKeyframe()
21 for (size_t i = 0; i < keyframes.size(); ++i) { in InsertKeyframe()
22 if (keyframe->Time() < keyframes[i]->Time()) { in InsertKeyframe()
23 keyframes.insert(keyframes.begin() + i, keyframe.Pass()); in InsertKeyframe()
29 keyframes.push_back(keyframe.Pass()); in InsertKeyframe()
33 float GetProgress(double t, size_t i, const Keyframes& keyframes) { in GetProgress() argument
35 static_cast<float>((t - keyframes[i]->Time()) / in GetProgress()
36 (keyframes[i + 1]->Time() - keyframes[i]->Time())); in GetProgress()
38 if (keyframes[i]->timing_function()) in GetProgress()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSKeyframesRule.cpp98 , m_childRuleCSSOMWrappers(keyframesRule->keyframes().size()) in CSSKeyframesRule()
106 ASSERT(m_childRuleCSSOMWrappers.size() == m_keyframesRule->keyframes().size()); in ~CSSKeyframesRule()
123 ASSERT(m_childRuleCSSOMWrappers.size() == m_keyframesRule->keyframes().size()); in insertRule()
140 ASSERT(m_childRuleCSSOMWrappers.size() == m_keyframesRule->keyframes().size()); in deleteRule()
174 result.append(m_keyframesRule->keyframes()[i]->cssText()); in cssText()
183 return m_keyframesRule->keyframes().size(); in length()
191 ASSERT(m_childRuleCSSOMWrappers.size() == m_keyframesRule->keyframes().size()); in item()
194 …rule = adoptRefWillBeNoop(new CSSKeyframeRule(m_keyframesRule->keyframes()[index].get(), const_cas… in item()
/external/chromium_org/third_party/polymer/components-chromium/paper-dialog/
Dpaper-dialog-transition.css27 animation: paper-dialog-transition-center-keyframes 0.2s cubic-bezier(0.4, 0, 0.2, 1);
28 -webkit-animation: paper-dialog-transition-center-keyframes 0.2s cubic-bezier(0.4, 0, 0.2, 1);
31 @keyframes paper-dialog-transition-center-keyframes {
46 @-webkit-keyframes paper-dialog-transition-center-keyframes {
/external/chromium_org/third_party/polymer/components/paper-dialog/
Dpaper-dialog-transition.css27 animation: paper-dialog-transition-center-keyframes 0.2s cubic-bezier(0.4, 0, 0.2, 1);
28 -webkit-animation: paper-dialog-transition-center-keyframes 0.2s cubic-bezier(0.4, 0, 0.2, 1);
31 @keyframes paper-dialog-transition-center-keyframes {
46 @-webkit-keyframes paper-dialog-transition-center-keyframes {
/external/chromium_org/third_party/WebKit/Source/core/animation/css/
DCSSAnimations.cpp86 AnimatableValueKeyframeVector& keyframes) in resolveKeyframes() argument
94 … WillBeHeapVector<RefPtrWillBeMember<StyleKeyframe> >& styleKeyframes = keyframesRule->keyframes(); in resolveKeyframes()
126 keyframes.append(keyframe); in resolveKeyframes()
129keyframes.append(toAnimatableValueKeyframe(keyframe->cloneWithOffset(offsets[j]).get())); in resolveKeyframes()
132 ASSERT(!keyframes.isEmpty()); in resolveKeyframes()
141 std::stable_sort(keyframes.begin(), keyframes.end(), Keyframe::compareOffsets); in resolveKeyframes()
143 for (size_t i = 1; i < keyframes.size(); i++) { in resolveKeyframes()
144 if (keyframes[i]->offset() != keyframes[targetIndex]->offset()) in resolveKeyframes()
147 keyframes[targetIndex] = keyframes[i]; in resolveKeyframes()
149 keyframes.shrink(targetIndex + 1); in resolveKeyframes()
[all …]
/external/chromium_org/third_party/polymer/components-chromium/paper-checkbox/
Dpaper-checkbox.css65 @-webkit-keyframes box-shrink {
82 @keyframes box-shrink {
106 @-webkit-keyframes checkmark-expand {
125 @keyframes checkmark-expand {
168 @-webkit-keyframes checkmark-shrink {
185 @keyframes checkmark-shrink {
207 @-webkit-keyframes box-expand {
224 @keyframes box-expand {
/external/chromium_org/third_party/polymer/components/paper-checkbox/
Dpaper-checkbox.css65 @-webkit-keyframes box-shrink {
82 @keyframes box-shrink {
106 @-webkit-keyframes checkmark-expand {
125 @keyframes checkmark-expand {
168 @-webkit-keyframes checkmark-shrink {
185 @keyframes checkmark-shrink {
207 @-webkit-keyframes box-expand {
224 @keyframes box-expand {
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
DV8ElementCustom.cpp98 …TONATIVE_VOID_EXCEPTIONSTATE(Vector<Dictionary>, keyframes, toImplArray<Dictionary>(info[0], 1, in… in animate2Method()
99 …RefPtrWillBeRawPtr<AnimationPlayer> result = ElementAnimation::animate(*impl, keyframes, exception… in animate2Method()
132 …TONATIVE_VOID_EXCEPTIONSTATE(Vector<Dictionary>, keyframes, toImplArray<Dictionary>(info[0], 1, in… in animate5Method()
134 …RefPtrWillBeRawPtr<AnimationPlayer> result = ElementAnimation::animate(*impl, keyframes, duration,… in animate5Method()
145 …TONATIVE_VOID_EXCEPTIONSTATE(Vector<Dictionary>, keyframes, toImplArray<Dictionary>(info[0], 1, in… in animate6Method()
152 …RefPtrWillBeRawPtr<AnimationPlayer> result = ElementAnimation::animate(*impl, keyframes, timingInp… in animate6Method()
/external/chromium_org/third_party/polymer/components-chromium/core-animation/
Dcore-animation-extracted.js39 keyframes: {value: null, reflect: true}, property
209 keyframes: 'apply', property
363 if (this.keyframes) {
364 frames = this.keyframes;
/external/chromium_org/chrome/browser/resources/signin_internals/
Dsignin_index.css50 @-webkit-keyframes highlight1 {
59 @-webkit-keyframes highlight2 {
/external/chromium_org/third_party/polymer/components/paper-button/
Dpaper-button.css65 @-webkit-keyframes focus-fade {
74 @keyframes focus-fade {
/external/chromium_org/third_party/polymer/components-chromium/paper-button/
Dpaper-button.css65 @-webkit-keyframes focus-fade {
74 @keyframes focus-fade {
/external/chromium_org/third_party/polymer/components/paper-shadow/
Dpaper-shadow.css65 @-webkit-keyframes animate-shadow-top-z-1-z-2 {
74 @-webkit-keyframes animate-shadow-bottom-z-1-z-2 {
/external/chromium_org/third_party/polymer/components-chromium/paper-shadow/
Dpaper-shadow.css65 @-webkit-keyframes animate-shadow-top-z-1-z-2 {
74 @-webkit-keyframes animate-shadow-bottom-z-1-z-2 {
/external/chromium_org/third_party/polymer/components-chromium/paper-icon-button/
Dpulse-ink.css1 @-webkit-keyframes pulse-ink {
/external/chromium_org/third_party/polymer/components/paper-icon-button/
Dpulse-ink.css1 @-webkit-keyframes pulse-ink {
/external/chromium_org/chrome/browser/resources/sync_internals/
Dabout.css55 @-webkit-keyframes highlight1 {
64 @-webkit-keyframes highlight2 {

123