Searched refs:pipTx (Results 1 – 2 of 2) sorted by relevance
245 final boolean emptyPipPositionTx = pipTx == null || pipTx.mPosition == null; in startSeamlessRotationIfNeeded()261 float dx = pipTx.mPosition.x; in startSeamlessRotationIfNeeded()262 float dy = pipTx.mPosition.y; in startSeamlessRotationIfNeeded()263 final Matrix matrix = pipTx.getMatrix(); in startSeamlessRotationIfNeeded()264 if (pipTx.mRotation == 90) { in startSeamlessRotationIfNeeded()265 dx = pipTx.mPosition.y; in startSeamlessRotationIfNeeded()266 dy = areaBounds.right - pipTx.mPosition.x; in startSeamlessRotationIfNeeded()268 } else if (pipTx.mRotation == -90) { in startSeamlessRotationIfNeeded()269 dx = areaBounds.bottom - pipTx.mPosition.y; in startSeamlessRotationIfNeeded()270 dy = pipTx.mPosition.x; in startSeamlessRotationIfNeeded()[all …]
278 @Nullable SurfaceControl.Transaction pipTx, in resizePipMenu() argument293 if (pipTx == null) { in resizePipMenu()294 pipTx = new SurfaceControl.Transaction(); in resizePipMenu()305 syncGroup.addTransaction(pipTx); in resizePipMenu()320 if (pipTx == null) { in movePipMenu()333 if (pipTx == null) { in movePipMenu()334 pipTx = new SurfaceControl.Transaction(); in movePipMenu()337 pipTx.setPosition(backSurface, menuDestBounds.left, menuDestBounds.top); in movePipMenu()340 pipTx.setAlpha(frontSurface, alpha); in movePipMenu()341 pipTx.setAlpha(backSurface, alpha); in movePipMenu()[all …]