/external/chromium_org/third_party/WebKit/Source/core/animation/ |
EffectInput.cpp | 52 StringKeyframeVector keyframes; local 65 // Keyframes with offsets outside the range [0.0, 1.0] are an error. 76 exceptionState.throwDOMException(InvalidModificationError, "Keyframes with specified offsets are not sorted"); 84 keyframes.append(keyframe); 110 RefPtrWillBeRawPtr<StringKeyframeEffectModel> keyframeEffectModel = StringKeyframeEffectModel::create(keyframes); 112 exceptionState.throwDOMException(NotSupportedError, "Partial keyframes are not supported.");
|
KeyframeEffectModel.cpp | 68 KeyframeEffectModelBase::KeyframeVector KeyframeEffectModelBase::normalizedKeyframes(const KeyframeVector& keyframes) 72 result.reserveCapacity(keyframes.size()); 74 for (size_t i = 0; i < keyframes.size(); ++i) { 75 double offset = keyframes[i]->offset(); 82 result.append(keyframes[i]->clone()); 117 const KeyframeVector keyframes = normalizedKeyframes(getFrames()); local 118 for (KeyframeVector::const_iterator keyframeIter = keyframes.begin(); keyframeIter != keyframes.end(); ++keyframeIter) { 123 ASSERT_WITH_MESSAGE(!isExpandedShorthand(property), "Web Animations: Encountered shorthand CSS property (%d) in normalized keyframes.", property); 135 // Add synthetic keyframes 149 const PropertySpecificKeyframeVector& keyframes = iter->value->keyframes(); local [all...] |
KeyframeEffectModel.h | 61 const PropertySpecificKeyframeVector& keyframes() const { return m_keyframes; } function in class:blink::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...] |
KeyframeEffectModelTest.cpp | 58 AnimatableValueKeyframeVector keyframes(2); 59 keyframes[0] = AnimatableValueKeyframe::create(); 60 keyframes[0]->setOffset(0.0); 61 keyframes[0]->setPropertyValue(CSSPropertyLeft, zeroValue.get()); 62 keyframes[1] = AnimatableValueKeyframe::create(); 63 keyframes[1]->setOffset(1.0); 64 keyframes[1]->setPropertyValue(CSSPropertyLeft, oneValue.get()); 65 return keyframes; 103 AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(unknownAnimatableValue(3.0), unknownAnimatableValue(5.0)); local 104 RefPtrWillBeRawPtr<AnimatableValueKeyframeEffectModel> effect = AnimatableValueKeyframeEffectModel::create(keyframes); 113 AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(unknownAnimatableValue(3.0), unknownAnimatableValue(5.0)); local 122 AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(pixelAnimatableValue(3.0), pixelAnimatableValue(5.0)); local 132 AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(pixelAnimatableValue(3.0), pixelAnimatableValue(5.0)); local 141 AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(pixelAnimatableValue(3.0), pixelAnimatableValue(5.0)); local 152 AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(pixelAnimatableValue(3.0), pixelAnimatableValue(5.0)); local 163 AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(unknownAnimatableValue(3.0), unknownAnimatableValue(5.0)); local 172 AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(pixelAnimatableValue(3.0), pixelAnimatableValue(5.0)); local 182 AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(pixelAnimatableValue(3.0), pixelAnimatableValue(5.0)); local 356 AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(pixelAnimatableValue(3.0), pixelAnimatableValue(5.0)); local 367 AnimatableValueKeyframeVector keyframes = keyframesAtZeroAndOne(pixelAnimatableValue(1.0), pixelAnimatableValue(3.0)); local [all...] |
AnimationTest.cpp | 93 const KeyframeVector keyframes = toKeyframeEffectModelBase(animation->effect())->getFrames(); local 95 EXPECT_EQ(0, keyframes[0]->offset()); 96 EXPECT_EQ(1, keyframes[1]->offset()); 98 const CSSValue* keyframe1Width = toStringKeyframe(keyframes[0].get())->propertyValue(CSSPropertyWidth); 99 const CSSValue* keyframe2Width = toStringKeyframe(keyframes[1].get())->propertyValue(CSSPropertyWidth); 106 EXPECT_EQ(*(CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseInOut)), keyframes[0]->easing()); 107 EXPECT_EQ(*(CubicBezierTimingFunction::create(1, 1, 0.3, 0.3).get()), keyframes[1]->easing());
|
CompositorAnimations.cpp | 184 const KeyframeVector& keyframes = keyframeEffect.getFrames(); local 185 if (keyframes.size() == 2 && keyframes[0]->easing().type() == TimingFunction::LinearFunction && timing.timingFunction->type() != TimingFunction::StepsFunction) 189 // more than two keyframes and step timing functions in the compositor. 358 void CompositorAnimationsImpl::addKeyframesToCurve(WebCompositorAnimationCurve& curve, const PropertySpecificKeyframeVector& keyframes, const Timing& timing) 360 for (size_t i = 0; i < keyframes.size(); i++) { 362 if (i < keyframes.size() - 1) { // Ignore timing function of last frame. 363 if (keyframes.size() == 2 && keyframes[0]->easing().type() == TimingFunction::LinearFunction) { 366 keyframeTimingFunction = &keyframes[i]->easing() [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSKeyframesRule.h | 46 const WillBeHeapVector<RefPtrWillBeMember<StyleKeyframe> >& keyframes() const { return m_keyframes; } function in class:blink::FINAL 73 DEFINE_STYLE_RULE_TYPE_CASTS(Keyframes);
|
/frameworks/base/core/java/android/animation/ |
FloatKeyframeSet.java | 26 * values between those keyframes for a given animation. The class internal to the animation 27 * package because it is an implementation detail of how Keyframes are stored and used. 34 class FloatKeyframeSet extends KeyframeSet implements Keyframes.FloatKeyframes { 40 public FloatKeyframeSet(FloatKeyframe... keyframes) { 41 super(keyframes); 51 final List<Keyframe> keyframes = mKeyframes; local 55 newKeyframes[i] = (FloatKeyframe) keyframes.get(i).clone();
|
IntKeyframeSet.java | 26 * values between those keyframes for a given animation. The class internal to the animation 27 * package because it is an implementation detail of how Keyframes are stored and used. 34 class IntKeyframeSet extends KeyframeSet implements Keyframes.IntKeyframes { 40 public IntKeyframeSet(IntKeyframe... keyframes) { 41 super(keyframes); 51 List<Keyframe> keyframes = mKeyframes; local 55 newKeyframes[i] = (IntKeyframe) keyframes.get(i).clone();
|
KeyframeSet.java | 31 * values between those keyframes for a given animation. The class internal to the animation 32 * package because it is an implementation detail of how Keyframes are stored and used. 34 class KeyframeSet implements Keyframes { 41 List<Keyframe> mKeyframes; // only used when there are not 2 keyframes 45 public KeyframeSet(Keyframe... keyframes) { 46 mNumKeyframes = keyframes.length; 48 mKeyframes = Arrays.asList(keyframes); 49 mFirstKeyframe = keyframes[0]; 50 mLastKeyframe = keyframes[mNumKeyframes - 1]; 55 * If subclass has variables that it calculates based on the Keyframes, it should reset the 68 IntKeyframe keyframes[] = new IntKeyframe[Math.max(numKeyframes,2)]; local 85 FloatKeyframe keyframes[] = new FloatKeyframe[Math.max(numKeyframes,2)]; local 142 ObjectKeyframe keyframes[] = new ObjectKeyframe[Math.max(numKeyframes,2)]; local 182 List<Keyframe> keyframes = mKeyframes; local [all...] |
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...] |
PropertyValuesHolder.java | 77 * The set of keyframes (time/value pairs) that define this animation. 79 Keyframes mKeyframes = null; 219 Keyframes keyframes = KeyframeSet.ofPath(path); local 221 return new MultiIntValuesHolder(propertyName, converter, null, keyframes); 257 * Can be null if the Keyframes have int[] values. 337 Keyframes keyframes = KeyframeSet.ofPath(path); local 339 return new MultiFloatValuesHolder(propertyName, converter, null, keyframes); 374 * Can be null if the Keyframes have float[] values 618 Keyframe keyframes[] = new Keyframe[Math.max(numKeyframes,2)]; local 792 List<Keyframe> keyframes = mKeyframes.getKeyframes(); local 817 List<Keyframe> keyframes = mKeyframes.getKeyframes(); local 894 List<Keyframe> keyframes = mKeyframes.getKeyframes(); local 909 List<Keyframe> keyframes = mKeyframes.getKeyframes(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/parser/ |
CSSGrammar.y | 282 %type <rule> keyframes 503 | keyframes 551 | keyframes 844 keyframes: label [all...] |
BisonCSSParser-in.cpp | 1700 OwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<StyleKeyframe> > > keyframes = popKeyframes; local [all...] |
/external/chromium_org/third_party/android_platform/webview/ |
frameworks.jar | |