Home
last modified time | relevance | path

Searched refs:addCallback (Results 1 – 25 of 38) sorted by relevance

12

/cts/tests/tests/mediastress/src/android/mediastress/cts/
DMediaFrameworkTest.java48 mSurfaceView.getHolder().addCallback(this); in onCreate()
81 holder.addCallback(this); in surfaceCreated()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DTestJournalProvider.java93 TestJournalContainer.getInstance().addCallback( in call()
128 client.addCallback(callback); in putActivityCallback()
205 public void addCallback(ActivityCallback callback) { in addCallback() method in TestJournalProvider.TestJournalClient
292 synchronized void addCallback(String owner, ActivityCallback callback) { in addCallback() method in TestJournalProvider.TestJournalContainer
/cts/libs/view/src/com/android/view/
DRenderedSurfaceView.java41 getHolder().addCallback(this); in RenderedSurfaceView()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DSurfaceControlViewHostTests.java117 mSurfaceView.getHolder().addCallback(this); in addSurfaceView()
413 mSurfaceView.getHolder().addCallback(new SurfaceCreatedCallback(surfaceCreated)); in testCanCopySurfacePackage()
458 mSurfaceView.getHolder().addCallback(new SurfaceCreatedCallback(surfaceCreated)); in testTransferSurfacePackage()
490 secondSurface.getHolder().addCallback(new SurfaceCreatedCallback(surface2Created)); in testTransferSurfacePackage()
DSurfaceViewCtsActivity.java83 mHolder.addCallback(this); in MockSurfaceView()
DSurfaceViewSurfaceValidatorTest.java82 mSurfaceView.getHolder().addCallback(this); in SurfaceFiller()
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanPreTransformCtsActivity.java52 surfaceView.getHolder().addCallback(this); in onCreate()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DSurfaceViewTests.java104 surfaceViewA.getHolder().addCallback(sWhiteCanvasCallback); in testMovingWhiteSurfaceView()
149 mSurfaceView.getHolder().addCallback(this); in initializeView()
/cts/tests/video/src/android/video/cts/
DCodecTestActivity.java46 mHolder.addCallback(this); in onCreate()
/cts/tests/tests/widget/src/android/widget/cts/
DToastTest.java221 mToast.addCallback(new ConditionCallback(mToastShown, mToastHidden)); in makeTextToast()
763 mToast.addCallback(testCallback); in testRemovedCallbackIsNotCalled()
764 mToast.addCallback(new ConditionCallback(mToastShown, mToastHidden)); in testRemovedCallbackIsNotCalled()
778 mToast.addCallback(null); in testAddCallback_whenNull_throws()
788 mToast.addCallback(new ConditionCallback(toastShown, toastHidden)); in testCallback_whenTextToast_isCalled()
803 () -> mToast.addCallback(new ConditionCallback(toastShown, toastHidden))); in testCallback_whenCustomToast_isCalled()
1182 t.addCallback(new ConditionCallback(toastShown, toastHidden)); in create()
/cts/tests/tests/media/src/android/media/cts/
DPresentationSyncTest.java79 holder.addCallback(this); in testThroughput()
224 holder.addCallback(this); in suppressed_testChoreographed()
DMediaRouterTest.java356 mMediaRouter.addCallback(allRouteTypes, callback); in testCallback()
520 mMediaRouter.addCallback(MediaRouter.ROUTE_TYPE_USER, callback); in testAddCallbackWithFlags()
536 mMediaRouter.addCallback(MediaRouter.ROUTE_TYPE_USER, callback, in testAddCallbackWithFlags()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCamera2SurfaceViewCtsActivity.java47 mSurfaceView.getHolder().addCallback(this); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tunnelmode/
DMediaCodecFlushActivity.java42 mHolder.addCallback(new SurfaceHolder.Callback(){ in onCreate()
DVolumeLevelChangesActivity.java70 mHolder.addCallback(new SurfaceHolder.Callback() { in onCreate()
/cts/tests/mediapc/src/android/mediapc/cts/
DTestActivity.java48 mHolder.addCallback(this); in onCreate()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DMediaRecorderCameraActivity.java83 holder.addCallback(this); in onResume()
/cts/tests/media/src/android/mediav2/cts/
DCodecTestActivity.java54 mHolder.addCallback(this); in onCreate()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DHostActivity.java79 mSurfaceView.getHolder().addCallback(this); in onCreate()
/cts/tests/tests/view/src/android/view/cts/
DSurfaceViewSyncTest.java115 surfaceView.getHolder().addCallback(new SurfaceHolder.Callback() {
139 surfaceView.getHolder().addCallback(new SurfaceHolder.Callback() {
/cts/tests/openglperf2/src/android/opengl2/cts/primitive/
DGLPrimitiveActivity.java66 surfaceView.getHolder().addCallback(new SurfaceHolder.Callback() { in onCreate()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DSurfaceControlTestCase.java145 surfaceView.getHolder().addCallback(mCallback); in createView()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVCameraPreview.java83 mHolder.addCallback(this); in initSurface()
/cts/tests/openglperf2/src/android/opengl2/cts/reference/
DGLGameActivity.java61 surfaceView.getHolder().addCallback(new SurfaceHolder.Callback() { in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
DPlayVideoActivity.java84 mHolder.addCallback(this); in onCreate()

12