Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DPinnedTaskController.java257 final Rect areaBounds = taskArea.getBounds(); in startSeamlessRotationIfNeeded() local
266 dy = areaBounds.right - pipTx.mPosition.x; in startSeamlessRotationIfNeeded()
269 dx = areaBounds.bottom - pipTx.mPosition.y; in startSeamlessRotationIfNeeded()
298 final Rect contentBounds = sourceHintRect != null && areaBounds.contains(sourceHintRect) in startSeamlessRotationIfNeeded()
299 ? sourceHintRect : areaBounds; in startSeamlessRotationIfNeeded()
303 final int insetLeft = (int) ((contentBounds.left - areaBounds.left) * scale + .5f); in startSeamlessRotationIfNeeded()
304 final int insetTop = (int) ((contentBounds.top - areaBounds.top) * scale + .5f); in startSeamlessRotationIfNeeded()