Example #1
0
  /** Clients should not call this directly. Use startEffect() instead. */
  public void effectStep() {

    resizeWidth();
    resizeHeight();
    moveX();
    moveY();

    resizer.resize(currentWidth, currentHeight);
    resizer.move(currentX, currentY);
  }
Example #2
0
 public boolean isEffectComplete() {
   return resizer.resizeComplete(targetWidth, targetHeight)
       && resizer.moveComplete(targetX, targetY);
 }