diff options
author | Michael Jurka <mikejurka@google.com> | 2012-05-21 20:36:44 -0700 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2012-06-12 10:52:57 -0700 |
commit | 9bc8eba3338455c5d915055e8ba044981c512dfa (patch) | |
tree | 97a9e5e2ae2dc526d4542b39dda8b2049df8a35d /src/com/android/launcher2/DragLayer.java | |
parent | 3abc8ed439798b7bb792b04c2d3c7f80353595a3 (diff) | |
download | android_packages_apps_Trebuchet-9bc8eba3338455c5d915055e8ba044981c512dfa.tar.gz android_packages_apps_Trebuchet-9bc8eba3338455c5d915055e8ba044981c512dfa.tar.bz2 android_packages_apps_Trebuchet-9bc8eba3338455c5d915055e8ba044981c512dfa.zip |
Clean up warnings and some private API usage
Change-Id: Ic3c0b333942bc3de130e41531017e71358bd5bfb
Diffstat (limited to 'src/com/android/launcher2/DragLayer.java')
-rw-r--r-- | src/com/android/launcher2/DragLayer.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/com/android/launcher2/DragLayer.java b/src/com/android/launcher2/DragLayer.java index 4be1914e0..0bcd64c41 100644 --- a/src/com/android/launcher2/DragLayer.java +++ b/src/com/android/launcher2/DragLayer.java @@ -24,8 +24,6 @@ import android.animation.ValueAnimator.AnimatorUpdateListener; import android.content.Context; import android.content.res.Resources; import android.graphics.Canvas; -import android.graphics.PorterDuff; -import android.graphics.PorterDuffColorFilter; import android.graphics.Rect; import android.graphics.drawable.Drawable; import android.util.AttributeSet; @@ -446,7 +444,6 @@ public class DragLayer extends FrameLayout implements ViewGroup.OnHierarchyChang public void animateViewIntoPosition(DragView dragView, final View child, int duration, final Runnable onFinishAnimationRunnable, View anchorView) { ShortcutAndWidgetContainer parentChildren = (ShortcutAndWidgetContainer) child.getParent(); - CellLayout parent = (CellLayout) (CellLayout) parentChildren.getParent(); CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); parentChildren.measureChild(child); |