/** * Invoked to indicate an animation became active at the specified time. * * @param anim the animation * @param begin the time the element became active, in document simple time */ public void toActive(AbstractAnimation anim, float begin) { moveToTop(anim); anim.isActive = true; anim.beginTime = begin; anim.isFrozen = false; // Move the animation down, in case it began at the same time as another // animation in the sandwich and it's earlier in document order. pushDown(anim); anim.markDirty(); }
/** * Invoked to indicate an animation became active at the specified time. * * @param anim the animation * @param begin the time the element became active, in document simple time */ public void toActive(AbstractAnimation anim, float begin) { moveToTop(anim); anim.isActive = true; anim.beginTime = begin; anim.isFrozen = false; // Move the animation down, in case it began at the same time as another // animation in the sandwich and it's earlier in document order. pushDown(anim); anim.markDirty(); }
/** * Invoked to indicate an animation became active at the specified time. * * @param anim the animation * @param begin the time the element became active, in document simple time */ public void toActive(AbstractAnimation anim, float begin) { moveToTop(anim); anim.isActive = true; anim.beginTime = begin; anim.isFrozen = false; // Move the animation down, in case it began at the same time as another // animation in the sandwich and it's earlier in document order. pushDown(anim); anim.markDirty(); }