Home
last modified time | relevance | path

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

/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DNavigator.java492 Rect sourceBounds = Utils.getBoundsInScreen(sourceNode); in findNudgeTargetFocusArea() local
494 AccessibilityNodeInfo targetFocusArea = chooseBestNudgeCandidate(sourceBounds, in findNudgeTargetFocusArea()
564 Rect sourceBounds = Utils.getBoundsInScreen(sourceNode); in shouldNudgeOutOfIme() local
568 if (isCandidate(sourceBounds, sourceFocusAreaBounds, candidate, candidateBounds, in shouldNudgeOutOfIme()
618 Rect sourceBounds = new Rect(); in addWindowsInDirection() local
619 source.getBoundsInScreen(sourceBounds); in addWindowsInDirection()
620 boolean isSourceWindowOverlayWindow = isOverlayWindow(source, sourceBounds); in addWindowsInDirection()
638 if (FocusFinder.isPartiallyInDirection(sourceBounds, destBounds, direction)) { in addWindowsInDirection()
878 private AccessibilityNodeInfo chooseBestNudgeCandidate(@NonNull Rect sourceBounds, in chooseBestNudgeCandidate() argument
891 if (isCandidate(sourceBounds, sourceFocusAreaBounds, candidate, candidateBounds, in chooseBestNudgeCandidate()
[all …]
DRotaryService.java1678 Rect sourceBounds = new Rect(); in nudgeTo() local
1679 sourceWindow.getBoundsInScreen(sourceBounds); in nudgeTo()
1680 if (mNavigator.isDismissible(sourceWindow, sourceBounds, direction)) { in nudgeTo()
1690 + sourceBounds); in nudgeTo()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.kt585 val sourceBounds = Rect(0, 0, source.getHeight(), source.getWidth()) in getAlertAnimator() constant
586 containerView.offsetDescendantRectToMyCoords(source, sourceBounds) in getAlertAnimator()
588 val centerX: Int = sourceBounds.centerX() in getAlertAnimator()
589 val centerY: Int = sourceBounds.centerY() in getAlertAnimator()
594 val startRadius: Float = max(sourceBounds.width(), sourceBounds.height()) / 2.0f in getAlertAnimator()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPackageManagerHelper.java211 Rect sourceBounds, Bundle opts) { in startDetailsActivityForInfo() argument
231 info.user, sourceBounds, opts); in startDetailsActivityForInfo()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DSystemShortcut.java183 Rect sourceBounds = Utilities.getViewBounds(view); in onClick() local
185 sourceBounds, ActivityOptions.makeBasic().toBundle()); in onClick() local