Merge "Eliminate custom alpha handling in CellLayout"

This commit is contained in:
Michael Jurka
2012-03-21 05:14:55 -07:00
committed by Android (Google) Code Review
7 changed files with 108 additions and 118 deletions
+1 -1
View File
@@ -434,7 +434,7 @@ public class DragLayer extends FrameLayout {
public void animateViewIntoPosition(DragView dragView, final View child, int duration,
final Runnable onFinishAnimationRunnable, View anchorView) {
CellLayoutChildren parentChildren = (CellLayoutChildren) child.getParent();
ShortcutAndWidgetContainer parentChildren = (ShortcutAndWidgetContainer) child.getParent();
CellLayout parent = (CellLayout) (CellLayout) parentChildren.getParent();
CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
parentChildren.measureChild(child);