public void cancel(){
  if (mAnimator != null && mAnimator.isRunning()) {
    mAnimator.cancel();
  }
  if (mTimer != null) {
    mTimer.cancel();
    mTimer.purge();
    cleanupAnimation();
  }
}

public void cancel ( ) { if ( mAnimator != null && mAnimator . isRunning ( ) ) { mAnimator . cancel ( ) ; } if ( mTimer != null ) { mTimer . cancel ( ) ; mTimer . purge ( ) ; cleanupAnimation ( ) ; } }
cancels the particle system and all the animations . to stop emitting but animate until the end , use stopemitting instead .
