• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/WebCore-7537.78.1/platform/graphics/ca/mac/

Lines Matching refs:PlatformCAAnimation

30 #import "PlatformCAAnimation.h"
43 static bool hasNonZeroBeginTimeFlag(const PlatformCAAnimation* animation)
48 static void setNonZeroBeginTimeFlag(PlatformCAAnimation* animation, bool value)
53 static NSString* toCAFillModeType(PlatformCAAnimation::FillModeType type)
56 case PlatformCAAnimation::NoFillMode:
57 case PlatformCAAnimation::Forwards: return kCAFillModeForwards;
58 case PlatformCAAnimation::Backwards: return kCAFillModeBackwards;
59 case PlatformCAAnimation::Both: return kCAFillModeBoth;
64 static PlatformCAAnimation::FillModeType fromCAFillModeType(NSString* string)
67 return PlatformCAAnimation::Backwards;
70 return PlatformCAAnimation::Both;
72 return PlatformCAAnimation::Forwards;
75 static NSString* toCAValueFunctionType(PlatformCAAnimation::ValueFunctionType type)
78 case PlatformCAAnimation::NoValueFunction: return @"";
79 case PlatformCAAnimation::RotateX: return kCAValueFunctionRotateX;
80 case PlatformCAAnimation::RotateY: return kCAValueFunctionRotateY;
81 case PlatformCAAnimation::RotateZ: return kCAValueFunctionRotateZ;
82 case PlatformCAAnimation::ScaleX: return kCAValueFunctionScaleX;
83 case PlatformCAAnimation::ScaleY: return kCAValueFunctionScaleY;
84 case PlatformCAAnimation::ScaleZ: return kCAValueFunctionScaleZ;
85 case PlatformCAAnimation::Scale: return kCAValueFunctionScale;
86 case PlatformCAAnimation::TranslateX: return kCAValueFunctionTranslateX;
87 case PlatformCAAnimation::TranslateY: return kCAValueFunctionTranslateY;
88 case PlatformCAAnimation::TranslateZ: return kCAValueFunctionTranslateZ;
89 case PlatformCAAnimation::Translate: return kCAValueFunctionTranslate;
94 static PlatformCAAnimation::ValueFunctionType fromCAValueFunctionType(NSString* string)
97 return PlatformCAAnimation::RotateX;
100 return PlatformCAAnimation::RotateY;
103 return PlatformCAAnimation::RotateZ;
106 return PlatformCAAnimation::ScaleX;
109 return PlatformCAAnimation::ScaleY;
112 return PlatformCAAnimation::ScaleZ;
115 return PlatformCAAnimation::Scale;
118 return PlatformCAAnimation::TranslateX;
121 return PlatformCAAnimation::TranslateY;
124 return PlatformCAAnimation::TranslateZ;
127 return PlatformCAAnimation::Translate;
129 return PlatformCAAnimation::NoValueFunction;
154 PassRefPtr<PlatformCAAnimation> PlatformCAAnimation::create(AnimationType type, const String& keyPath)
156 return adoptRef(new PlatformCAAnimation(type, keyPath));
159 PassRefPtr<PlatformCAAnimation> PlatformCAAnimation::create(PlatformAnimationRef animation)
161 return adoptRef(new PlatformCAAnimation(animation));
164 PlatformCAAnimation::PlatformCAAnimation(AnimationType type, const String& keyPath)
173 PlatformCAAnimation::PlatformCAAnimation(PlatformAnimationRef animation)
187 PassRefPtr<PlatformCAAnimation> PlatformCAAnimation::copy() const
189 RefPtr<PlatformCAAnimation> animation = create(animationType(), keyPath());
217 PlatformCAAnimation::~PlatformCAAnimation()
221 bool PlatformCAAnimation::supportsValueFunction()
227 PlatformAnimationRef PlatformCAAnimation::platformAnimation() const
232 String PlatformCAAnimation::keyPath() const
237 CFTimeInterval PlatformCAAnimation::beginTime() const
242 void PlatformCAAnimation::setBeginTime(CFTimeInterval value)
254 CFTimeInterval PlatformCAAnimation::duration() const
259 void PlatformCAAnimation::setDuration(CFTimeInterval value)
264 float PlatformCAAnimation::speed() const
269 void PlatformCAAnimation::setSpeed(float value)
274 CFTimeInterval PlatformCAAnimation::timeOffset() const
279 void PlatformCAAnimation::setTimeOffset(CFTimeInterval value)
284 float PlatformCAAnimation::repeatCount() const
289 void PlatformCAAnimation::setRepeatCount(float value)
294 bool PlatformCAAnimation::autoreverses() const
299 void PlatformCAAnimation::setAutoreverses(bool value)
304 PlatformCAAnimation::FillModeType PlatformCAAnimation::fillMode() const
309 void PlatformCAAnimation::setFillMode(FillModeType value)
314 void PlatformCAAnimation::setTimingFunction(const TimingFunction* value, bool reverse)
319 void PlatformCAAnimation::copyTimingFunctionFrom(const PlatformCAAnimation* value)
324 bool PlatformCAAnimation::isRemovedOnCompletion() const
329 void PlatformCAAnimation::setRemovedOnCompletion(bool value)
334 bool PlatformCAAnimation::isAdditive() const
339 void PlatformCAAnimation::setAdditive(bool value)
344 PlatformCAAnimation::ValueFunctionType PlatformCAAnimation::valueFunction() const
350 void PlatformCAAnimation::setValueFunction(ValueFunctionType value)
355 void PlatformCAAnimation::setFromValue(float value)
362 void PlatformCAAnimation::setFromValue(const WebCore::TransformationMatrix& value)
370 void PlatformCAAnimation::setFromValue(const FloatPoint3D& value)
383 void PlatformCAAnimation::setFromValue(const WebCore::Color& value)
398 void PlatformCAAnimation::setFromValue(const FilterOperation* operation, int internalFilterPropertyIndex)
405 void PlatformCAAnimation::copyFromValueFrom(const PlatformCAAnimation* value)
414 void PlatformCAAnimation::setToValue(float value)
421 void PlatformCAAnimation::setToValue(const WebCore::TransformationMatrix& value)
429 void PlatformCAAnimation::setToValue(const FloatPoint3D& value)
442 void PlatformCAAnimation::setToValue(const WebCore::Color& value)
457 void PlatformCAAnimation::setToValue(const FilterOperation* operation, int internalFilterPropertyIndex)
464 void PlatformCAAnimation::copyToValueFrom(const PlatformCAAnimation* value)
475 void PlatformCAAnimation::setValues(const Vector<float>& value)
486 void PlatformCAAnimation::setValues(const Vector<WebCore::TransformationMatrix>& value)
499 void PlatformCAAnimation::setValues(const Vector<FloatPoint3D>& value)
517 void PlatformCAAnimation::setValues(const Vector<WebCore::Color>& value)
537 void PlatformCAAnimation::setValues(const Vector<RefPtr<FilterOperation> >& values, int internalFilterPropertyIndex)
552 void PlatformCAAnimation::copyValuesFrom(const PlatformCAAnimation* value)
561 void PlatformCAAnimation::setKeyTimes(const Vector<float>& value)
571 void PlatformCAAnimation::copyKeyTimesFrom(const PlatformCAAnimation* value)
577 void PlatformCAAnimation::setTimingFunctions(const Vector<const TimingFunction*>& value, bool reverse)
587 void PlatformCAAnimation::copyTimingFunctionsFrom(const PlatformCAAnimation* value)