Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/window/
DSnapshotDrawerUtils.java196 SurfaceControl childSurfaceControl = new SurfaceControl.Builder(session) in drawSizeMismatchSnapshot() local
210 mTransaction.show(childSurfaceControl); in drawSizeMismatchSnapshot()
229 mTransaction.setCrop(childSurfaceControl, crop); in drawSizeMismatchSnapshot()
236 mTransaction.setPosition(childSurfaceControl, in drawSizeMismatchSnapshot()
243 mTransaction.setScale(childSurfaceControl, scaleX, scaleY); in drawSizeMismatchSnapshot()
244 mTransaction.setColorSpace(childSurfaceControl, mSnapshot.getColorSpace()); in drawSizeMismatchSnapshot()
245 mTransaction.setBuffer(childSurfaceControl, mSnapshot.getHardwareBuffer()); in drawSizeMismatchSnapshot()
257 childSurfaceControl.release(); in drawSizeMismatchSnapshot()
266 childSurfaceControl.release(); in drawSizeMismatchSnapshot()
/frameworks/base/apct-tests/perftests/surfaceflinger/src/android/surfaceflinger/
DSurfaceFlingerPerfTest.java255 SurfaceControl childSurfaceControl = new SurfaceControl.Builder() in addRemoveLayers() local
257 mBufferTrackers.get(0).addBuffer(mTransaction, childSurfaceControl); in addRemoveLayers()
258 mTransaction.reparent(childSurfaceControl, mSurfaceControls.get(0)); in addRemoveLayers()
259 mTransaction.show(childSurfaceControl).show(mSurfaceControls.get(0)); in addRemoveLayers()
261 mTransaction.remove(childSurfaceControl).apply(true); in addRemoveLayers()