Searched refs:hitRect (Results 1 – 3 of 3) sorted by relevance
140 Rect hitRect = new Rect(); in expandTouchAreaOfCloseButton() local141 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()
490 Rect hitRect = new Rect(); in handleTouchDown() local494 getHitRect(hitRect); in handleTouchDown()495 if (hitRect.contains(x, y)) { in handleTouchDown()
2791 Rect hitRect = new Rect();2796 mViewItems[hit].getHitRect(hitRect);2797 if (hitRect.contains((int) x, (int) y)) {