Home
last modified time | relevance | path

Searched refs:surface (Results 1 – 25 of 33) 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()
DColorsGLRenderer.java73 public ColorsGLRenderer(SurfaceTexture surface, int width, int height) { in ColorsGLRenderer() argument
74 mSurface = surface; in ColorsGLRenderer()
/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/apps/InCallUI/src/com/android/incallui/
DVideoCallPresenter.java269 public void onSurfaceCreated(int surface) { in onSurfaceCreated() argument
270 Log.d(this, "onSurfaceCreated surface=" + surface + " mVideoCall=" + mVideoCall); in onSurfaceCreated()
283 if (surface == VideoCallFragment.SURFACE_PREVIEW ) { in onSurfaceCreated()
290 } else if (surface == VideoCallFragment.SURFACE_DISPLAY) { in onSurfaceCreated()
303 public void onSurfaceChanged(int surface, int format, int width, int height) { in onSurfaceChanged() argument
313 public void onSurfaceReleased(int surface) { in onSurfaceReleased() argument
314 Log.d(this, "onSurfaceReleased: mSurfaceId=" + surface); in onSurfaceReleased()
317 surface); in onSurfaceReleased()
321 if (surface == VideoCallFragment.SURFACE_DISPLAY) { in onSurfaceReleased()
323 } else if (surface == VideoCallFragment.SURFACE_PREVIEW) { in onSurfaceReleased()
[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/
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
DCaptureModule.java238 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) {
244 mPreviewSurfaceTexture = surface;
250 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) {
260 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) {
266 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
/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/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/services/Telecomm/src/com/android/server/telecom/
DVideoProviderProxy.java258 public void onSetPreviewSurface(Surface surface) { in onSetPreviewSurface() argument
262 mConectionServiceVideoProvider.setPreviewSurface(surface); in onSetPreviewSurface()
275 public void onSetDisplaySurface(Surface surface) { in onSetDisplaySurface() argument
279 mConectionServiceVideoProvider.setDisplaySurface(surface); in onSetDisplaySurface()
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/
DHoloSpiralView.java59 Surface surface = null; in surfaceCreated() local
60 while (surface == null) { in surfaceCreated()
61 surface = surfaceHolder.getSurface(); in surfaceCreated()
/packages/apps/Nfc/src/com/android/nfc/beam/
DSendUi.java725 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() argument
730 mSurface = surface; in onSurfaceTextureAvailable()
737 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() argument
742 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() argument
749 public void onSurfaceTextureUpdated(SurfaceTexture surface) { } in onSurfaceTextureUpdated() argument
DFireflyRenderer.java132 public void start(SurfaceTexture surface, int width, int height) { in start() argument
133 mSurface = surface; in start()
/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/captureintent/
DCaptureIntentModule.java293 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) {
304 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java513 public synchronized void onFrameAvailable(SurfaceTexture surface) { in onFrameAvailable() argument
1098 private void setPreviewTexture(SurfaceTexture surface) { in setPreviewTexture() argument
1100 mCameraDevice.setPreviewTexture(surface); in setPreviewTexture()
DMosaicRendererSurfaceViewRenderer.java38 public void onMosaicSurfaceCreated(final int surface); in onMosaicSurfaceCreated() argument
/packages/apps/LegacyCamera/res/raw/
Dbackdropper.graph69 surface = $previewSurface;

12