Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DFocusFinder.java701 Rect touchableBounds = mOtherRect; in findNearestTouchable() local
707 touchable.getDrawingRect(touchableBounds); in findNearestTouchable()
709 root.offsetRectBetweenParentAndChild(touchable, touchableBounds, true, true); in findNearestTouchable()
711 if (!isTouchCandidate(x, y, touchableBounds, direction)) { in findNearestTouchable()
719 distance = x - touchableBounds.right + 1; in findNearestTouchable()
722 distance = touchableBounds.left; in findNearestTouchable()
725 distance = y - touchableBounds.bottom + 1; in findNearestTouchable()
728 distance = touchableBounds.top; in findNearestTouchable()
735 closestBounds.contains(touchableBounds) || in findNearestTouchable()
736 (!touchableBounds.contains(closestBounds) && distance < minDistance)) { in findNearestTouchable()
[all …]