Searched refs:surfaceHolder (Results 1 – 6 of 6) sorted by relevance
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | VirtualDisplayActivity.java | 164 public void surfaceCreated(SurfaceHolder surfaceHolder) { in surfaceCreated() argument 166 mPendingDisplayRequests.remove(surfaceHolder.getSurface()); in surfaceCreated() 174 final Surface surface = surfaceHolder.getSurface(); in surfaceCreated() 178 final int width = surfaceHolder.getSurfaceFrame().width(); in surfaceCreated() 179 final int height = surfaceHolder.getSurfaceFrame().height(); in surfaceCreated() 224 public void surfaceChanged(SurfaceHolder surfaceHolder, int format, int width, int height) { in surfaceChanged() argument 225 final VirtualDisplayEntry entry = mVirtualDisplays.get(surfaceHolder.getSurface()); in surfaceChanged() 233 public void surfaceDestroyed(SurfaceHolder surfaceHolder) { in surfaceDestroyed() argument 239 final SurfaceHolder surfaceHolder = vd.surfaceView.getHolder(); in resizeDisplay() local 240 vd.display.resize(surfaceHolder.getSurfaceFrame().width() / 2, in resizeDisplay() [all …]
|
D | LiveWallpaper.java | 34 public void onCreate(SurfaceHolder surfaceHolder) { in onCreateEngine() 35 super.onCreate(surfaceHolder); in onCreateEngine()
|
/cts/libs/view/src/com/android/view/ |
D | RenderedSurfaceView.java | 54 public void surfaceCreated(SurfaceHolder surfaceHolder) { in surfaceCreated() argument 61 public void surfaceChanged(SurfaceHolder surfaceHolder, int format, int width, int height) { in surfaceChanged() argument 66 public void surfaceDestroyed(SurfaceHolder surfaceHolder) { in surfaceDestroyed() argument
|
/cts/tests/tests/media/src/android/media/cts/ |
D | DecodeAccuracyTestBase.java | 830 private SurfaceHolder surfaceHolder; field in SurfaceViewFactory 837 surfaceHolder = null; in release() 852 surfaceHolder = surfaceView.getHolder(); in createView() 853 surfaceHolder.addCallback(this); in createView() 878 return surfaceHolder == null ? null : surfaceHolder.getSurface(); in getSurface()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 1276 SurfaceHolder surfaceHolder; in testLockUnlockByCamera() local 1277 surfaceHolder = mActivityRule.getActivity().getSurfaceView().getHolder(); in testLockUnlockByCamera() 1292 mCamera.setPreviewDisplay(surfaceHolder); in testLockUnlockByCamera() 1297 recordVideoBySize(videoSize, frameRate, surfaceHolder); in testLockUnlockByCamera() 1299 recordVideo(profile, surfaceHolder); in testLockUnlockByCamera() 1315 recordVideoBySize(videoSize, frameRate, surfaceHolder); in testLockUnlockByCamera() 1317 recordVideo(profile, surfaceHolder); // should not throw exception in testLockUnlockByCamera() 1461 SurfaceHolder surfaceHolder; in testPreviewCallbackWithBufferByCamera() local 1462 surfaceHolder = mActivityRule.getActivity().getSurfaceView().getHolder(); in testPreviewCallbackWithBufferByCamera() 1463 mCamera.setPreviewDisplay(surfaceHolder); in testPreviewCallbackWithBufferByCamera()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | MagnifierTest.java | 734 final SurfaceHolder surfaceHolder = ((SurfaceView) view).getHolder(); in testSourcePosition_respectsMaxInSurfaceBounds_forSurfaceView() 735 final Canvas canvas = surfaceHolder.lockHardwareCanvas(); in testSourcePosition_respectsMaxInSurfaceBounds_forSurfaceView() 737 surfaceHolder.unlockCanvasAndPost(canvas); in testSourcePosition_respectsMaxInSurfaceBounds_forSurfaceView()
|