Home
last modified time | relevance | path

Searched refs:surface (Results 1 – 25 of 38) sorted by relevance

12

/packages/screensavers/Basic/src/com/android/dreams/basic/
DColors.java76 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/
DBlockingGLTextureView.java66 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/
DTestVideoProvider.java95 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()
DTestManagedVideoProvider.java80 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/
DPreviewStarter.java65 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()
DGenericOneCameraImpl.java150 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/
DTextureViewHelper.java464 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);
DVideoUI.java277 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
DPhotoUI.java275 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/
DTestTvInputService.java152 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/
DMockVideoProvider.java69 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()
DVideoProviderTest.java161 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/
DVideoCallPresenter.java276 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/
DVideoProviderProxy.java267 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/
DMpegTsPlayer.java75 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/
DSimpleCaptureStream.java31 public SimpleCaptureStream(Surface surface) { in SimpleCaptureStream() argument
32 mSurface = surface; in SimpleCaptureStream()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/
DImageStreamImpl.java43 ImageDistributor imageDistributor, Surface surface) { in ImageStreamImpl() argument
45 mSurface = surface; in ImageStreamImpl()
DAllocatingImageStream.java58 ImageDistributor imageDistributor, Surface surface) { in AllocatingImageStream() argument
59 super(imageStream, imageStreamController, imageDistributor, surface); in AllocatingImageStream()
DManagedImageReader.java88 public ManagedImageReader(Lifetime lifetime, TicketPool ticketPool, Surface surface, in ManagedImageReader() argument
92 mSurface = surface; in ManagedImageReader()
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java1703 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/
DSendUi.java728 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/
DCaptureIntentModule.java293 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) {
304 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
DTunerSessionWorker.java328 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()
DTunerSession.java136 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/
DCameraInterface.java51 void startPreview(Surface surface); in startPreview() argument

12