Searched refs:mNativeSurfaceControl (Results 1 – 2 of 2) sorted by relevance
/cts/tests/surfacecontrol/src/android/view/cts/util/ |
D | EmbeddedSCVHService.java | 80 private long mNativeSurfaceControl; field in EmbeddedSCVHService 260 mNativeSurfaceControl = nSurfaceControl_create( in attachEmbeddedASurfaceControl() 263 nSurfaceTransaction_setVisibility(mNativeSurfaceControl, surfaceTransaction, true); in attachEmbeddedASurfaceControl() 264 mBuffer = nSurfaceTransaction_setSolidBuffer(mNativeSurfaceControl, in attachEmbeddedASurfaceControl() 272 hostToken, mNativeSurfaceControl, new InputReceiver() { in attachEmbeddedASurfaceControl() 312 if (mNativeSurfaceControl != 0) { in tearDownEmbeddedASurfaceControl() 314 nSurfaceTransaction_reparent(mNativeSurfaceControl, 0, surfaceTransaction); in tearDownEmbeddedASurfaceControl() 316 nSurfaceControl_release(mNativeSurfaceControl); in tearDownEmbeddedASurfaceControl()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | FrameRateCtsActivity.java | 191 private long mNativeSurfaceControl; field in FrameRateCtsActivity.TestSurface 217 mNativeSurfaceControl = nativeSurfaceControlCreate(parentSurface, mName, in TestSurface() 219 assertTrue("Failed to create a native SurfaceControl", mNativeSurfaceControl != 0); in TestSurface() 254 nativeSurfaceControlSetFrameRate(mNativeSurfaceControl, frameRate, compatibility, in setFrameRate() 274 nativeSurfaceControlClearFrameRate(mNativeSurfaceControl); in clearFrameRate() 309 nativeSurfaceControlSetVisibility(mNativeSurfaceControl, visible); in setVisibility() 322 nativeSurfaceControlPostBuffer(mNativeSurfaceControl, mColor)); in postBuffer() 343 if (mNativeSurfaceControl != 0) { in release() 344 nativeSurfaceControlDestroy(mNativeSurfaceControl); in release() 345 mNativeSurfaceControl = 0; in release()
|