Merge "Eliminate custom alpha handling in CellLayout"

This commit is contained in:
Michael Jurka authored and Android (Google) Code Review committed 2012-03-21 05:14:55 -07:00
commit 08c93d7eca
7 files changed
+108 -118

No files matched your search

+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);