/packages/apps/Gallery2/src/com/android/photos/views/ |
D | BlockingGLTextureView.java | 66 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, in onSurfaceTextureAvailable() argument 68 mRenderThread.setSurface(surface); in onSurfaceTextureAvailable() 73 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, in onSurfaceTextureSizeChanged() argument 79 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() argument 87 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated() argument 192 public boolean createSurface(SurfaceTexture surface) { in createSurface() argument 215 if (surface != null) { in createSurface() 216 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surface, null); in createSurface() 343 public void setSurface(SurfaceTexture surface) { in setSurface() argument 346 if (surface != null) { in setSurface() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
D | SimulatorRemoteVideo.java | 40 SimulatorRemoteVideo(@NonNull Surface surface) { in SimulatorRemoteVideo() argument 41 thread = new RenderThread(new Renderer(surface)); in SimulatorRemoteVideo() 65 @NonNull private final Surface surface; field in SimulatorRemoteVideo.Renderer 71 Renderer(@NonNull Surface surface) { in Renderer() argument 72 this.surface = Assert.isNotNull(surface); in Renderer() 92 canvas = surface.lockCanvas(null /* dirtyRect */); in drawFrame() 107 surface.unlockCanvasAndPost(canvas); in drawFrame()
|
D | SimulatorVideoProvider.java | 62 public void onSetPreviewSurface(Surface surface) { in onSetPreviewSurface() argument 68 if (surface != null && previewCameraId != null) { in onSetPreviewSurface() 69 simulatorPreviewCamera = new SimulatorPreviewCamera(context, previewCameraId, surface); in onSetPreviewSurface() 75 public void onSetDisplaySurface(Surface surface) { in onSetDisplaySurface() argument 81 if (surface != null) { in onSetDisplaySurface() 82 simulatorRemoteVideo = new SimulatorRemoteVideo(surface); in onSetDisplaySurface()
|
D | SimulatorPreviewCamera.java | 46 @NonNull private final Surface surface; field in SimulatorPreviewCamera 51 @NonNull Context context, @NonNull String cameraId, @NonNull Surface surface) { in SimulatorPreviewCamera() argument 54 this.surface = Assert.isNotNull(surface); in SimulatorPreviewCamera() 114 Arrays.asList(Assert.isNotNull(surface)), in onOpened() 152 builder.addTarget(surface); in onConfigured()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestVideoProvider.java | 95 public void onSetPreviewSurface(Surface surface) { in onSetPreviewSurface() argument 96 log("Set preview surface " + (surface == null ? "unset" : "set")); in onSetPreviewSurface() 101 mPreviewSurface = surface; in onSetPreviewSurface() 109 public void onSetDisplaySurface(Surface surface) { in onSetDisplaySurface() argument 110 log("Set display surface " + (surface == null ? "unset" : "set")); in onSetDisplaySurface() 111 mDisplaySurface = surface; in onSetDisplaySurface() 222 private MediaPlayer createMediaPlayer(Surface surface, int videoResource) { in createMediaPlayer() argument 225 mediaPlayer.setSurface(surface); in createMediaPlayer()
|
D | TestManagedVideoProvider.java | 80 public void onSetPreviewSurface(Surface surface) { in onSetPreviewSurface() argument 81 mRemoteVideoProvider.setPreviewSurface(surface); in onSetPreviewSurface() 85 public void onSetDisplaySurface(Surface surface) { in onSetDisplaySurface() argument 86 mRemoteVideoProvider.setDisplaySurface(surface); in onSetDisplaySurface()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | VideoPlayer.java | 100 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() argument 101 animationSurface = new Surface(surface); in onSurfaceTextureAvailable() 113 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() argument 117 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() argument 123 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated() argument
|
/packages/apps/Camera2/src/com/android/camera/ |
D | TextureViewHelper.java | 464 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { 471 mSurfaceTextureListener.onSurfaceTextureAvailable(surface, width, height); 476 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { 478 mSurfaceTextureListener.onSurfaceTextureSizeChanged(surface, width, height); 483 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { 485 mSurfaceTextureListener.onSurfaceTextureDestroyed(surface); 491 public void onSurfaceTextureUpdated(SurfaceTexture surface) { 493 mSurfaceTextureListener.onSurfaceTextureUpdated(surface);
|
D | VideoUI.java | 277 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() argument 282 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() argument 289 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() argument 293 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated() argument
|
D | PhotoUI.java | 275 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() argument 280 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() argument 285 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() argument 291 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated() argument
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | AdbQrcodeScannerFragment.java | 205 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated() argument 220 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() argument 221 initCamera(surface); in onSurfaceTextureAvailable() 225 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() argument 230 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() argument 309 private void initCamera(SurfaceTexture surface) { in initCamera() argument 313 mCamera.start(surface); in initCamera()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
D | PreviewStarter.java | 66 public ListenableFuture<Void> startPreview(final Surface surface) { in startPreview() argument 75 surfaceList.add(surface); in startPreview() 80 surfaceList.add(surface); in startPreview() 91 mSessionListener.onCameraCaptureSessionCreated(captureSession, surface); in startPreview()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | MockVideoProvider.java | 69 public void onSetPreviewSurface(Surface surface) { in onSetPreviewSurface() argument 70 mPreviewSurface = surface; in onSetPreviewSurface() 80 public void onSetDisplaySurface(Surface surface) { in onSetDisplaySurface() argument 81 mDisplaySurface = surface; in onSetDisplaySurface()
|
D | VideoProviderTest.java | 332 final Surface surface = new Surface(new SurfaceTexture(1)); in testSetPreviewSurface() local 333 mVideoCall.setPreviewSurface(surface); in testSetPreviewSurface() 338 return mConnectionInfo.mockVideoProvider.getPreviewSurface() == surface; in testSetPreviewSurface() 359 final Surface surface = new Surface(new SurfaceTexture(1)); in testSetDisplaySurface() local 360 mVideoCall.setDisplaySurface(surface); in testSetDisplaySurface() 365 return mConnectionInfo.mockVideoProvider.getDisplaySurface() == surface; in testSetDisplaySurface()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/qrcode/ |
D | QrCamera.java | 98 public void start(SurfaceTexture surface) { in start() argument 100 mDecodeTask = new DecodingTask(surface); in start() 223 private DecodingTask(SurfaceTexture surface) { in DecodingTask() argument 224 mSurface = surface; in DecodingTask() 276 private boolean initCamera(SurfaceTexture surface) { in initCamera() argument 284 mCamera.setPreviewTexture(surface); in initCamera()
|
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/ |
D | QrCamera.java | 105 public void start(SurfaceTexture surface) { in start() argument 107 mDecodeTask = new DecodingTask(surface); in start() 233 private DecodingTask(SurfaceTexture surface) { in DecodingTask() argument 234 mSurface = surface; in DecodingTask() 286 private boolean initCamera(SurfaceTexture surface) { in initCamera() argument 294 mCamera.setPreviewTexture(surface); in initCamera()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppQrCodeScannerFragment.java | 411 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() argument 412 initCamera(surface); in onSurfaceTextureAvailable() 416 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() argument 421 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() argument 427 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated() argument 513 private void initCamera(SurfaceTexture surface) { in initCamera() argument 523 mCamera.start(surface); in initCamera()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/ |
D | WifiDppQrCodeScannerFragment.java | 401 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() argument 402 initCamera(surface); in onSurfaceTextureAvailable() 406 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() argument 411 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() argument 417 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated() argument 503 private void initCamera(SurfaceTexture surface) { in initCamera() argument 513 mCamera.start(surface); in initCamera()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/ |
D | MpegTsPlayer.java | 80 void onDrawnToSurface(MpegTsPlayer player, Surface surface); in onDrawnToSurface() argument 201 public void setSurface(Surface surface) { in setSurface() argument 202 mSurface = surface; in setSurface() 583 public void onDrawnToSurface(Surface surface) { in onDrawnToSurface() argument 585 mListener.onDrawnToSurface(this, surface); in onDrawnToSurface()
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | CameraAppUI.java | 1703 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() argument 1704 mSurface = surface; in onSurfaceTextureAvailable() 1709 mPreviewStatusListener.onSurfaceTextureAvailable(surface, width, height); in onSurfaceTextureAvailable() 1715 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() argument 1716 mSurface = surface; in onSurfaceTextureSizeChanged() 1720 mPreviewStatusListener.onSurfaceTextureSizeChanged(surface, width, height); in onSurfaceTextureSizeChanged() 1725 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() argument 1729 return mPreviewStatusListener.onSurfaceTextureDestroyed(surface); in onSurfaceTextureDestroyed() 1735 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated() argument 1736 mSurface = surface; in onSurfaceTextureUpdated() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | VideoProviderProxy.java | 366 public void onSetPreviewSurface(Surface surface) { in onSetPreviewSurface() argument 370 mConectionServiceVideoProvider.setPreviewSurface(surface); in onSetPreviewSurface() 383 public void onSetDisplaySurface(Surface surface) { in onSetDisplaySurface() argument 387 mConectionServiceVideoProvider.setDisplaySurface(surface); in onSetDisplaySurface()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | VideoCallPresenter.java | 806 Surface surface = getRemoteVideoSurfaceTexture().getSavedSurface(); in adjustVideoMode() local 807 if (surface != null) { in adjustVideoMode() 809 "VideoCallPresenter.adjustVideoMode", "calling setDisplaySurface with: " + surface); in adjustVideoMode() 810 videoCall.setDisplaySurface(surface); in adjustVideoMode() 973 Surface surface = getLocalVideoSurfaceTexture().getSavedSurface(); in onCameraDimensionsChange() local 974 if (surface != null) { in onCameraDimensionsChange() 976 videoCall.setPreviewSurface(surface); in onCameraDimensionsChange()
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | NavigationFragment.java | 184 private VirtualDisplay createVirtualDisplay(Surface surface, int width, int height) { in createVirtualDisplay() argument 185 Log.i(TAG, "createVirtualDisplay, surface: " + surface + ", width: " + width in createVirtualDisplay() 187 return mDisplayManager.createVirtualDisplay("Cluster-App-VD", width, height, 160, surface, in createVirtualDisplay()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/common/ |
D | SimpleCaptureStream.java | 31 public SimpleCaptureStream(Surface surface) { in SimpleCaptureStream() argument 32 mSurface = surface; in SimpleCaptureStream()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
D | SelfManagedAnswerVideoCallScreen.java | 218 Surface surface = surfaceView.getHolder().getSurface(); 221 captureRequestBuilder.addTarget(surface); 222 camera.createCaptureSession(Arrays.asList(surface), new CaptureSessionCallback(), null);
|