Home
last modified time | relevance | path

Searched refs:surfaceHolder (Results 1 – 6 of 6) sorted by relevance

/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DVirtualDisplayActivity.java164 public void surfaceCreated(SurfaceHolder surfaceHolder) { in surfaceCreated() argument
166 mPendingDisplayRequests.remove(surfaceHolder.getSurface()); in surfaceCreated()
175 final Surface surface = surfaceHolder.getSurface(); in surfaceCreated()
179 final int width = surfaceHolder.getSurfaceFrame().width(); in surfaceCreated()
180 final int height = surfaceHolder.getSurfaceFrame().height(); in surfaceCreated()
233 public void surfaceChanged(SurfaceHolder surfaceHolder, int format, int width, int height) { in surfaceChanged() argument
234 final VirtualDisplayEntry entry = mVirtualDisplays.get(surfaceHolder.getSurface()); in surfaceChanged()
242 public void surfaceDestroyed(SurfaceHolder surfaceHolder) { in surfaceDestroyed() argument
248 final SurfaceHolder surfaceHolder = vd.surfaceView.getHolder(); in resizeDisplay() local
249 vd.display.resize(surfaceHolder.getSurfaceFrame().width() / 2, in resizeDisplay()
[all …]
DLiveWallpaper.java34 public void onCreate(SurfaceHolder surfaceHolder) { in onCreateEngine()
35 super.onCreate(surfaceHolder); in onCreateEngine()
/cts/libs/view/src/com/android/view/
DRenderedSurfaceView.java54 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/
DDecodeAccuracyTestBase.java828 private SurfaceHolder surfaceHolder; field in SurfaceViewFactory
835 surfaceHolder = null; in release()
850 surfaceHolder = surfaceView.getHolder(); in createView()
851 surfaceHolder.addCallback(this); in createView()
876 return surfaceHolder == null ? null : surfaceHolder.getSurface(); in getSurface()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1246 SurfaceHolder surfaceHolder; in testLockUnlockByCamera() local
1247 surfaceHolder = mActivityRule.getActivity().getSurfaceView().getHolder(); in testLockUnlockByCamera()
1260 mCamera.setPreviewDisplay(surfaceHolder); in testLockUnlockByCamera()
1265 recordVideoBySize(videoSize, surfaceHolder); in testLockUnlockByCamera()
1267 recordVideo(profile, surfaceHolder); in testLockUnlockByCamera()
1283 recordVideoBySize(videoSize, surfaceHolder); in testLockUnlockByCamera()
1285 recordVideo(profile, surfaceHolder); // should not throw exception in testLockUnlockByCamera()
1438 SurfaceHolder surfaceHolder; in testPreviewCallbackWithBufferByCamera() local
1439 surfaceHolder = mActivityRule.getActivity().getSurfaceView().getHolder(); in testPreviewCallbackWithBufferByCamera()
1440 mCamera.setPreviewDisplay(surfaceHolder); in testPreviewCallbackWithBufferByCamera()
/cts/tests/tests/widget/src/android/widget/cts/
DMagnifierTest.java734 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()