Searched refs:mSurfaceControl (Results 1 – 5 of 5) sorted by relevance
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | AttachedSurfaceControlSyncTest.java | 70 SurfaceControl mSurfaceControl; field in AttachedSurfaceControlSyncTest.GreenSurfaceAnchorView 81 t.setPosition(mSurfaceControl, mLocation[0], mLocation[1]); 88 mSurfaceControl = new SurfaceControl.Builder() in GreenSurfaceAnchorView() 92 mSurface = new Surface(mSurfaceControl); in GreenSurfaceAnchorView() 120 getRootSurfaceControl().buildReparentTransaction(mSurfaceControl); in attachChildSc() 131 t.setLayer(mSurfaceControl, 1) in attachChildSc() 132 .setVisibility(mSurfaceControl, true) in attachChildSc() 139 new SurfaceControl.Transaction().reparent(mSurfaceControl, null).apply(); in onDetachedFromWindow() 140 mSurfaceControl.release(); in onDetachedFromWindow()
|
D | AttachedSurfaceControlTest.java | 261 SurfaceControl mSurfaceControl; field in AttachedSurfaceControlTest.GreenAnchorViewWithInsets 272 mSurfaceControl = new SurfaceControl.Builder() in GreenAnchorViewWithInsets() 276 mSurface = new Surface(mSurfaceControl); in GreenAnchorViewWithInsets() 308 getRootSurfaceControl().buildReparentTransaction(mSurfaceControl); in attachChildSc() 317 t.setLayer(mSurfaceControl, 1).setVisibility(mSurfaceControl, true); in attachChildSc() 325 new SurfaceControl.Transaction().reparent(mSurfaceControl, null).apply(); in onDetachedFromWindow() 326 mSurfaceControl.release(); in onDetachedFromWindow()
|
D | ASurfaceControlBackPressureTest.java | 108 private final long mSurfaceControl; field in ASurfaceControlBackPressureTest.BasicSurfaceHolderCallback.BufferCycler 114 mSurfaceControl = surfaceControl; in BufferCycler() 131 nSurfaceTransaction_setBuffer(mSurfaceControl, surfaceTransaction, in run()
|
/cts/tests/surfacecontrol/src/android/view/cts/util/ |
D | EmbeddedSCVHService.java | 79 private SurfaceControl mSurfaceControl; field in EmbeddedSCVHService 194 mSurfaceControl = new SurfaceControl.Builder().setName(name) in attachEmbeddedSurfaceControl() 196 new SurfaceControl.Transaction().setVisibility(mSurfaceControl, true).setCrop( in attachEmbeddedSurfaceControl() 197 mSurfaceControl, new Rect(0, 0, width, height)).apply(); in attachEmbeddedSurfaceControl() 199 Surface surface = new Surface(mSurfaceControl); in attachEmbeddedSurfaceControl() 205 hostToken, mSurfaceControl, Choreographer.getInstance(), in attachEmbeddedSurfaceControl() 246 if (mSurfaceControl != null) { in tearDownEmbeddedSurfaceControl() 247 mWm.unregisterSurfaceControlInputReceiver(mSurfaceControl); in tearDownEmbeddedSurfaceControl() 248 new Transaction().reparent(mSurfaceControl, null); in tearDownEmbeddedSurfaceControl() 249 mSurfaceControl.release(); in tearDownEmbeddedSurfaceControl()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | FrameRateCtsActivity.java | 189 private SurfaceControl mSurfaceControl; field in FrameRateCtsActivity.TestSurface 204 mSurfaceControl = new SurfaceControl.Builder() in TestSurface() 211 transaction.setGeometry(mSurfaceControl, null, destFrame, Surface.ROTATION_0) in TestSurface() 214 mSurface = new Surface(mSurfaceControl); in TestSurface() 245 .setFrameRate(mSurfaceControl, frameRate, compatibility); in setFrameRate() 248 .setFrameRate(mSurfaceControl, frameRate, compatibility, in setFrameRate() 270 transaction.clearFrameRate(mSurfaceControl); in clearFrameRate() 306 transaction.setVisibility(mSurfaceControl, visible).apply(); in setVisibility() 336 if (mSurfaceControl != null) { in release() 338 transaction.reparent(mSurfaceControl, null).apply(); in release() [all …]
|