Lines Matching defs:PlatformCAAnimation
30 #include "PlatformCAAnimation.h"
44 static CFStringRef toCACFFillModeType(PlatformCAAnimation::FillModeType type)
47 case PlatformCAAnimation::NoFillMode:
48 case PlatformCAAnimation::Forwards: return kCACFFillModeForwards;
49 case PlatformCAAnimation::Backwards: return kCACFFillModeBackwards;
50 case PlatformCAAnimation::Both: return kCACFFillModeBoth;
56 static PlatformCAAnimation::FillModeType fromCACFFillModeType(CFStringRef string)
59 return PlatformCAAnimation::Backwards;
62 return PlatformCAAnimation::Both;
64 return PlatformCAAnimation::Forwards;
67 static CFStringRef toCACFValueFunctionType(PlatformCAAnimation::ValueFunctionType type)
70 case PlatformCAAnimation::NoValueFunction: return 0;
71 case PlatformCAAnimation::RotateX: return kCACFValueFunctionRotateX;
72 case PlatformCAAnimation::RotateY: return kCACFValueFunctionRotateY;
73 case PlatformCAAnimation::RotateZ: return kCACFValueFunctionRotateZ;
74 case PlatformCAAnimation::ScaleX: return kCACFValueFunctionScaleX;
75 case PlatformCAAnimation::ScaleY: return kCACFValueFunctionScaleY;
76 case PlatformCAAnimation::ScaleZ: return kCACFValueFunctionScaleZ;
77 case PlatformCAAnimation::Scale: return kCACFValueFunctionScale;
78 case PlatformCAAnimation::TranslateX: return kCACFValueFunctionTranslateX;
79 case PlatformCAAnimation::TranslateY: return kCACFValueFunctionTranslateY;
80 case PlatformCAAnimation::TranslateZ: return kCACFValueFunctionTranslateZ;
81 case PlatformCAAnimation::Translate: return kCACFValueFunctionTranslate;
87 static PlatformCAAnimation::ValueFunctionType fromCACFValueFunctionType(CFStringRef string)
90 return PlatformCAAnimation::RotateX;
93 return PlatformCAAnimation::RotateY;
96 return PlatformCAAnimation::RotateZ;
99 return PlatformCAAnimation::ScaleX;
102 return PlatformCAAnimation::ScaleY;
105 return PlatformCAAnimation::ScaleZ;
108 return PlatformCAAnimation::Scale;
111 return PlatformCAAnimation::TranslateX;
114 return PlatformCAAnimation::TranslateY;
117 return PlatformCAAnimation::TranslateZ;
120 return PlatformCAAnimation::Translate;
122 return PlatformCAAnimation::NoValueFunction;
136 PassRefPtr<PlatformCAAnimation> PlatformCAAnimation::create(AnimationType type, const String& keyPath)
138 return adoptRef(new PlatformCAAnimation(type, keyPath));
141 PassRefPtr<PlatformCAAnimation> PlatformCAAnimation::create(PlatformAnimationRef animation)
143 return adoptRef(new PlatformCAAnimation(animation));
146 PlatformCAAnimation::PlatformCAAnimation(AnimationType type, const String& keyPath)
158 PlatformCAAnimation::PlatformCAAnimation(PlatformAnimationRef animation)
172 PassRefPtr<PlatformCAAnimation> PlatformCAAnimation::copy() const
174 RefPtr<PlatformCAAnimation> animation = create(animationType(), keyPath());
201 PlatformCAAnimation::~PlatformCAAnimation()
205 bool PlatformCAAnimation::supportsValueFunction()
210 PlatformAnimationRef PlatformCAAnimation::platformAnimation() const
215 String PlatformCAAnimation::keyPath() const
220 CFTimeInterval PlatformCAAnimation::beginTime() const
225 void PlatformCAAnimation::setBeginTime(CFTimeInterval value)
230 CFTimeInterval PlatformCAAnimation::duration() const
235 void PlatformCAAnimation::setDuration(CFTimeInterval value)
240 float PlatformCAAnimation::speed() const
245 void PlatformCAAnimation::setSpeed(float value)
250 CFTimeInterval PlatformCAAnimation::timeOffset() const
255 void PlatformCAAnimation::setTimeOffset(CFTimeInterval value)
260 float PlatformCAAnimation::repeatCount() const
265 void PlatformCAAnimation::setRepeatCount(float value)
270 bool PlatformCAAnimation::autoreverses() const
275 void PlatformCAAnimation::setAutoreverses(bool value)
280 PlatformCAAnimation::FillModeType PlatformCAAnimation::fillMode() const
285 void PlatformCAAnimation::setFillMode(FillModeType value)
290 void PlatformCAAnimation::setTimingFunction(const TimingFunction* value)
295 void PlatformCAAnimation::copyTimingFunctionFrom(const PlatformCAAnimation* value)
300 bool PlatformCAAnimation::isRemovedOnCompletion() const
305 void PlatformCAAnimation::setRemovedOnCompletion(bool value)
310 bool PlatformCAAnimation::isAdditive() const
315 void PlatformCAAnimation::setAdditive(bool value)
320 PlatformCAAnimation::ValueFunctionType PlatformCAAnimation::valueFunction() const
325 void PlatformCAAnimation::setValueFunction(ValueFunctionType value)
330 void PlatformCAAnimation::setFromValue(float value)
339 void PlatformCAAnimation::setFromValue(const WebCore::TransformationMatrix& value)
348 void PlatformCAAnimation::setFromValue(const FloatPoint3D& value)
358 void PlatformCAAnimation::setFromValue(const WebCore::Color& value)
368 void PlatformCAAnimation::copyFromValueFrom(const PlatformCAAnimation* value)
376 void PlatformCAAnimation::setToValue(float value)
385 void PlatformCAAnimation::setToValue(const WebCore::TransformationMatrix& value)
394 void PlatformCAAnimation::setToValue(const FloatPoint3D& value)
404 void PlatformCAAnimation::setToValue(const WebCore::Color& value)
414 void PlatformCAAnimation::copyToValueFrom(const PlatformCAAnimation* value)
424 void PlatformCAAnimation::setValues(const Vector<float>& value)
438 void PlatformCAAnimation::setValues(const Vector<WebCore::TransformationMatrix>& value)
452 void PlatformCAAnimation::setValues(const Vector<FloatPoint3D>& value)
467 void PlatformCAAnimation::setValues(const Vector<WebCore::Color>& value)
482 void PlatformCAAnimation::copyValuesFrom(const PlatformCAAnimation* value)
490 void PlatformCAAnimation::setKeyTimes(const Vector<float>& value)
504 void PlatformCAAnimation::copyKeyTimesFrom(const PlatformCAAnimation* value)
512 void PlatformCAAnimation::setTimingFunctions(const Vector<const TimingFunction*>& value)
526 void PlatformCAAnimation::copyTimingFunctionsFrom(const PlatformCAAnimation* value)