/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | SurfaceViewTests.java | 68 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/ |
D | RVCVCameraPreview.java | 82 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/ |
D | MediaRecorderCameraActivity.java | 78 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/ |
D | MediaFrameworkTest.java | 70 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()
|
D | SurfaceTextureGLSurfaceView.java | 54 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument 60 super.surfaceDestroyed(holder); in surfaceDestroyed()
|
/cts/libs/view/src/com/android/view/ |
D | RenderedSurfaceView.java | 89 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/ |
D | PresentationSyncTest.java | 75 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
|
D | MediaCodecTunneledPlayer.java | 70 public MediaCodecTunneledPlayer(SurfaceHolder holder, boolean tunneled, int AudioSessionId) { in MediaCodecTunneledPlayer() argument 71 mSurfaceHolder = holder; in MediaCodecTunneledPlayer()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ActivityTransitionTest.java | 143 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 …]
|
D | TransitionTest.java | 114 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()
|
D | SlideEdgeTest.java | 82 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/ |
D | SurfaceViewSyncTest.java | 121 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) {
|
D | SurfaceViewCtsActivity.java | 177 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/ |
D | IconHeaderItemPresenter.java | 68 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/ |
D | GLPrimitiveActivity.java | 68 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/ |
D | DetermineFovActivity.java | 84 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()
|
D | PhotoCaptureActivity.java | 343 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/ |
D | Camera2SurfaceViewCtsActivity.java | 134 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
|
D | ReprocessCaptureTest.java | 599 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/ |
D | GLGameActivity.java | 63 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/ |
D | PlayVideoActivity.java | 157 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/ |
D | CameraIntentsActivity.java | 467 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/ |
D | Camera2SurfaceViewTestCase.java | 632 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/ |
D | GLSurfaceViewCustom.java | 246 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/ |
D | CameraOrientationActivity.java | 432 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
|