/packages/screensavers/Basic/src/com/android/dreams/basic/ |
D | Colors.java | 76 public void onSurfaceTextureAvailable(final SurfaceTexture surface, in onSurfaceTextureAvailable() argument 78 LOG("onSurfaceTextureAvailable(%s, %d, %d)", surface, width, height); in onSurfaceTextureAvailable() 86 mRenderer = new ColorsGLRenderer(surface, width, height); in onSurfaceTextureAvailable() 93 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, in onSurfaceTextureSizeChanged() argument 95 LOG("onSurfaceTextureSizeChanged(%s, %d, %d)", surface, width, height); in onSurfaceTextureSizeChanged() 108 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() argument 109 LOG("onSurfaceTextureDestroyed(%s)", surface); in onSurfaceTextureDestroyed() 132 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated() argument 133 LOG("onSurfaceTextureUpdated(%s)", surface); in onSurfaceTextureUpdated()
|
/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/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/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()
|
D | GenericOneCameraImpl.java | 150 public void startPreview(Surface surface, final CaptureReadyCallback listener) { in startPreview() argument 151 ListenableFuture<Void> result = mPreviewStarter.startPreview(surface); in startPreview()
|
/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/TV/tests/input/src/com/android/tv/testinput/ |
D | TestTvInputService.java | 152 public boolean onSetSurface(Surface surface) { in onSetSurface() argument 154 mSurface = surface; in onSetSurface() 156 if (surface != null) { in onSetSurface() 322 private void draw(Surface surface, ChannelInfo currentChannel) { in draw() argument 323 if (surface != null) { in draw() 327 Canvas c = surface.lockCanvas(null); in draw() 331 surface.unlockCanvasAndPost(c); in draw()
|
/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 | 161 final Surface surface = new Surface(new SurfaceTexture(1)); in testSetPreviewSurface() local 162 mVideoCall.setPreviewSurface(surface); in testSetPreviewSurface() 167 return mConnectionInfo.mockVideoProvider.getPreviewSurface() == surface; in testSetPreviewSurface() 186 final Surface surface = new Surface(new SurfaceTexture(1)); in testSetDisplaySurface() local 187 mVideoCall.setDisplaySurface(surface); in testSetDisplaySurface() 192 return mConnectionInfo.mockVideoProvider.getDisplaySurface() == surface; in testSetDisplaySurface()
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
D | VideoCallPresenter.java | 276 public void onSurfaceCreated(int surface) { in onSurfaceCreated() argument 277 Log.d(this, "onSurfaceCreated surface=" + surface + " mVideoCall=" + mVideoCall); in onSurfaceCreated() 290 if (surface == VideoCallFragment.SURFACE_PREVIEW ) { in onSurfaceCreated() 297 } else if (surface == VideoCallFragment.SURFACE_DISPLAY) { in onSurfaceCreated() 310 public void onSurfaceChanged(int surface, int format, int width, int height) { in onSurfaceChanged() argument 320 public void onSurfaceReleased(int surface) { in onSurfaceReleased() argument 321 Log.d(this, "onSurfaceReleased: mSurfaceId=" + surface); in onSurfaceReleased() 324 surface); in onSurfaceReleased() 328 if (surface == VideoCallFragment.SURFACE_DISPLAY) { in onSurfaceReleased() 330 } else if (surface == VideoCallFragment.SURFACE_PREVIEW) { in onSurfaceReleased() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | VideoProviderProxy.java | 267 public void onSetPreviewSurface(Surface surface) { in onSetPreviewSurface() argument 271 mConectionServiceVideoProvider.setPreviewSurface(surface); in onSetPreviewSurface() 284 public void onSetDisplaySurface(Surface surface) { in onSetDisplaySurface() argument 288 mConectionServiceVideoProvider.setDisplaySurface(surface); in onSetDisplaySurface()
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/ |
D | MpegTsPlayer.java | 75 void onDrawnToSurface(MpegTsPlayer player, Surface surface); in onDrawnToSurface() argument 173 public void setSurface(Surface surface) { in setSurface() argument 174 mSurface = surface; in setSurface() 385 public void onDrawnToSurface(Surface surface) { in onDrawnToSurface() argument 387 mListener.onDrawnToSurface(this, surface); in onDrawnToSurface()
|
/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/Camera2/src/com/android/camera/one/v2/sharedimagereader/ |
D | ImageStreamImpl.java | 43 ImageDistributor imageDistributor, Surface surface) { in ImageStreamImpl() argument 45 mSurface = surface; in ImageStreamImpl()
|
D | AllocatingImageStream.java | 58 ImageDistributor imageDistributor, Surface surface) { in AllocatingImageStream() argument 59 super(imageStream, imageStreamController, imageDistributor, surface); in AllocatingImageStream()
|
D | ManagedImageReader.java | 88 public ManagedImageReader(Lifetime lifetime, TicketPool ticketPool, Surface surface, in ManagedImageReader() argument 92 mSurface = surface; in ManagedImageReader()
|
/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/apps/Nfc/src/com/android/nfc/beam/ |
D | SendUi.java | 728 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() argument 733 mSurface = surface; in onSurfaceTextureAvailable() 740 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() argument 745 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() argument 752 public void onSurfaceTextureUpdated(SurfaceTexture surface) { } in onSurfaceTextureUpdated() argument
|
/packages/apps/Camera2/src/com/android/camera/captureintent/ |
D | CaptureIntentModule.java | 293 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { 304 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/ |
D | TunerSessionWorker.java | 328 public void onDrawnToSurface(MpegTsPlayer player, Surface surface) { in onDrawnToSurface() argument 821 Surface surface = (Surface) msg.obj; in handleMessage() local 823 Log.d(TAG, "MSG_SET_SURFACE " + surface); in handleMessage() 825 if (surface != null && !surface.isValid()) { in handleMessage() 829 mSurface = surface; in handleMessage()
|
D | TunerSession.java | 136 public boolean onSetSurface(Surface surface) { in onSetSurface() argument 137 mSessionWorker.sendMessage(TunerSessionWorker.MSG_SET_SURFACE, surface); in onSetSurface()
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | CameraInterface.java | 51 void startPreview(Surface surface); in startPreview() argument
|