Home
last modified time | relevance | path

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

/aosp12/packages/apps/Car/RotaryController/src/com/android/car/rotary/
H A DNavigator.java773 Rect candidateBounds = Utils.getBoundsInScreen(candidate); in chooseBestNudgeCandidate() local
775 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()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskLaunchParamsModifier.java1038 @NonNull Rect candidateBounds) { in boundsConflict() argument
1040 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()