Home
last modified time | relevance | path

Searched refs:holder (Results 1 – 25 of 30) sorted by relevance

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVCameraPreview.java82 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument
91 mCamera.setPreviewDisplay(holder); in surfaceCreated()
114 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
122 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
135 surfaceCreated(holder); in surfaceChanged()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DMediaRecorderCameraActivity.java78 SurfaceHolder holder = mSurfaceView.getHolder(); in onResume() local
79 holder.setFixedSize(LAYOUT_WIDTH, LAYOUT_HEIGHT); in onResume()
80 holder.addCallback(this); in onResume()
115 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument
119 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument
141 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DMediaFrameworkTest.java70 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
75 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
80 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument
81 holder.addCallback(this); in surfaceCreated()
DSurfaceTextureGLSurfaceView.java54 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
60 super.surfaceDestroyed(holder); in surfaceDestroyed()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DSurfaceViewTests.java57 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument
61 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument
62 Canvas canvas = holder.lockCanvas(); in surfaceChanged()
64 holder.unlockCanvasAndPost(canvas); in surfaceChanged()
68 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
/cts/libs/view/src/com/android/view/
DRenderedSurfaceView.java89 SurfaceHolder holder = getHolder(); in run() local
90 Canvas surfaceCanvas = holder.lockCanvas(); in run()
94 holder.unlockCanvasAndPost(surfaceCanvas); in run()
/cts/tests/tests/media/src/android/media/cts/
DPresentationSyncTest.java75 SurfaceHolder holder = getActivity().getSurfaceHolder(); in testThroughput() local
76 holder.addCallback(this); in testThroughput()
89 InputSurface output = new InputSurface(holder.getSurface()); in testThroughput()
220 SurfaceHolder holder = getActivity().getSurfaceHolder(); in suppressed_testChoreographed() local
221 holder.addCallback(this); in suppressed_testChoreographed()
223 InputSurface output = new InputSurface(holder.getSurface()); in suppressed_testChoreographed()
419 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument
424 public void surfaceChanged(SurfaceHolder holder, int format, int width, in surfaceChanged() argument
434 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
DMediaCodecTunneledPlayer.java70 public MediaCodecTunneledPlayer(SurfaceHolder holder, boolean tunneled, int AudioSessionId) { in MediaCodecTunneledPlayer() argument
71 mSurfaceHolder = holder; in MediaCodecTunneledPlayer()
DMediaCodecClearKeyPlayer.java111 SurfaceHolder holder, byte[] sessionId, Resources resources) { in MediaCodecClearKeyPlayer() argument
113 mSurfaceHolder = holder; in MediaCodecClearKeyPlayer()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/presenter/
DIconHeaderItemPresenter.java68 protected void onSelectLevelChanged(RowHeaderPresenter.ViewHolder holder) { in onSelectLevelChanged() argument
70 holder.view.setAlpha(mUnselectedAlpha + holder.getSelectLevel() * in onSelectLevelChanged()
/cts/tests/openglperf2/src/android/opengl2/cts/primitive/
DGLPrimitiveActivity.java67 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in onCreate()
68 mSurface = holder.getSurface(); in onCreate()
73 public void surfaceCreated(SurfaceHolder holder) {} in onCreate()
76 public void surfaceDestroyed(SurfaceHolder holder) {} in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DDetermineFovActivity.java84 public void surfaceDestroyed(SurfaceHolder holder) {} in onCreate()
87 public void surfaceCreated(SurfaceHolder holder) { in onCreate()
93 SurfaceHolder holder, int format, int width, int height) { in onCreate()
183 SurfaceHolder holder = mSurfaceView.getHolder(); in drawContents() local
184 Canvas canvas = holder.lockCanvas(); in drawContents()
253 holder.unlockCanvasAndPost(canvas); in drawContents()
DPhotoCaptureActivity.java343 SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument
349 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument
354 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
/cts/tests/openglperf2/src/android/opengl2/cts/reference/
DGLGameActivity.java62 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in onCreate()
63 mSurface = holder.getSurface(); in onCreate()
68 public void surfaceCreated(SurfaceHolder holder) {} in onCreate()
71 public void surfaceDestroyed(SurfaceHolder holder) {} in onCreate()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCamera2SurfaceViewCtsActivity.java134 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument
143 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument
153 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
DReprocessCaptureTest.java599 for (ImageResultHolder holder : imageResultHolders) { in testReprocessMixedBurst()
600 Image reprocessedImage = holder.getImage(); in testReprocessMixedBurst()
601 TotalCaptureResult result = holder.getTotalCaptureResult(); in testReprocessMixedBurst()
618 for (ImageResultHolder holder : imageResultHolders) { in testReprocessMixedBurst()
619 holder.getImage().close(); in testReprocessMixedBurst()
658 for (ImageResultHolder holder : imageResultHolders) { in testReprocessBurst()
659 Image reprocessedImage = holder.getImage(); in testReprocessBurst()
660 TotalCaptureResult result = holder.getTotalCaptureResult(); in testReprocessBurst()
677 for (ImageResultHolder holder : imageResultHolders) { in testReprocessBurst()
678 holder.getImage().close(); in testReprocessBurst()
/cts/tests/tests/view/src/android/view/cts/
DSurfaceViewCtsActivity.java172 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument
189 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
192 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
DWindowTest.java674 public void surfaceCreated(SurfaceHolder holder) { in testSetLocalFocus()
678 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in testSetLocalFocus()
680 createPresentation(holder.getSurface(), width, height); in testSetLocalFocus()
685 public void surfaceDestroyed(SurfaceHolder holder) { in testSetLocalFocus()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
DPlayVideoActivity.java157 public void surfaceCreated(SurfaceHolder holder) {
205 @Override public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {}
206 @Override public void surfaceDestroyed(SurfaceHolder holder) {}
/cts/tests/tests/transition/src/android/transition/cts/
DTransitionTest.java101 mTransition.addTarget(R.id.holder); in testAddTargetId()
112 mTransition.addTarget(R.id.holder); in testRemoveTargetId()
288 View holder1 = layout1.findViewById(R.id.holder); in testExcludeChildrenView()
292 View holder2 = layout2.findViewById(R.id.holder); in testExcludeChildrenView()
307 mTransition.excludeChildren(R.id.holder, true); in testExcludeChildrenId()
312 mTransition.excludeChildren(R.id.holder, false); // remove it in testExcludeChildrenId()
DSlideEdgeTest.java82 final ViewGroup sceneRoot = (ViewGroup) activity.findViewById(R.id.holder); in testSlideOut()
166 final ViewGroup sceneRoot = (ViewGroup) activity.findViewById(R.id.holder); in testSlideIn()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
DCameraIntentsActivity.java467 public void surfaceChanged(SurfaceHolder holder, int format, int width, in surfaceChanged() argument
472 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument
477 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGLSurfaceViewCustom.java246 SurfaceHolder holder = getHolder(); in init() local
247 holder.addCallback(this); in init()
526 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument
534 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
543 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java432 public void surfaceChanged(SurfaceHolder holder, int format, int width, in surfaceChanged() argument
449 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument
454 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java626 final SurfaceHolder holder = ctsActivity.getSurfaceView().getHolder(); in updatePreviewSurface() local
631 holder.setFixedSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in updatePreviewSurface()
639 mPreviewSurface = holder.getSurface(); in updatePreviewSurface()

12