Substantially improved performance of dragging and drop animations
-> Took DragView drawing out of the window and put it into the DragLayer -> Added fade-in/out animations to transition between the final view and the DragView, after the view animates -> Enabled hardware layers on Folder items which improves the performance Folder reordering Change-Id: I4d92ca9fba172d1bab9efc215a99abcaadcdf503
This commit is contained in:
1 parent
eb99f1648c
commit
8dfcba4af7
10 files changed
+183
-189
No files matched your search
@@ -706,8 +706,6 @@ public class CellLayout extends ViewGroup {
|
||||
// The child hit rect is relative to the CellLayoutChildren parent, so we need to
|
||||
// offset that by this CellLayout's padding to test an (x,y) point that is relative
|
||||
// to this view.
|
||||
final int tmpXY[] = mTmpXY;
|
||||
child.getLocationOnScreen(tmpXY);
|
||||
frame.offset(mPaddingLeft, mPaddingTop);
|
||||
|
||||
if (frame.contains(x, y)) {
|
||||
|
||||
Reference in new issue
Block a user