Searched refs:mSurfaceProxy (Results 1 – 7 of 7) sorted by relevance
/aosp14/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/ |
H A D | BufferPresentationTests.kt | 33 activity.mSurfaceProxy.ANativeWindowLock() 34 activity.mSurfaceProxy.ANativeWindowUnlockAndPost() 49 activity.mSurfaceProxy.SurfaceQueueBuffer(1) 50 activity.mSurfaceProxy.SurfaceQueueBuffer(0) 65 activity.mSurfaceProxy.SurfaceQueueBuffer(0) 66 activity.mSurfaceProxy.SurfaceQueueBuffer(1) 88 activity.mSurfaceProxy.SurfaceQueueBuffer(bufferSlot) 111 activity.mSurfaceProxy.SurfaceQueueBuffer(0) 127 activity.mSurfaceProxy.SurfaceQueueBuffer(0) 146 activity.mSurfaceProxy.SurfaceQueueBuffer(0) [all …]
|
H A D | BufferRejectionTests.kt | 35 activity.mSurfaceProxy.ANativeWindowLock() 36 activity.mSurfaceProxy.ANativeWindowUnlockAndPost() 37 activity.mSurfaceProxy.ANativeWindowLock() 41 activity.mSurfaceProxy.ANativeWindowUnlockAndPost() 44 activity.mSurfaceProxy.ANativeWindowLock() 45 activity.mSurfaceProxy.ANativeWindowUnlockAndPost() 79 activity.mSurfaceProxy.SurfaceQueueBuffer(0) 81 activity.mSurfaceProxy.SurfaceQueueBuffer(1) 108 activity.mSurfaceProxy.SurfaceQueueBuffer(0) 111 activity.mSurfaceProxy.SurfaceQueueBuffer(1) [all …]
|
H A D | SharedBufferModeTests.kt | 34 assertEquals(0, activity.mSurfaceProxy.NativeWindowSetSharedBufferMode(true)) 37 activity.mSurfaceProxy.SurfaceQueueBuffer(0) 54 activity.mSurfaceProxy.SurfaceQueueBuffer(0) 56 assertEquals(0, activity.mSurfaceProxy.waitUntilBufferDisplayed(numFrames, 69 assertEquals(0, it.mSurfaceProxy.NativeWindowSetSharedBufferMode(true)) 70 assertEquals(0, it.mSurfaceProxy.NativeWindowSetAutoRefresh(true)) 71 assertEquals(0, it.mSurfaceProxy.SurfaceDequeueBuffer(0, 1 /* ms */)) 72 it.mSurfaceProxy.SurfaceQueueBuffer(0, false /* freeSlot */) 82 it.mSurfaceProxy.drawBuffer(0, Color.RED) 84 it.mSurfaceProxy.drawBuffer(0, Color.GREEN) [all …]
|
H A D | GeometryTests.kt | 41 activity.mSurfaceProxy.ANativeWindowLock() 42 activity.mSurfaceProxy.ANativeWindowUnlockAndPost() 43 activity.mSurfaceProxy.waitUntilBufferDisplayed(1, 500 /* ms */) 99 activity.mSurfaceProxy.SurfaceQueueBuffer(0) 101 activity.mSurfaceProxy.SurfaceQueueBuffer(1) 119 activity.mSurfaceProxy.ANativeWindowLock() 120 activity.mSurfaceProxy.ANativeWindowUnlockAndPost() 138 activity.mSurfaceProxy.drawBuffer(0, Color.BLUE) 139 activity.mSurfaceProxy.SurfaceQueueBuffer(0) 186 activity.mSurfaceProxy.drawBuffer(0, Color.BLUE) [all …]
|
H A D | InverseDisplayTransformTests.kt | 52 assertEquals(0, activity.mSurfaceProxy.SurfaceDequeueBuffer(0, 1000 /* ms */)) 53 activity.mSurfaceProxy.SurfaceQueueBuffer(0) 55 assertEquals(activity.mSurfaceProxy.waitUntilBufferDisplayed(1, 500 /* ms */), 0) 56 activity.mSurfaceProxy.ANativeWindowSetBuffersGeometry(activity.surface!!, 58 assertEquals(0, activity.mSurfaceProxy.SurfaceDequeueBuffer(0, 1000 /* ms */)) 59 assertEquals(0, activity.mSurfaceProxy.SurfaceDequeueBuffer(1, 1000 /* ms */)) 65 activity.mSurfaceProxy.ANativeWindowSetBuffersTransform(Transform.ROT_90.value) 66 activity.mSurfaceProxy.SurfaceQueueBuffer(0) 67 activity.mSurfaceProxy.ANativeWindowSetBuffersTransform(0) 68 activity.mSurfaceProxy.SurfaceQueueBuffer(1) [all …]
|
H A D | SharedBufferModeScreenRecordTests.kt | 38 assertEquals(0, it.mSurfaceProxy.NativeWindowSetSharedBufferMode(true)) 39 assertEquals(0, it.mSurfaceProxy.NativeWindowSetAutoRefresh(true)) 40 assertEquals(0, it.mSurfaceProxy.SurfaceDequeueBuffer(0, 1 /* ms */)) 41 it.mSurfaceProxy.SurfaceQueueBuffer(0, false /* freeSlot */) 43 it.mSurfaceProxy.waitUntilBufferDisplayed(1, 5000 /* ms */)) 56 it.mSurfaceProxy.drawBuffer(0, Color.RED)
|
H A D | MainActivity.kt | 39 val mSurfaceProxy = SurfaceProxy() regex 105 mSurfaceProxy.setSurface(holder.surface)
|