mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Simplifying mapCoordInSelfToDescendant
> Removing new object creation (during draw and touch handling) > Simplifying matrix operation to call invert only once at the end Change-Id: Iffadd6e9d84997baa36719ed688a7c3c1027e839
This commit is contained in:
@@ -172,7 +172,7 @@ public class AllAppsContainerView extends BaseContainerView implements DragSourc
|
||||
int[] point = new int[2];
|
||||
point[0] = (int) ev.getX();
|
||||
point[1] = (int) ev.getY();
|
||||
Utilities.mapCoordInSelfToDescendent(mAppsRecyclerView, this, point);
|
||||
Utilities.mapCoordInSelfToDescendant(mAppsRecyclerView, this, point);
|
||||
|
||||
// IF the MotionEvent is inside the search box, and the container keeps on receiving
|
||||
// touch input, container should move down.
|
||||
|
||||
Reference in New Issue
Block a user