Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DFocusFinder.java691 Rect touchableBounds = mOtherRect; in findNearestTouchable() local
697 touchable.getDrawingRect(touchableBounds); in findNearestTouchable()
699 root.offsetRectBetweenParentAndChild(touchable, touchableBounds, true, true); in findNearestTouchable()
701 if (!isTouchCandidate(x, y, touchableBounds, direction)) { in findNearestTouchable()
709 distance = x - touchableBounds.right + 1; in findNearestTouchable()
712 distance = touchableBounds.left; in findNearestTouchable()
715 distance = y - touchableBounds.bottom + 1; in findNearestTouchable()
718 distance = touchableBounds.top; in findNearestTouchable()
725 closestBounds.contains(touchableBounds) || in findNearestTouchable()
726 (!touchableBounds.contains(closestBounds) && distance < minDistance)) { in findNearestTouchable()
[all …]