Searched refs:surfaceHolder (Results 1 – 5 of 5) sorted by relevance
37 private SurfaceHolder surfaceHolder; field in ViESurfaceRenderer48 surfaceHolder = view.getHolder(); in ViESurfaceRenderer()49 if(surfaceHolder == null) in ViESurfaceRenderer()51 surfaceHolder.addCallback(this); in ViESurfaceRenderer()79 Canvas canvas = surfaceHolder.lockCanvas(); in surfaceCreated()81 Rect dst = surfaceHolder.getSurfaceFrame(); in surfaceCreated()98 surfaceHolder.unlockCanvasAndPost(canvas); in surfaceCreated()175 Canvas canvas = surfaceHolder.lockCanvas(); in DrawBitmap()181 surfaceHolder.unlockCanvasAndPost(canvas); in DrawBitmap()
23 private SurfaceHolder surfaceHolder = view.getHolder(); field in ShadowSurfaceViewTest32 surfaceHolder.addCallback(callback1); in addCallback()36 surfaceHolder.addCallback(callback2); in addCallback()44 surfaceHolder.addCallback(callback1); in removeCallback()45 surfaceHolder.addCallback(callback2); in removeCallback()49 surfaceHolder.removeCallback(callback1); in removeCallback()
107 SurfaceHolder surfaceHolder = surfaceView.getHolder(); in onResume() local112 initCamera(surfaceHolder); in onResume()115 surfaceHolder.addCallback(this); in onResume()116 surfaceHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); in onResume()150 SurfaceHolder surfaceHolder = surfaceView.getHolder(); in onPause() local151 surfaceHolder.removeCallback(this); in onPause()256 private void initCamera(SurfaceHolder surfaceHolder) { in initCamera() argument258 cameraManager.openDriver(surfaceHolder); in initCamera()
26 private SurfaceHolder surfaceHolder; field in ShadowCamera69 surfaceHolder = holder; in setPreviewDisplay()138 return surfaceHolder; in getPreviewDisplay()
31 private SurfaceHolder surfaceHolder; field in ShadowCamera93 surfaceHolder = holder; in setPreviewDisplay()211 return surfaceHolder; in getPreviewDisplay()