summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/trebuchet/LauncherViewPropertyAnimator.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/cyanogenmod/trebuchet/LauncherViewPropertyAnimator.java')
-rw-r--r--src/com/cyanogenmod/trebuchet/LauncherViewPropertyAnimator.java11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/com/cyanogenmod/trebuchet/LauncherViewPropertyAnimator.java b/src/com/cyanogenmod/trebuchet/LauncherViewPropertyAnimator.java
index ee67b7f..3a00225 100644
--- a/src/com/cyanogenmod/trebuchet/LauncherViewPropertyAnimator.java
+++ b/src/com/cyanogenmod/trebuchet/LauncherViewPropertyAnimator.java
@@ -79,7 +79,16 @@ public class LauncherViewPropertyAnimator extends Animator implements AnimatorLi
@Override
public void end() {
- throw new RuntimeException("Not implemented");
+ if (mViewPropertyAnimator != null) {
+ mViewPropertyAnimator.cancel();
+ mTarget.setTranslationX(mTranslationX);
+ mTarget.setTranslationY(mTranslationY);
+ mTarget.setScaleX(mScaleX);
+ mTarget.setScaleY(mScaleY);
+ mTarget.setRotation(mRotation);
+ mTarget.setRotationY(mRotationY);
+ mTarget.setAlpha(mAlpha);
+ }
}
@Override