Home | History | Annotate | Download | only in mac

Lines Matching refs:anim

98 - (void)animationDidStart:(CAAnimation *)anim;
566 CAAnimation* anim = [fromLayer animationForKey:animName];
567 if (!anim)
572 [anim retain];
574 [toLayer addAnimation:anim forKey:animName];
575 [anim release];
579 [toLayer addAnimation:anim forKey:animName];
710 bool GraphicsLayerCA::addAnimation(const KeyframeValueList& valueList, const IntSize& boxSize, const Animation* anim, const String& keyframesName, double timeOffset)
712 if (forceSoftwareAnimation() || !anim || anim->isEmptyOrZeroDuration() || valueList.size() < 2)
724 createdAnimations = createTransformAnimationsFromKeyframes(valueList, anim, keyframesName, timeOffset, boxSize);
726 createdAnimations = createAnimationFromKeyframes(valueList, anim, keyframesName, timeOffset);
1553 // If this is a keyframe anim, we have to remember the association of keyframes name to property/index pairs,
1836 anim, AnimatedPropertyID property, bool additive)
1839 setupAnimation(basicAnim, anim, additive);
1843 CAKeyframeAnimation* GraphicsLayerCA::createKeyframeAnimation(const Animation* anim, AnimatedPropertyID property, bool additive)
1846 setupAnimation(keyframeAnim, anim, additive);
1850 void GraphicsLayerCA::setupAnimation(CAPropertyAnimation* propertyAnim, const Animation* anim, bool additive)
1852 double duration = anim->duration();
1856 float repeatCount = anim->iterationCount();
1859 else if (anim->direction() == Animation::AnimationDirectionAlternate)
1864 [propertyAnim setAutoreverses:anim->direction()];
1872 CAMediaTimingFunction* GraphicsLayerCA::timingFunctionForAnimationValue(const AnimationValue* animValue, const Animation* anim)
1877 else if (anim->isTimingFunctionSet())
1878 tf = &anim->timingFunction();
1883 bool GraphicsLayerCA::setAnimationEndpoints(const KeyframeValueList& valueList, const Animation* anim, CABasicAnimation* basicAnim)
1903 CAMediaTimingFunction* timingFunction = timingFunctionForAnimationValue(valueList.at(0), anim);
1912 bool GraphicsLayerCA::setAnimationKeyframes(const KeyframeValueList& valueList, const Animation* anim, CAKeyframeAnimation* keyframeAnim)
1933 CAMediaTimingFunction* timingFunction = timingFunctionForAnimationValue(curValue, anim);
1947 bool GraphicsLayerCA::setTransformAnimationEndpoints(const KeyframeValueList& valueList, const Animation* anim, CABasicAnimation* basicAnim, int functionIndex, TransformOperation::OperationType transformOp, bool isMatrixAnimation, const IntSize& boxSize)
1978 CAMediaTimingFunction* timingFunction = timingFunctionForAnimationValue(valueList.at(0), anim);