mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Some cleanup around drag and drop
> Instead of resizing the rect for dragoutline in onDrow, store the resized rect itself > Remove unnecessary inverse matrix calculation Change-Id: If13c3c5aaecba5a1d3a4f5d39199ed82e9662c62
This commit is contained in:
@@ -179,7 +179,7 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
|
||||
private Runnable mPostReorderingPreZoomInRunnable;
|
||||
|
||||
// Convenience/caching
|
||||
protected static final Matrix sTmpInvMatrix = new Matrix();
|
||||
private static final Matrix sTmpInvMatrix = new Matrix();
|
||||
private static final float[] sTmpPoint = new float[2];
|
||||
private static final int[] sTmpIntPoint = new int[2];
|
||||
private static final Rect sTmpRect = new Rect();
|
||||
|
||||
Reference in New Issue
Block a user