/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/Camera2/src/com/android/camera/one/v2/initialization/ |
D | PreviewStarter.java | 65 public ListenableFuture<Void> startPreview(final Surface surface) { in startPreview() argument 74 surfaceList.add(surface); in startPreview() 79 surfaceList.add(surface); in startPreview() 90 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 | 323 final Surface surface = new Surface(new SurfaceTexture(1)); in testSetPreviewSurface() local 324 mVideoCall.setPreviewSurface(surface); in testSetPreviewSurface() 329 return mConnectionInfo.mockVideoProvider.getPreviewSurface() == surface; in testSetPreviewSurface() 350 final Surface surface = new Surface(new SurfaceTexture(1)); in testSetDisplaySurface() local 351 mVideoCall.setDisplaySurface(surface); in testSetDisplaySurface() 356 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() 231 private DecodingTask(SurfaceTexture surface) { in DecodingTask() argument 232 mSurface = surface; in DecodingTask() 284 private boolean initCamera(SurfaceTexture surface) { in initCamera() argument 292 mCamera.setPreviewTexture(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/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppQrCodeScannerFragment.java | 408 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() argument 409 initCamera(surface); in onSurfaceTextureAvailable() 413 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() argument 418 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() argument 424 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated() argument 510 private void initCamera(SurfaceTexture surface) { in initCamera() argument 520 mCamera.start(surface); in initCamera()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/ |
D | MpegTsPlayer.java | 79 void onDrawnToSurface(MpegTsPlayer player, Surface surface); in onDrawnToSurface() argument 200 public void setSurface(Surface surface) { in setSurface() argument 201 mSurface = surface; in setSurface() 582 public void onDrawnToSurface(Surface surface) { in onDrawnToSurface() argument 584 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 | 790 Surface surface = getRemoteVideoSurfaceTexture().getSavedSurface(); in adjustVideoMode() local 791 if (surface != null) { in adjustVideoMode() 793 "VideoCallPresenter.adjustVideoMode", "calling setDisplaySurface with: " + surface); in adjustVideoMode() 794 videoCall.setDisplaySurface(surface); in adjustVideoMode() 957 Surface surface = getLocalVideoSurfaceTexture().getSavedSurface(); in onCameraDimensionsChange() local 958 if (surface != null) { in onCameraDimensionsChange() 960 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);
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ |
D | ImageStreamImpl.java | 43 ImageDistributor imageDistributor, Surface surface) { in ImageStreamImpl() argument 45 mSurface = surface; in ImageStreamImpl()
|