/** * 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); }
/** * Called when the element is sampled for its "last" value. */ protected void sampledLastValue(int repeatIteration) { sampledAtUnitTime(1f, repeatIteration); }
/** * Called when the element is sampled for its "last" value. */ protected void sampledLastValue(int repeatIteration) { if (value == null) { value = to; markDirty(); } } }
/** * 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(); } }
/** * 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); }
/** * Creates a new AnimationEngine for the given document. */ public AnimationEngine(Document doc) { this.document = doc; timedDocumentRoot = createDocumentRoot(); }
/** * 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(); } }
/** * Called when the element is sampled at the given time. */ protected void sampledAt(float simpleTime, float simpleDur, int repeatIteration) { if (value == null) { value = to; markDirty(); } }
/** * 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); }
/** * Creates a new AnimationEngine for the given document. */ public AnimationEngine(Document doc) { this.document = doc; timedDocumentRoot = createDocumentRoot(); }
/** * Called when the element is sampled for its "last" value. */ protected void sampledLastValue(int repeatIteration) { sampledAtUnitTime(1f, repeatIteration); }
/** * 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(); } }
/** * Called when the element is sampled at the given time. */ protected void sampledAt(float simpleTime, float simpleDur, int repeatIteration) { if (value == null) { value = to; markDirty(); } }
/** * 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); }
/** * Creates a new AnimationEngine for the given document. */ public AnimationEngine(Document doc) { this.document = doc; timedDocumentRoot = createDocumentRoot(); }
/** * Called when the element is sampled for its "last" value. */ protected void sampledLastValue(int repeatIteration) { if (value == null) { value = to; markDirty(); } } }
/** * Called when the element is sampled for its "last" value. */ protected void sampledLastValue(int repeatIteration) { if (value == null) { value = to; markDirty(); } } }
/** * Called when the element is sampled at the given time. */ protected void sampledAt(float simpleTime, float simpleDur, int repeatIteration) { if (value == null) { value = to; markDirty(); } }