/cts/tests/tests/view/src/android/view/cts/ |
D | ASurfaceControlTest.java | 100 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument 101 Canvas canvas = holder.lockCanvas(); in surfaceChanged() 103 holder.unlockCanvasAndPost(canvas); in surfaceChanged() 107 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument 354 public void surfaceCreated(SurfaceHolder holder) { in testSurfaceControl_createFromWindow() 355 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceControl_createFromWindow() 371 public void surfaceCreated(SurfaceHolder holder) { in testSurfaceControl_create() 372 long parentSurfaceControl = createFromWindow(holder.getSurface()); in testSurfaceControl_create() 389 public void surfaceCreated(SurfaceHolder holder) { in testSurfaceTransaction_setBuffer() 390 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setBuffer() [all …]
|
D | SurfaceViewSyncTest.java | 114 public void surfaceCreated(SurfaceHolder holder) {} 117 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { 118 Canvas canvas = holder.lockCanvas(); 120 holder.unlockCanvasAndPost(canvas); 124 public void surfaceDestroyed(SurfaceHolder holder) {} 138 public void surfaceCreated(SurfaceHolder holder) { 139 mMediaPlayer.setSurface(holder.getSurface()); 144 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {} 147 public void surfaceDestroyed(SurfaceHolder holder) {
|
D | SystemGestureExclusionRectsTest.java | 67 final List<Rect>[] holder = new List[1]; in staticView() local 81 holder[0] = rects; in staticView() 92 assertNotNull("exclusion rects reported", holder[0]); in staticView() 93 assertEquals("one exclusion rect", 1, holder[0].size()); in staticView() 94 assertEquals("view bounds equals exclusion rect", expected, holder[0].get(0)); in staticView()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | SurfaceViewTests.java | 69 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 73 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument 74 Canvas canvas = holder.lockCanvas(); in surfaceChanged() 76 holder.unlockCanvasAndPost(canvas); in surfaceChanged() 80 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument 158 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 162 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument 165 Canvas canvas = holder.lockHardwareCanvas(); in surfaceChanged() 167 holder.unlockCanvasAndPost(canvas); in surfaceChanged() 173 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
|
/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/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/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/tests/framework/base/windowmanager/src/android/server/wm/ |
D | SurfaceViewSurfaceValidatorTest.java | 81 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument 82 Canvas canvas = holder.lockHardwareCanvas(); in surfaceChanged() 84 holder.unlockCanvasAndPost(canvas); in surfaceChanged() 87 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 90 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/tests/transition/src/android/transition/cts/ |
D | ActivityTransitionTest.java | 152 assertTargetExcludes(targetActivity.enterTransition, R.id.holder); in viewsNotStripped() 154 assertTargetContains(targetActivity.sharedElementEnterTransition, R.id.holder); in viewsNotStripped() 159 assertTargetExcludes(mExitTransition, R.id.blueSquare, R.id.holder); in viewsNotStripped() 163 assertEquals(View.VISIBLE, targetActivity.findViewById(R.id.holder).getVisibility()); in viewsNotStripped() 167 assertEquals(1, targetActivity.findViewById(R.id.holder).getAlpha(), 0.01f); in viewsNotStripped() 180 assertTargetExcludes(targetActivity.returnTransition, R.id.holder); in viewsNotStripped() 184 assertTargetExcludes(mReenterTransition, R.id.blueSquare, R.id.holder); in viewsNotStripped() 187 R.id.holder); in viewsNotStripped() 197 assertEquals(View.VISIBLE, mActivity.findViewById(R.id.holder).getVisibility()); in viewsNotStripped() 201 assertEquals(1, mActivity.findViewById(R.id.holder).getAlpha(), 0.01f); in viewsNotStripped() [all …]
|
D | TransitionTest.java | 133 mTransition.addTarget(R.id.holder); in testAddTargetId() 145 mTransition.addTarget(R.id.holder); in testRemoveTargetId() 314 View holder1 = layout1.findViewById(R.id.holder); in testExcludeChildrenView() 318 View holder2 = layout2.findViewById(R.id.holder); in testExcludeChildrenView() 337 mTransition.excludeChildren(R.id.holder, true); in testExcludeChildrenId() 345 mTransition.excludeChildren(R.id.holder, false); // remove it in testExcludeChildrenId() 715 assertSame(layout1, mActivity.findViewById(R.id.holder)); in testGoWithNullParameter() 720 assertSame(layout3, mActivity.findViewById(R.id.holder)); in testGoWithNullParameter() 726 assertSame(layout1, mActivity.findViewById(R.id.holder)); in testGoWithNullParameter()
|
D | VisibilityTest.java | 188 final ViewGroup holder = (ViewGroup) mActivity.findViewById(R.id.holder); in testApplyingTwoVisibility() local 194 holder.removeView(text); in testApplyingTwoVisibility()
|
/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/hostsidetests/angle/app/common/src/com/android/angleIntegrationTest/common/ |
D | GlesView.java | 104 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 118 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {} in surfaceChanged() argument 121 public void surfaceDestroyed(SurfaceHolder holder) {} in surfaceDestroyed() argument 124 public void surfaceRedrawNeeded(SurfaceHolder holder) {} in surfaceRedrawNeeded() argument
|
/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()
|
/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/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/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/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | SurfaceControlTestCase.java | 51 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 54 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument 56 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument
|
/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
|
D | ReprocessCaptureTest.java | 672 for (ImageResultHolder holder : imageResultHolders) { in testReprocessMixedBurst() 673 Image reprocessedImage = holder.getImage(); in testReprocessMixedBurst() 674 TotalCaptureResult result = holder.getTotalCaptureResult(); in testReprocessMixedBurst() 691 for (ImageResultHolder holder : imageResultHolders) { in testReprocessMixedBurst() 692 holder.getImage().close(); in testReprocessMixedBurst() 731 for (ImageResultHolder holder : imageResultHolders) { in testReprocessBurst() 732 Image reprocessedImage = holder.getImage(); in testReprocessBurst() 733 TotalCaptureResult result = holder.getTotalCaptureResult(); in testReprocessBurst() 750 for (ImageResultHolder holder : imageResultHolders) { in testReprocessBurst() 751 holder.getImage().close(); in testReprocessBurst()
|
/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/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
|