New folder visualization, renaming, staggering reorder

Change-Id: I62963d225e6ea5d2ec9d8ebc8a6d73099f5d6c7f
This commit is contained in:
Adam Cohen
2011-06-17 13:26:23 -07:00
parent b6c2a87511
commit 76fc085d28
24 changed files with 357 additions and 140 deletions

View File

@@ -262,10 +262,12 @@ public class BubbleTextView extends TextView implements VisibilityChangedBroadca
}
void setCellLayoutPressedOrFocusedIcon() {
CellLayoutChildren parent = (CellLayoutChildren) getParent();
if (parent != null) {
CellLayout layout = (CellLayout) parent.getParent();
layout.setPressedOrFocusedIcon((mPressedOrFocusedBackground != null) ? this : null);
if (getParent() instanceof CellLayoutChildren) {
CellLayoutChildren parent = (CellLayoutChildren) getParent();
if (parent != null) {
CellLayout layout = (CellLayout) parent.getParent();
layout.setPressedOrFocusedIcon((mPressedOrFocusedBackground != null) ? this : null);
}
}
}