/cts/tests/tests/view/src/android/view/cts/ |
D | ASurfaceControlTest.java | 129 public void surfaceCreated(@NonNull SurfaceHolder holder) { in surfaceCreated() argument 130 Canvas canvas = holder.lockCanvas(); in surfaceCreated() 132 holder.unlockCanvasAndPost(canvas); in surfaceCreated() 134 mBasicSurfaceHolderCallback.surfaceCreated(holder); in surfaceCreated() 138 public void surfaceChanged(@NonNull SurfaceHolder holder, int format, int width, in surfaceChanged() argument 143 public void surfaceDestroyed(@NonNull SurfaceHolder holder) { in surfaceDestroyed() argument 283 public void surfaceCreated(SurfaceHolder holder) { in testSurfaceControl_createFromWindow() 284 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceControl_createFromWindow() 300 public void surfaceCreated(SurfaceHolder holder) { in testSurfaceControl_create() 301 long parentSurfaceControl = createFromWindow(holder.getSurface()); in testSurfaceControl_create() [all …]
|
D | ASurfaceControlBackPressureTest.java | 156 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument 157 Canvas canvas = holder.lockCanvas(); in surfaceChanged() 159 holder.unlockCanvasAndPost(canvas); in surfaceChanged() 163 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument 227 public void surfaceCreated(SurfaceHolder holder) { in testSurfaceTransaction_setEnableBackPressure() 228 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setEnableBackPressure() 259 public void surfaceCreated(SurfaceHolder holder) { in testSurfaceTransaction_defaultBackPressureDisabled() 260 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_defaultBackPressureDisabled()
|
D | SurfaceViewSyncTest.java | 117 public void surfaceCreated(SurfaceHolder holder) {} 120 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { 121 Canvas canvas = holder.lockCanvas(); 123 holder.unlockCanvasAndPost(canvas); 127 public void surfaceDestroyed(SurfaceHolder holder) {} 141 public void surfaceCreated(SurfaceHolder holder) { 142 mMediaPlayer.setSurface(holder.getSurface()); 147 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {} 150 public void surfaceDestroyed(SurfaceHolder holder) {
|
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
D | MediaRecorderCameraActivity.java | 81 SurfaceHolder holder = mSurfaceView.getHolder(); in onResume() local 82 holder.setFixedSize(LAYOUT_WIDTH, LAYOUT_HEIGHT); in onResume() 83 holder.addCallback(this); in onResume() 118 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 122 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument 144 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | SurfaceViewTests.java | 67 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 71 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument 72 Canvas canvas = holder.lockCanvas(); in surfaceChanged() 74 holder.unlockCanvasAndPost(canvas); in surfaceChanged() 78 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument 161 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 165 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument 168 Canvas canvas = holder.lockHardwareCanvas(); in surfaceChanged() 170 holder.unlockCanvasAndPost(canvas); in surfaceChanged() 176 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | VulkanPreTransformCtsActivity.java | 97 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 99 mSurface = holder.getSurface(); in surfaceCreated() 105 public void surfaceChanged(SurfaceHolder holder, int format, in surfaceChanged() argument 110 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 | 78 SurfaceHolder holder = getActivity().getSurfaceHolder(); in testThroughput() local 79 holder.addCallback(this); in testThroughput() 92 InputSurface output = new InputSurface(holder.getSurface()); in testThroughput() 223 SurfaceHolder holder = getActivity().getSurfaceHolder(); in suppressed_testChoreographed() local 224 holder.addCallback(this); in suppressed_testChoreographed() 226 InputSurface output = new InputSurface(holder.getSurface()); in suppressed_testChoreographed() 422 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 427 public void surfaceChanged(SurfaceHolder holder, int format, int width, in surfaceChanged() argument 437 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | SurfaceViewSurfaceValidatorTest.java | 85 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument 86 Canvas canvas = holder.lockHardwareCanvas(); in surfaceChanged() 88 holder.unlockCanvasAndPost(canvas); in surfaceChanged() 91 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 94 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
|
D | SurfaceViewCtsActivity.java | 176 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 179 mSurface = holder.getSurface(); in surfaceCreated() 201 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument 204 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/video/src/android/video/cts/ |
D | CodecTestActivity.java | 50 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 58 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument 63 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
|
/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/sensors/ |
D | RVCVCameraPreview.java | 94 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 105 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument 113 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument 140 mCamera.setPreviewDisplay(holder); in surfaceChanged()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | Camera2SurfaceViewCtsActivity.java | 141 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 150 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument 160 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | TestActivity.java | 52 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 60 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument 65 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tunnelmode/ |
D | MediaCodecFlushActivity.java | 43 public void surfaceCreated(SurfaceHolder holder) { in onCreate() 50 SurfaceHolder holder, int format, int width, int height) {} in onCreate() 51 public void surfaceDestroyed(SurfaceHolder holder) {} in onCreate()
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | ASurfaceControlTestActivity.java | 277 public void surfaceCreated(@NonNull SurfaceHolder holder) { in surfaceCreated() argument 278 mTestCallback.surfaceCreated(holder); in surfaceCreated() 283 public void surfaceChanged(@NonNull SurfaceHolder holder, int format, int width, in surfaceChanged() argument 285 mTestCallback.surfaceChanged(holder, format, width, height); in surfaceChanged() 289 public void surfaceDestroyed(@NonNull SurfaceHolder holder) { in surfaceDestroyed() argument 290 mTestCallback.surfaceDestroyed(holder); in surfaceDestroyed()
|
D | SurfaceControlTestCase.java | 53 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 56 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument 58 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | DetermineFovActivity.java | 108 public void surfaceDestroyed(SurfaceHolder holder) {} in onCreate() 111 public void surfaceCreated(SurfaceHolder holder) { in onCreate() 117 SurfaceHolder holder, int format, int width, int height) { in onCreate() 207 SurfaceHolder holder = mSurfaceView.getHolder(); in drawContents() local 208 Canvas canvas = holder.lockCanvas(); in drawContents() 277 holder.unlockCanvasAndPost(canvas); in drawContents()
|
/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/tests/tests/transition/src/android/transition/cts/ |
D | ActivityTransitionTest.java | 154 assertTargetExcludes(targetActivity.enterTransition, R.id.holder); in viewsNotStripped() 156 assertTargetContains(targetActivity.sharedElementEnterTransition, R.id.holder); in viewsNotStripped() 161 assertTargetExcludes(mExitTransition, R.id.blueSquare, R.id.holder); in viewsNotStripped() 165 assertEquals(View.VISIBLE, targetActivity.findViewById(R.id.holder).getVisibility()); in viewsNotStripped() 169 assertEquals(1, targetActivity.findViewById(R.id.holder).getAlpha(), 0.01f); in viewsNotStripped() 182 assertTargetExcludes(targetActivity.returnTransition, R.id.holder); in viewsNotStripped() 186 assertTargetExcludes(mReenterTransition, R.id.blueSquare, R.id.holder); in viewsNotStripped() 189 R.id.holder); in viewsNotStripped() 199 assertEquals(View.VISIBLE, mActivity.findViewById(R.id.holder).getVisibility()); in viewsNotStripped() 203 assertEquals(1, mActivity.findViewById(R.id.holder).getAlpha(), 0.01f); in viewsNotStripped() [all …]
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecTestActivity.java | 58 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 66 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument 71 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
|