Home
last modified time | relevance | path

Searched refs:surfaceTransaction (Results 1 – 6 of 6) sorted by relevance

/cts/tests/surfacecontrol/src/android/view/cts/util/
DASurfaceControlTestUtils.java36 long surfaceTransaction = nSurfaceTransaction_create(); in createSurfaceTransaction() local
37 assertTrue("failed to create surface transaction", surfaceTransaction != 0); in createSurfaceTransaction()
38 return surfaceTransaction; in createSurfaceTransaction()
42 long surfaceTransaction = createSurfaceTransaction(); in reparent() local
43 nSurfaceTransaction_reparent(surfaceControl, newParentSurfaceControl, surfaceTransaction); in reparent()
44 applyAndDeleteSurfaceTransaction(surfaceTransaction); in reparent()
47 public static void applyAndDeleteSurfaceTransaction(long surfaceTransaction) { in applyAndDeleteSurfaceTransaction() argument
48 nSurfaceTransaction_apply(surfaceTransaction); in applyAndDeleteSurfaceTransaction()
49 nSurfaceTransaction_delete(surfaceTransaction); in applyAndDeleteSurfaceTransaction()
53 long surfaceTransaction = createSurfaceTransaction(); in setVisibility() local
[all …]
DEmbeddedSCVHService.java262 long surfaceTransaction = nSurfaceTransaction_create(); in attachEmbeddedASurfaceControl() local
263 nSurfaceTransaction_setVisibility(mNativeSurfaceControl, surfaceTransaction, true); in attachEmbeddedASurfaceControl()
265 surfaceTransaction, in attachEmbeddedASurfaceControl()
267 nSurfaceTransaction_setOnCommitCallback(surfaceTransaction, in attachEmbeddedASurfaceControl()
269 nSurfaceTransaction_apply(surfaceTransaction); in attachEmbeddedASurfaceControl()
313 long surfaceTransaction = nSurfaceTransaction_create(); in tearDownEmbeddedASurfaceControl() local
314 nSurfaceTransaction_reparent(mNativeSurfaceControl, 0, surfaceTransaction); in tearDownEmbeddedASurfaceControl()
315 nSurfaceTransaction_apply(surfaceTransaction); in tearDownEmbeddedASurfaceControl()
/cts/tests/surfacecontrol/jni/
Dandroid_view_cts_ASurfaceControlTest.cpp184 void SurfaceTransaction_delete(JNIEnv* /*env*/, jclass, jlong surfaceTransaction) { in SurfaceTransaction_delete() argument
186 reinterpret_cast<ASurfaceTransaction*>(surfaceTransaction)); in SurfaceTransaction_delete()
193 void SurfaceTransaction_apply(JNIEnv* /*env*/, jclass, jlong surfaceTransaction) { in SurfaceTransaction_apply() argument
195 reinterpret_cast<ASurfaceTransaction*>(surfaceTransaction)); in SurfaceTransaction_apply()
245 jlong surfaceTransaction, jint width, in SurfaceTransaction_setSolidBuffer() argument
256 reinterpret_cast<ASurfaceTransaction*>(surfaceTransaction), in SurfaceTransaction_setSolidBuffer()
260 reinterpret_cast<ASurfaceTransaction*>(surfaceTransaction), in SurfaceTransaction_setSolidBuffer()
267 jlong surfaceTransaction, jlong buffer) { in SurfaceTransaction_setBuffer() argument
268 ASurfaceTransaction_setBuffer(reinterpret_cast<ASurfaceTransaction*>(surfaceTransaction), in SurfaceTransaction_setBuffer()
273 surfaceTransaction), in SurfaceTransaction_setBuffer()
[all …]
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DASurfaceControlTest.java212 long surfaceControl, long surfaceTransaction, int width, int height, int color) { in setSolidBuffer() argument
213 long buffer = nSurfaceTransaction_setSolidBuffer(surfaceControl, surfaceTransaction, in setSolidBuffer()
221 long surfaceTransaction = createSurfaceTransaction(); in setSolidBuffer() local
222 long buffer = setSolidBuffer(surfaceControl, surfaceTransaction, width, height, color); in setSolidBuffer()
224 nSurfaceTransaction_setOnCommitCallback(surfaceTransaction, onCommitCallback); in setSolidBuffer()
225 applyAndDeleteSurfaceTransaction(surfaceTransaction); in setSolidBuffer()
237 long surfaceTransaction = createSurfaceTransaction(); in setNullBuffer() local
238 nSurfaceTransaction_setBuffer(surfaceControl, surfaceTransaction, 0 /* buffer */); in setNullBuffer()
240 nSurfaceTransaction_setOnCommitCallback(surfaceTransaction, onCommitCallback); in setNullBuffer()
241 applyAndDeleteSurfaceTransaction(surfaceTransaction); in setNullBuffer()
[all …]
DASurfaceControlBackPressureTest.java130 long surfaceTransaction = createSurfaceTransaction(); in run() local
131 nSurfaceTransaction_setBuffer(mSurfaceControl, surfaceTransaction, in run()
134 nSurfaceTransaction_setOnCompleteCallback(surfaceTransaction, in run()
137 applyAndDeleteSurfaceTransaction(surfaceTransaction); in run()
179 long surfaceTransaction = nSurfaceTransaction_create(); in createSurfaceTransaction() local
180 assertTrue("failed to create surface transaction", surfaceTransaction != 0); in createSurfaceTransaction()
181 return surfaceTransaction; in createSurfaceTransaction()
193 long surfaceTransaction = createSurfaceTransaction(); in setEnableBackPressure() local
194 nSurfaceTransaction_setEnableBackPressure(surfaceControl, surfaceTransaction, in setEnableBackPressure()
196 applyAndDeleteSurfaceTransaction(surfaceTransaction); in setEnableBackPressure()
[all …]
DASurfaceControlInputReceiverTest.java416 long surfaceTransaction = nSurfaceTransaction_create(); in setup()
417 nSurfaceTransaction_setVisibility(mEmbeddedSc, surfaceTransaction, true); in setup()
418 mBuffer = nSurfaceTransaction_setSolidBuffer(mEmbeddedSc, surfaceTransaction, in setup()
420 nSurfaceTransaction_setOnCommitCallback(surfaceTransaction, in setup()
422 nSurfaceTransaction_apply(surfaceTransaction); in setup()
438 long surfaceTransaction = nSurfaceTransaction_create(); in setup()
439 nSurfaceTransaction_reparent(mEmbeddedSc, 0, surfaceTransaction); in setup()
440 nSurfaceTransaction_apply(surfaceTransaction); in setup()