Searched refs:parentSurface (Results 1 – 2 of 2) sorted by relevance
423 private void reparentWallpaperSurface(SurfaceView parentSurface) { in reparentWallpaperSurface() argument424 if (parentSurface == null) { in reparentWallpaperSurface()433 if (parentSurface.getSurfaceControl() != null) { in reparentWallpaperSurface()434 mirrorAndReparent(parentSurface); in reparentWallpaperSurface()437 parentSurface.getHolder().addCallback(new Callback() { in reparentWallpaperSurface()445 mirrorAndReparent(parentSurface); in reparentWallpaperSurface()446 parentSurface.getHolder().removeCallback(this); in reparentWallpaperSurface()457 private void mirrorAndReparent(SurfaceView parentSurface) { in mirrorAndReparent() argument467 SurfaceControl parentSC = parentSurface.getSurfaceControl(); in mirrorAndReparent()472 float[] values = getScale(parentSurface); in mirrorAndReparent()[all …]
282 parentSurface: SurfaceView, in <lambda>()291 val parentSurfaceControl = parentSurface.surfaceControl in <lambda>()296 val values = getScale(parentSurface, displayMetrics) in <lambda>()333 private fun getScale(parentSurface: SurfaceView, displayMetrics: Point): FloatArray { in <lambda>()336 val surfacePosition = parentSurface.holder.surfaceFrame in <lambda>()