Fix two pieces of folder jank

-> Folder icon gets clipped when animating from dock
   as well as a couple other cases (issue 5849615)
-> Blip when creating folder (issue 6623095)

Change-Id: I638c9a7876de2f87eb8e96a9eb192fa4a127fb4a
This commit is contained in:
Adam Cohen committed 2012-06-07 11:53:34 -07:00
1 parent 478244409e
commit 268c4751b5
3 files changed
+85 -23

No files matched your search

+1 -6
View File
@@ -321,12 +321,7 @@ public class FolderIcon extends LinearLayout implements FolderListener {
// This will animate the first item from it's position as an icon into its
// position as the first item in the preview
animateFirstItem(animateDrawable, INITIAL_ITEM_ANIMATION_DURATION);
postDelayed(new Runnable() {
public void run() {
addItem(destInfo);
}
}, INITIAL_ITEM_ANIMATION_DURATION);
addItem(destInfo);
}
public void onDragExit(Object dragInfo) {