Home
last modified time | relevance | path

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

12

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DSurfaceViewTests.java68 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument
72 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument
73 Canvas canvas = holder.lockCanvas(); in surfaceChanged()
75 holder.unlockCanvasAndPost(canvas); in surfaceChanged()
79 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
155 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument
159 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument
162 Canvas canvas = holder.lockHardwareCanvas(); in surfaceChanged()
164 holder.unlockCanvasAndPost(canvas); in surfaceChanged()
170 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
/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/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()
/cts/tests/tests/transition/src/android/transition/cts/
DActivityTransitionTest.java143 assertTargetExcludes(targetActivity.enterTransition, R.id.holder); in viewsNotStripped()
145 assertTargetContains(targetActivity.sharedElementEnterTransition, R.id.holder); in viewsNotStripped()
150 assertTargetExcludes(mExitTransition, R.id.blueSquare, R.id.holder); in viewsNotStripped()
154 assertEquals(View.VISIBLE, targetActivity.findViewById(R.id.holder).getVisibility()); in viewsNotStripped()
158 assertEquals(1, targetActivity.findViewById(R.id.holder).getAlpha(), 0.01f); in viewsNotStripped()
168 assertTargetExcludes(targetActivity.returnTransition, R.id.holder); in viewsNotStripped()
172 assertTargetExcludes(mReenterTransition, R.id.blueSquare, R.id.holder); in viewsNotStripped()
175 R.id.holder); in viewsNotStripped()
185 assertEquals(View.VISIBLE, mActivity.findViewById(R.id.holder).getVisibility()); in viewsNotStripped()
189 assertEquals(1, mActivity.findViewById(R.id.holder).getAlpha(), 0.01f); in viewsNotStripped()
[all …]
DTransitionTest.java114 mTransition.addTarget(R.id.holder); in testAddTargetId()
126 mTransition.addTarget(R.id.holder); in testRemoveTargetId()
295 View holder1 = layout1.findViewById(R.id.holder); in testExcludeChildrenView()
299 View holder2 = layout2.findViewById(R.id.holder); in testExcludeChildrenView()
316 mTransition.excludeChildren(R.id.holder, true); in testExcludeChildrenId()
322 mTransition.excludeChildren(R.id.holder, false); // remove it in testExcludeChildrenId()
610 assertSame(layout1, mActivity.findViewById(R.id.holder)); in testGoWithNullParameter()
615 assertSame(layout3, mActivity.findViewById(R.id.holder)); in testGoWithNullParameter()
621 assertSame(layout1, mActivity.findViewById(R.id.holder)); in testGoWithNullParameter()
DSlideEdgeTest.java82 final ViewGroup sceneRoot = (ViewGroup) mActivity.findViewById(R.id.holder); in testSlideOut()
157 final ViewGroup sceneRoot = (ViewGroup) mActivity.findViewById(R.id.holder); in testSlideIn()
/cts/tests/tests/view/src/android/view/cts/
DSurfaceViewSyncTest.java121 public void surfaceCreated(SurfaceHolder holder) {}
124 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
125 Canvas canvas = holder.lockCanvas();
127 holder.unlockCanvasAndPost(canvas);
131 public void surfaceDestroyed(SurfaceHolder holder) {}
145 public void surfaceCreated(SurfaceHolder holder) {
146 mMediaPlayer.setSurface(holder.getSurface());
151 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {}
154 public void surfaceDestroyed(SurfaceHolder holder) {
DSurfaceViewCtsActivity.java177 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument
180 mSurface = holder.getSurface(); in surfaceCreated()
202 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
205 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
/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.java68 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in onCreate()
69 mSurface = holder.getSurface(); in onCreate()
74 public void surfaceCreated(SurfaceHolder holder) {} in onCreate()
77 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/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/openglperf2/src/android/opengl2/cts/reference/
DGLGameActivity.java63 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in onCreate()
64 mSurface = holder.getSurface(); in onCreate()
69 public void surfaceCreated(SurfaceHolder holder) {} in onCreate()
72 public void surfaceDestroyed(SurfaceHolder holder) {} in onCreate()
/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/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/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java632 final SurfaceHolder holder = ctsActivity.getSurfaceView().getHolder(); in updatePreviewSurface() local
637 holder.setFixedSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in updatePreviewSurface()
645 mPreviewHolder = holder; in updatePreviewSurface()
646 mPreviewSurface = holder.getSurface(); in updatePreviewSurface()
/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

12