Searched refs:mHitRect (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DragLayer.java | 78 private final Rect mHitRect = new Rect(); field in DragLayer 144 getDescendantRectRelativeToSelf(folder.getEditTextRegion(), mHitRect); in isEventOverFolderTextRegion() local 145 if (mHitRect.contains((int) ev.getX(), (int) ev.getY())) { in isEventOverFolderTextRegion() 152 getDescendantRectRelativeToSelf(folder, mHitRect); in isEventOverFolder() 153 if (mHitRect.contains((int) ev.getX(), (int) ev.getY())) { in isEventOverFolder() 160 getDescendantRectRelativeToSelf(mLauncher.getSearchDropTargetBar(), mHitRect); in isEventOverDropTargetBar() local 161 if (mHitRect.contains((int) ev.getX(), (int) ev.getY())) { in isEventOverDropTargetBar()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | DragLayer.java | 71 private Rect mHitRect = new Rect(); field in DragLayer 107 getDescendantRectRelativeToSelf(folder.getEditTextRegion(), mHitRect); in isEventOverFolderTextRegion() local 108 if (mHitRect.contains((int) ev.getX(), (int) ev.getY())) { in isEventOverFolderTextRegion() 115 getDescendantRectRelativeToSelf(folder, mHitRect); in isEventOverFolder() 116 if (mHitRect.contains((int) ev.getX(), (int) ev.getY())) { in isEventOverFolder()
|