diff options
author | John Reck <jreck@google.com> | 2014-07-18 16:22:09 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2014-07-19 02:00:15 +0000 |
commit | c01bd1167a1b08d59557f214ddc48cf24d3b8d0a (patch) | |
tree | 6b1b2e5dea2cdd0027a17cfdcccf9f781f1c52cc /packages | |
parent | 6eed108eeb66d123c47e7066d23738ca8dd8bdd4 (diff) | |
download | frameworks_base-c01bd1167a1b08d59557f214ddc48cf24d3b8d0a.zip frameworks_base-c01bd1167a1b08d59557f214ddc48cf24d3b8d0a.tar.gz frameworks_base-c01bd1167a1b08d59557f214ddc48cf24d3b8d0a.tar.bz2 |
Return Animator instead of ValueAnimator
Change-Id: I29a7cfdc7ffbb3a4d33f9e64f9d7ca791f5c947c
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/qs/CircularClipper.java | 3 | ||||
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/CircularClipper.java b/packages/SystemUI/src/com/android/systemui/qs/CircularClipper.java index 327ed6a..90275c1 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/CircularClipper.java +++ b/packages/SystemUI/src/com/android/systemui/qs/CircularClipper.java @@ -19,7 +19,6 @@ package com.android.systemui.qs; import android.animation.Animator; import android.animation.Animator.AnimatorListener; import android.animation.AnimatorListenerAdapter; -import android.animation.ValueAnimator; import android.view.View; import android.view.ViewAnimationUtils; @@ -28,7 +27,7 @@ public class CircularClipper { private final View mTarget; - private ValueAnimator mAnimator; + private Animator mAnimator; public CircularClipper(View target) { mTarget = target; diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java b/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java index c02a598..944a407 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java @@ -244,7 +244,7 @@ public abstract class ActivatableNotificationView extends ExpandableOutlineView int widthHalf = mBackgroundNormal.getWidth()/2; int heightHalf = mBackgroundNormal.getActualHeight()/2; float radius = (float) Math.sqrt(widthHalf*widthHalf + heightHalf*heightHalf); - ValueAnimator animator = + Animator animator = ViewAnimationUtils.createCircularReveal(mBackgroundNormal, widthHalf, heightHalf, 0, radius); mBackgroundNormal.setVisibility(View.VISIBLE); |