Searched refs:candidateBounds (Results 1 – 2 of 2) sorted by relevance
773 Rect candidateBounds = Utils.getBoundsInScreen(candidate); in chooseBestNudgeCandidate() local775 direction, sourceBounds, candidateBounds, bestBounds)) { in chooseBestNudgeCandidate()777 bestBounds.set(candidateBounds); in chooseBestNudgeCandidate()809 Rect candidateBounds = Utils.getBoundsInScreen(candidateNode); in isCandidate()810 return !Rect.intersects(candidateBounds,sourceFocusAreaBounds) in isCandidate()812 sourceFocusAreaBounds, candidateBounds, direction); in isCandidate()831 Rect candidateBounds = Utils.getBoundsInScreen(candidateNode); in isCandidate()832 return FocusFinder.isCandidate(sourceBounds, candidateBounds, direction); in isCandidate()
1038 @NonNull Rect candidateBounds) { in boundsConflict() argument1040 final boolean leftClose = Math.abs(taskBounds.left - candidateBounds.left) in boundsConflict()1042 final boolean topClose = Math.abs(taskBounds.top - candidateBounds.top) in boundsConflict()1044 final boolean rightClose = Math.abs(taskBounds.right - candidateBounds.right) in boundsConflict()1046 final boolean bottomClose = Math.abs(taskBounds.bottom - candidateBounds.bottom) in boundsConflict()