/external/chromium_org/third_party/WebKit/Source/core/animation/ |
KeyframeEffectModelTest.cpp | 60 AnimatableValueKeyframeVector keyframes(2); 61 keyframes[0] = AnimatableValueKeyframe::create(); 62 keyframes[0]->setOffset(0.0); 63 keyframes[0]->setPropertyValue(CSSPropertyLeft, zeroValue.get()); 64 keyframes[1] = AnimatableValueKeyframe::create(); 65 keyframes[1]->setOffset(1.0); 66 keyframes[1]->setPropertyValue(CSSPropertyLeft, oneValue.get()); 67 return keyframes; 105 AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(unknownAnimatableValue(3.0), unknownAnimatableValue(5.0)); local 106 RefPtrWillBeRawPtr<AnimatableValueKeyframeEffectModel> effect = AnimatableValueKeyframeEffectModel::create(keyframes); 115 AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(unknownAnimatableValue(3.0), unknownAnimatableValue(5.0)); local 124 AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(pixelAnimatableValue(3.0), pixelAnimatableValue(5.0)); local 134 AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(pixelAnimatableValue(3.0), pixelAnimatableValue(5.0)); local 143 AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(pixelAnimatableValue(3.0), pixelAnimatableValue(5.0)); local 155 AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(pixelAnimatableValue(3.0), pixelAnimatableValue(5.0)); local 167 AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(unknownAnimatableValue(3.0), unknownAnimatableValue(5.0)); local 176 AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(pixelAnimatableValue(3.0), pixelAnimatableValue(5.0)); local 186 AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(pixelAnimatableValue(3.0), pixelAnimatableValue(5.0)); local 360 AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(pixelAnimatableValue(3.0), pixelAnimatableValue(5.0)); local 371 AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(pixelAnimatableValue(1.0), pixelAnimatableValue(3.0)); local [all...] |
Animation.idl | 35 Constructor(Element? target, sequence<Dictionary> keyframes), 36 Constructor(Element? target, sequence<Dictionary> keyframes, double timingInput), 37 Constructor(Element? target, sequence<Dictionary> keyframes, Dictionary timingInput),
|
KeyframeEffectModel.cpp | 66 KeyframeEffectModelBase::KeyframeVector KeyframeEffectModelBase::normalizedKeyframes(const KeyframeVector& keyframes) 68 // keyframes [beginIndex, endIndex) will remain after removing all keyframes if they are not 69 // loosely sorted by offset, and after removing keyframes with positional offset outide [0, 1]. 71 size_t endIndex = keyframes.size(); 77 for (size_t i = 0; i < keyframes.size(); ++i) { 78 double offset = keyframes[i]->offset(); 81 // The keyframes are not loosely sorted by offset. Exclude all. 87 // Remove all keyframes up to and including this keyframe. 90 // Remove all keyframes from this keyframe onwards. Note we must complete our checkin 137 const KeyframeVector keyframes = normalizedKeyframes(getFrames()); local 169 const PropertySpecificKeyframeVector& keyframes = iter->value->keyframes(); local [all...] |
KeyframeEffectModel.h | 61 const PropertySpecificKeyframeVector& keyframes() const { return m_keyframes; } function in class:WebCore::KeyframeEffectModelBase::PropertySpecificKeyframeGroup 85 return m_keyframeGroups->get(id)->keyframes(); 107 static KeyframeVector normalizedKeyframes(const KeyframeVector& keyframes); 109 // Lazily computes the groups of property-specific keyframes. 114 // The spec describes filtering the normalized keyframes at sampling time 115 // to get the 'property-specific keyframes'. For efficiency, we cache the 134 static PassRefPtrWillBeRawPtr<KeyframeEffectModel<Keyframe> > create(const KeyframeVector& keyframes) { return adoptRefWillBeNoop(new KeyframeEffectModel(keyframes)); } 137 KeyframeEffectModel(const KeyframeVector& keyframes) 139 m_keyframes.appendVector(keyframes); [all...] |
EffectInput.cpp | 53 StringKeyframeVector keyframes; local 64 // Keyframes with offsets outside the range [0.0, 1.0] are ignored. 84 keyframes.append(keyframe); 112 exceptionState.throwDOMException(InvalidModificationError, "Keyframes are not loosely sorted by offset."); 115 nonCopyingSort(keyframes.begin(), keyframes.end(), Keyframe::compareOffsets); 118 RefPtrWillBeRawPtr<StringKeyframeEffectModel> keyframeEffectModel = StringKeyframeEffectModel::create(keyframes); 120 exceptionState.throwDOMException(NotSupportedError, "Partial keyframes are not supported.");
|
AnimationStackTest.cpp | 49 AnimatableValueKeyframeVector keyframes(2); 50 keyframes[0] = AnimatableValueKeyframe::create(); 51 keyframes[0]->setOffset(0.0); 52 keyframes[0]->setPropertyValue(id, value.get()); 53 keyframes[1] = AnimatableValueKeyframe::create(); 54 keyframes[1]->setOffset(1.0); 55 keyframes[1]->setPropertyValue(id, value.get()); 56 return AnimatableValueKeyframeEffectModel::create(keyframes);
|
CompositorAnimations.cpp | 356 void CompositorAnimationsImpl::addKeyframesToCurve(blink::WebAnimationCurve& curve, const PropertySpecificKeyframeVector& keyframes, bool reverse) 358 for (size_t i = 0; i < keyframes.size(); i++) { 361 if (i < keyframes.size() - 1) { // Ignore timing function of last frame. 363 reversedTimingFunction = CompositorAnimationsTimingFunctionReverser::reverse(keyframes[i + 1]->easing()); 366 keyframeTimingFunction = keyframes[i]->easing(); 373 const AnimatableValue* value = keyframes[i]->getAnimatableValue().get(); 381 blink::WebFilterKeyframe filterKeyframe(keyframes[i]->offset(), ops.release()); 387 blink::WebFloatKeyframe floatKeyframe(keyframes[i]->offset(), toAnimatableDouble(value)->toDouble()); 396 blink::WebTransformKeyframe transformKeyframe(keyframes[i]->offset(), ops.release());
|
AnimationTest.cpp | 90 const KeyframeVector keyframes = toKeyframeEffectModelBase(animation->effect())->getFrames(); local 92 EXPECT_EQ(0, keyframes[0]->offset()); 93 EXPECT_EQ(1, keyframes[1]->offset()); 95 const CSSValue* keyframe1Width = toStringKeyframe(keyframes[0].get())->propertyValue(CSSPropertyWidth); 96 const CSSValue* keyframe2Width = toStringKeyframe(keyframes[1].get())->propertyValue(CSSPropertyWidth); 103 EXPECT_EQ(*(CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseInOut)), *keyframes[0]->easing()); 104 EXPECT_EQ(*(CubicBezierTimingFunction::create(1, 1, 0.3, 0.3).get()), *keyframes[1]->easing());
|
/frameworks/base/core/java/android/animation/ |
KeyframeSet.java | 29 * values between those keyframes for a given animation. The class internal to the animation 30 * package because it is an implementation detail of how Keyframes are stored and used. 32 class KeyframeSet implements Keyframes { 39 ArrayList<Keyframe> mKeyframes; // only used when there are not 2 keyframes 43 public KeyframeSet(Keyframe... keyframes) { 44 mNumKeyframes = keyframes.length; 46 mKeyframes.addAll(Arrays.asList(keyframes)); 53 * If subclass has variables that it calculates based on the Keyframes, it should reset them 66 IntKeyframe keyframes[] = new IntKeyframe[Math.max(numKeyframes,2)]; local 68 keyframes[0] = (IntKeyframe) Keyframe.ofInt(0f) 83 FloatKeyframe keyframes[] = new FloatKeyframe[Math.max(numKeyframes,2)]; local 140 ObjectKeyframe keyframes[] = new ObjectKeyframe[Math.max(numKeyframes,2)]; local 180 ArrayList<Keyframe> keyframes = mKeyframes; local [all...] |
PropertyValuesHolder.java | 76 * The set of keyframes (time/value pairs) that define this animation. 78 Keyframes mKeyframes = null; 222 Keyframes keyframes = KeyframeSet.ofPath(path); local 224 return new MultiIntValuesHolder(propertyName, converter, null, keyframes); 260 * Can be null if the Keyframes have int[] values. 340 Keyframes keyframes = KeyframeSet.ofPath(path); local 342 return new MultiFloatValuesHolder(propertyName, converter, null, keyframes); 377 * Can be null if the Keyframes have float[] values 621 Keyframe keyframes[] = new Keyframe[Math.max(numKeyframes,2)]; local 794 ArrayList<Keyframe> keyframes = mKeyframes.getKeyframes(); local 817 ArrayList<Keyframe> keyframes = mKeyframes.getKeyframes(); local 893 ArrayList<Keyframe> keyframes = mKeyframes.getKeyframes(); local 908 ArrayList<Keyframe> keyframes = mKeyframes.getKeyframes(); local [all...] |
FloatKeyframeSet.java | 25 * values between those keyframes for a given animation. The class internal to the animation 26 * package because it is an implementation detail of how Keyframes are stored and used. 33 class FloatKeyframeSet extends KeyframeSet implements Keyframes.FloatKeyframes { 39 public FloatKeyframeSet(FloatKeyframe... keyframes) { 40 super(keyframes); 50 ArrayList<Keyframe> keyframes = mKeyframes; local 54 newKeyframes[i] = (FloatKeyframe) keyframes.get(i).clone();
|
IntKeyframeSet.java | 25 * values between those keyframes for a given animation. The class internal to the animation 26 * package because it is an implementation detail of how Keyframes are stored and used. 33 class IntKeyframeSet extends KeyframeSet implements Keyframes.IntKeyframes { 39 public IntKeyframeSet(IntKeyframe... keyframes) { 40 super(keyframes); 50 ArrayList<Keyframe> keyframes = mKeyframes; local 54 newKeyframes[i] = (IntKeyframe) keyframes.get(i).clone();
|
ObjectAnimator.java | 242 PathKeyframes keyframes = KeyframeSet.ofPath(path); local 244 keyframes.createXIntKeyframes()); 246 keyframes.createYIntKeyframes()); 283 PathKeyframes keyframes = KeyframeSet.ofPath(path); local 285 keyframes.createXIntKeyframes()); 287 keyframes.createYIntKeyframes()); 436 PathKeyframes keyframes = KeyframeSet.ofPath(path); local 438 keyframes.createXFloatKeyframes()); 440 keyframes.createYFloatKeyframes()); 478 PathKeyframes keyframes = KeyframeSet.ofPath(path) local [all...] |
/external/chromium_org/cc/animation/ |
keyframed_animation_curve.cc | 17 ScopedPtrVector<Keyframe>& keyframes) { 18 // Usually, the keyframes will be added in order, so this loop would be 20 if (!keyframes.empty() && keyframe->Time() < keyframes.back()->Time()) { 21 for (size_t i = 0; i < keyframes.size(); ++i) { 22 if (keyframe->Time() < keyframes[i]->Time()) { 23 keyframes.insert(keyframes.begin() + i, keyframe.Pass()); 29 keyframes.push_back(keyframe.Pass()); 32 template <class Keyframes> [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSKeyframesRule.cpp | 39 : StyleRuleBase(Keyframes) 98 , m_childRuleCSSOMWrappers(keyframesRule->keyframes().size()) 106 ASSERT(m_childRuleCSSOMWrappers.size() == m_keyframesRule->keyframes().size()); 123 ASSERT(m_childRuleCSSOMWrappers.size() == m_keyframesRule->keyframes().size()); 141 ASSERT(m_childRuleCSSOMWrappers.size() == m_keyframesRule->keyframes().size()); 166 result.append("@-webkit-keyframes "); 168 result.append("@keyframes "); 175 result.append(m_keyframesRule->keyframes()[i]->cssText()); 184 return m_keyframesRule->keyframes().size(); 192 ASSERT(m_childRuleCSSOMWrappers.size() == m_keyframesRule->keyframes().size()) [all...] |
CSSKeyframesRule.h | 46 const WillBeHeapVector<RefPtrWillBeMember<StyleKeyframe> >& keyframes() const { return m_keyframes; } function in class:WebCore::FINAL 73 DEFINE_STYLE_RULE_TYPE_CASTS(Keyframes);
|
/external/chromium_org/chrome/browser/resources/signin_internals/ |
signin_index.css | 49 @-webkit-keyframes highlight1 { 58 @-webkit-keyframes highlight2 {
|
/external/chromium_org/chrome/browser/resources/chromeos/ |
choose_mobile_network.css | 32 @-webkit-keyframes spin {
|
network_menu.css | 47 @-webkit-keyframes spin {
|
/external/chromium_org/third_party/WebKit/Source/core/animation/css/ |
CSSAnimations.cpp | 87 AnimatableValueKeyframeVector& keyframes) 95 const WillBeHeapVector<RefPtrWillBeMember<StyleKeyframe> >& styleKeyframes = keyframesRule->keyframes(); 128 keyframes.append(keyframe); 131 keyframes.append(toAnimatableValueKeyframe(keyframe->cloneWithOffset(offsets[j]).get())); 134 ASSERT(!keyframes.isEmpty()); 142 // Remove duplicate keyframes. In CSS the last keyframe at a given offset takes priority. 143 std::stable_sort(keyframes.begin(), keyframes.end(), Keyframe::compareOffsets); 145 for (size_t i = 1; i < keyframes.size(); i++) { 146 if (keyframes[i]->offset() != keyframes[targetIndex]->offset() [all...] |
/external/chromium_org/ui/webui/resources/css/ |
spinner.css | 23 @-webkit-keyframes spinner-animation {
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8ElementCustom.cpp | 98 TONATIVE_VOID(Vector<Dictionary>, keyframes, toNativeArray<Dictionary>(info[0], 1, info.GetIsolate())); 99 RefPtr<AnimationPlayer> result = ElementAnimation::animate(*impl, keyframes, exceptionState); 132 TONATIVE_VOID(Vector<Dictionary>, keyframes, toNativeArray<Dictionary>(info[0], 1, info.GetIsolate())); 134 RefPtr<AnimationPlayer> result = ElementAnimation::animate(*impl, keyframes, duration, exceptionState); 145 TONATIVE_VOID(Vector<Dictionary>, keyframes, toNativeArray<Dictionary>(info[0], 1, info.GetIsolate())); 152 RefPtr<AnimationPlayer> result = ElementAnimation::animate(*impl, keyframes, timingInput, exceptionState);
|
/external/chromium_org/chrome/browser/resources/sync_internals/ |
about.css | 51 @-webkit-keyframes highlight1 { 60 @-webkit-keyframes highlight2 {
|
/external/chromium_org/chrome/browser/resources/ntp4/ |
tile_page.css | 134 @-webkit-keyframes bounce { 152 @-webkit-keyframes blipout {
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
canvasProfiler.css | 186 @-webkit-keyframes fadeout-odd { 191 @-webkit-keyframes fadeout-even {
|