/** * Invoked to indicate that this timed element has had its fill removed. */ public void removeFill(AbstractAnimation anim) { anim.isActive = false; anim.isFrozen = false; anim.value = null; anim.markDirty(); moveToBottom(anim); }
/** * Invoked to indicate that this timed element has been sampled at the given * time. * * @param anim the animation * @param simpleTime the sample time in local simple time * @param simpleDur the simple duration of the element * @param repeatIteration the repeat iteration during which the element was * sampled */ public void sampledAt(AbstractAnimation anim, float simpleTime, float simpleDur, int repeatIteration) { anim.sampledAt(simpleTime, simpleDur, repeatIteration); }
/** * Invoked to indicate that this timed element has been sampled at the end * of its active time, at an integer multiple of the simple duration. This * is the "last" value that will be used for filling, which cannot be * sampled normally. */ public void sampledLastValue(AbstractAnimation anim, int repeatIteration) { anim.sampledLastValue(repeatIteration); }
/** * Marks this animation and any animation that depends on it * as dirty. */ protected void markDirty() { isDirty = true; if (higherAnimation != null && !higherAnimation.willReplace() && !higherAnimation.isDirty) { higherAnimation.markDirty(); } }
/** * Removes an animation from the document. */ public void removeAnimation(AbstractAnimation anim) { // org.apache.batik.anim.timing.Trace.enter(this, "removeAnimation", new Object[] { anim } ); try { timedDocumentRoot.removeChild(anim.getTimedElement()); AbstractAnimation nextHigher = anim.higherAnimation; if (nextHigher != null) { nextHigher.markDirty(); } moveToBottom(anim); if (anim.higherAnimation != null) { anim.higherAnimation.lowerAnimation = null; } AnimationInfo animInfo = getAnimationInfo(anim); Sandwich sandwich = getSandwich(animInfo.target, animInfo.type, animInfo.attributeNamespaceURI, animInfo.attributeLocalName); if (sandwich.animation == anim) { sandwich.animation = null; sandwich.lowestAnimation = null; sandwich.shouldUpdate = true; } // } finally { org.apache.batik.anim.timing.Trace.exit(); } }
if (!willReplace()) { usesUnderlyingValue = true; } else { lowerValue = lowerAnimation.getComposedValue(); usesUnderlyingValue = false;
AbstractAnimation anim = sandwich.animation; if (anim != null) { av = anim.getComposedValue(); usesUnderlying = sandwich.lowestAnimation.usesUnderlyingValue(); anim.isDirty = false; AbstractAnimation anim = sandwich.animation; if (anim != null) { av = anim.getComposedValue(); usesUnderlying = sandwich.lowestAnimation.usesUnderlyingValue(); anim.isDirty = false; AbstractAnimation anim = sandwich.animation; if (anim != null) { av = sandwich.animation.getComposedValue(); anim.isDirty = false;
TimedElement e = anim.getTimedElement(); AbstractAnimation top = null; boolean moved = false; && (anim.lowerAnimation.beginTime > anim.beginTime || anim.lowerAnimation.beginTime == anim.beginTime && e.isBefore(anim.lowerAnimation.getTimedElement()))) { AbstractAnimation higher = anim.higherAnimation; AbstractAnimation lower = anim.lowerAnimation;
/** * Marks this animation and any animation that depends on it * as dirty. */ protected void markDirty() { isDirty = true; if (higherAnimation != null && !higherAnimation.willReplace() && !higherAnimation.isDirty) { higherAnimation.markDirty(); } }
/** * Removes an animation from the document. */ public void removeAnimation(AbstractAnimation anim) { // org.apache.batik.anim.timing.Trace.enter(this, "removeAnimation", new Object[] { anim } ); try { timedDocumentRoot.removeChild(anim.getTimedElement()); AbstractAnimation nextHigher = anim.higherAnimation; if (nextHigher != null) { nextHigher.markDirty(); } moveToBottom(anim); if (anim.higherAnimation != null) { anim.higherAnimation.lowerAnimation = null; } AnimationInfo animInfo = getAnimationInfo(anim); Sandwich sandwich = getSandwich(animInfo.target, animInfo.type, animInfo.attributeNamespaceURI, animInfo.attributeLocalName); if (sandwich.animation == anim) { sandwich.animation = null; sandwich.lowestAnimation = null; sandwich.shouldUpdate = true; } // } finally { org.apache.batik.anim.timing.Trace.exit(); } }
if (!willReplace()) { usesUnderlyingValue = true; } else { lowerValue = lowerAnimation.getComposedValue(); usesUnderlyingValue = false;
AbstractAnimation anim = sandwich.animation; if (anim != null) { av = anim.getComposedValue(); usesUnderlying = sandwich.lowestAnimation.usesUnderlyingValue(); anim.isDirty = false; AbstractAnimation anim = sandwich.animation; if (anim != null) { av = anim.getComposedValue(); usesUnderlying = sandwich.lowestAnimation.usesUnderlyingValue(); anim.isDirty = false; AbstractAnimation anim = sandwich.animation; if (anim != null) { av = sandwich.animation.getComposedValue(); anim.isDirty = false;
TimedElement e = anim.getTimedElement(); AbstractAnimation top = null; boolean moved = false; && (anim.lowerAnimation.beginTime > anim.beginTime || anim.lowerAnimation.beginTime == anim.beginTime && e.isBefore(anim.lowerAnimation.getTimedElement()))) { AbstractAnimation higher = anim.higherAnimation; AbstractAnimation lower = anim.lowerAnimation;
/** * Invoked to indicate that this timed element has had its fill removed. */ public void removeFill(AbstractAnimation anim) { anim.isActive = false; anim.isFrozen = false; anim.value = null; anim.markDirty(); moveToBottom(anim); }
/** * Marks this animation and any animation that depends on it * as dirty. */ protected void markDirty() { isDirty = true; if (higherAnimation != null && !higherAnimation.willReplace() && !higherAnimation.isDirty) { higherAnimation.markDirty(); } }
/** * Removes an animation from the document. */ public void removeAnimation(AbstractAnimation anim) { // org.apache.batik.anim.timing.Trace.enter(this, "removeAnimation", new Object[] { anim } ); try { timedDocumentRoot.removeChild(anim.getTimedElement()); AbstractAnimation nextHigher = anim.higherAnimation; if (nextHigher != null) { nextHigher.markDirty(); } moveToBottom(anim); if (anim.higherAnimation != null) { anim.higherAnimation.lowerAnimation = null; } AnimationInfo animInfo = getAnimationInfo(anim); Sandwich sandwich = getSandwich(animInfo.target, animInfo.type, animInfo.attributeNamespaceURI, animInfo.attributeLocalName); if (sandwich.animation == anim) { sandwich.animation = null; sandwich.lowestAnimation = null; sandwich.shouldUpdate = true; } // } finally { org.apache.batik.anim.timing.Trace.exit(); } }
if (!willReplace()) { usesUnderlyingValue = true; } else { lowerValue = lowerAnimation.getComposedValue(); usesUnderlyingValue = false;
AbstractAnimation anim = sandwich.animation; if (anim != null) { av = anim.getComposedValue(); usesUnderlying = sandwich.lowestAnimation.usesUnderlyingValue(); anim.isDirty = false; AbstractAnimation anim = sandwich.animation; if (anim != null) { av = anim.getComposedValue(); usesUnderlying = sandwich.lowestAnimation.usesUnderlyingValue(); anim.isDirty = false; AbstractAnimation anim = sandwich.animation; if (anim != null) { av = sandwich.animation.getComposedValue(); anim.isDirty = false;
TimedElement e = anim.getTimedElement(); AbstractAnimation top = null; boolean moved = false; && (anim.lowerAnimation.beginTime > anim.beginTime || anim.lowerAnimation.beginTime == anim.beginTime && e.isBefore(anim.lowerAnimation.getTimedElement()))) { AbstractAnimation higher = anim.higherAnimation; AbstractAnimation lower = anim.lowerAnimation;
/** * Invoked to indicate that this timed element has been sampled at the end * of its active time, at an integer multiple of the simple duration. This * is the "last" value that will be used for filling, which cannot be * sampled normally. */ public void sampledLastValue(AbstractAnimation anim, int repeatIteration) { anim.sampledLastValue(repeatIteration); }