Home
last modified time | relevance | path

Searched refs:hitRect (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/views/
DBottomUserEducationView.java140 Rect hitRect = new Rect(); in expandTouchAreaOfCloseButton() local
141 mCloseButton.getHitRect(hitRect); in expandTouchAreaOfCloseButton()
142 hitRect.left -= mCloseButton.getWidth(); in expandTouchAreaOfCloseButton()
143 hitRect.top -= mCloseButton.getHeight(); in expandTouchAreaOfCloseButton()
144 hitRect.right += mCloseButton.getWidth(); in expandTouchAreaOfCloseButton()
145 hitRect.bottom += mCloseButton.getHeight(); in expandTouchAreaOfCloseButton()
147 parent.setTouchDelegate(new TouchDelegate(hitRect, mCloseButton)); in expandTouchAreaOfCloseButton()
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java490 Rect hitRect = new Rect(); in handleTouchDown() local
494 getHitRect(hitRect); in handleTouchDown()
495 if (hitRect.contains(x, y)) { in handleTouchDown()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java2791 Rect hitRect = new Rect();
2796 mViewItems[hit].getHitRect(hitRect);
2797 if (hitRect.contains((int) x, (int) y)) {