Cleanup and refactoring in relation to drag and drop
-> folder creation, adding to folders, reordering, switching pages -> ensuring parity of dragEnter and dragExit in cell layouts and workspace (neither were consistently getting an even number of each) -> actually enforced above with exceptions -- probably want to take these out, but maybe we can leave them in as warnings -> fixed bug with mapping points to hotseat -> fixes other bugs with drag and drop Change-Id: I564568f810f2784d122ec6135012b67c2e8e7551
This commit is contained in:
1 parent
cffc0b9bee
commit
c6cc61d458
5 files changed
+248
-193
No files matched your search
@@ -325,7 +325,10 @@ public class FolderIcon extends LinearLayout implements FolderListener {
|
||||
}
|
||||
|
||||
public void onDragExit(Object dragInfo) {
|
||||
if (!willAcceptItem((ItemInfo) dragInfo)) return;
|
||||
onDragExit();
|
||||
}
|
||||
|
||||
public void onDragExit() {
|
||||
mFolderRingAnimator.animateToNaturalState();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user