Searched defs:surface (Results 1 - 24 of 24) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/one/v2/common/
H A DSimpleCaptureStream.java31 public SimpleCaptureStream(Surface surface) { argument
32 mSurface = surface;
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/
H A DPreviewStarter.java32 * When the preview surface is available, creates a capture session, and then
47 * surface) to use.
63 * @param surface The preview surface to use.
65 public ListenableFuture<Void> startPreview(final Surface surface) { argument
66 // When we have the preview surface, start the capture session.
74 surfaceList.add(surface);
79 surfaceList.add(surface);
90 mSessionListener.onCameraCaptureSessionCreated(captureSession, surface);
H A DGenericOneCameraImpl.java150 public void startPreview(Surface surface, final CaptureReadyCallback listener) { argument
151 ListenableFuture<Void> result = mPreviewStarter.startPreview(surface);
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/
H A DImageStreamImpl.java43 ImageDistributor imageDistributor, Surface surface) {
45 mSurface = surface;
41 ImageStreamImpl(BufferQueue<ImageProxy> imageStream, BufferQueueController<ImageProxy> imageStreamController, ImageDistributor imageDistributor, Surface surface) argument
H A DManagedImageReader.java76 * The {@link ImageReader} surface.
85 * @param surface
88 public ManagedImageReader(Lifetime lifetime, TicketPool ticketPool, Surface surface, argument
92 mSurface = surface;
H A DAllocatingImageStream.java52 * @param surface
58 ImageDistributor imageDistributor, Surface surface) {
59 super(imageStream, imageStreamController, imageDistributor, surface);
54 AllocatingImageStream( int capacity, ReservableTicketPool ticketPool, BufferQueue<ImageProxy> imageStream, BufferQueueController<ImageProxy> imageStreamController, ImageDistributor imageDistributor, Surface surface) argument
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
H A DMosaicRendererSurfaceViewRenderer.java36 /** A callback to be called when the surface is created */
38 public void onMosaicSurfaceCreated(final int surface); argument
H A DPanoramaActivity.java513 public synchronized void onFrameAvailable(SurfaceTexture surface) { argument
1098 private void setPreviewTexture(SurfaceTexture surface) { argument
1100 mCameraDevice.setPreviewTexture(surface);
/packages/screensavers/Basic/src/com/android/dreams/basic/
H A DColors.java76 public void onSurfaceTextureAvailable(final SurfaceTexture surface, argument
78 LOG("onSurfaceTextureAvailable(%s, %d, %d)", surface, width, height);
86 mRenderer = new ColorsGLRenderer(surface, width, height);
93 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, argument
95 LOG("onSurfaceTextureSizeChanged(%s, %d, %d)", surface, width, height);
108 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
109 LOG("onSurfaceTextureDestroyed(%s)", surface);
132 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
133 LOG("onSurfaceTextureUpdated(%s)", surface);
H A DColorsGLRenderer.java73 public ColorsGLRenderer(SurfaceTexture surface, int width, int height) { argument
74 mSurface = surface;
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
H A DTestManagedVideoProvider.java80 public void onSetPreviewSurface(Surface surface) { argument
81 mRemoteVideoProvider.setPreviewSurface(surface);
85 public void onSetDisplaySurface(Surface surface) { argument
86 mRemoteVideoProvider.setDisplaySurface(surface);
H A DTestVideoProvider.java95 public void onSetPreviewSurface(Surface surface) { argument
96 log("Set preview surface " + (surface == null ? "unset" : "set"));
101 mPreviewSurface = surface;
109 public void onSetDisplaySurface(Surface surface) { argument
110 log("Set display surface " + (surface == null ? "unset" : "set"));
111 mDisplaySurface = surface;
217 * Creates a media player to play a video resource on a surface.
218 * @param surface Th
222 createMediaPlayer(Surface surface, int videoResource) argument
[all...]
/packages/apps/Nfc/src/com/android/nfc/beam/
H A DFireflyRenderer.java95 // The surface to render the flies on, including width and height
129 * Starts rendering fireflies on the given surface.
132 public void start(SurfaceTexture surface, int width, int height) { argument
133 mSurface = surface;
340 // Unbind the current surface and context from the display
H A DSendUi.java153 // Wait for hw surface => start frame counter => start pre-animation after 3 frames
186 // Used for holding the surface
406 } // else, we will start the animation once we get the hardware surface
697 // on the surface, which will allocate large buffers the first three calls
725 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
730 mSurface = surface;
737 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
742 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
749 public void onSurfaceTextureUpdated(SurfaceTexture surface) { } argument
/packages/services/Telecomm/src/com/android/server/telecom/
H A DVideoProviderProxy.java253 * {@link #mConectionServiceVideoProvider} to set the preview surface.
255 * @param surface The surface.
258 public void onSetPreviewSurface(Surface surface) { argument
262 mConectionServiceVideoProvider.setPreviewSurface(surface);
270 * {@link #mConectionServiceVideoProvider} to change the display surface.
272 * @param surface The surface.
275 public void onSetDisplaySurface(Surface surface) { argument
279 mConectionServiceVideoProvider.setDisplaySurface(surface);
[all...]
/packages/apps/Camera2/src/com/android/camera/
H A DTextureViewHelper.java288 // (not of necessarily the surface) equals the aspect ratio of view that is receiving
289 // the preview. So, a 4:3 surface that contains 16:9 data will look correct as
464 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
467 // Re-apply transform matrix for new surface texture
471 mSurfaceTextureListener.onSurfaceTextureAvailable(surface, width, height);
476 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
478 mSurfaceTextureListener.onSurfaceTextureSizeChanged(surface, width, height);
483 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
485 mSurfaceTextureListener.onSurfaceTextureDestroyed(surface);
491 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
[all...]
H A DVideoUI.java277 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
282 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
289 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
293 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
H A DPhotoUI.java275 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
280 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
285 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
291 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
/packages/apps/Gallery2/src/com/android/photos/views/
H A DBlockingGLTextureView.java66 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, argument
68 mRenderThread.setSurface(surface);
73 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, argument
79 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
87 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
187 * Create an egl surface for the current SurfaceTexture surface. If a surface
188 * already exists, destroy it before creating the new surface.
190 * @return true if the surface wa
192 createSurface(SurfaceTexture surface) argument
343 setSurface(SurfaceTexture surface) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/one/
H A DOneCamera.java390 * Starts a preview stream and renders it to the given surface.
392 * @param surface the surface on which to render preview frames
395 public void startPreview(Surface surface, CaptureReadyCallback listener); argument
/packages/apps/InCallUI/src/com/android/incallui/
H A DVideoCallFragment.java45 * Used to indicate that the surface dimensions are not set.
50 * Surface ID for the display surface.
55 * Surface ID for the preview surface.
84 * The {@link FrameLayout} containing the preview surface.
127 * @param surfaceId The surface ID of the surface.
128 * @param textureView The {@link TextureView} for the surface.
138 * @param surfaceId The surface ID of the surface.
139 * @param textureView The {@link TextureView} for the surface
294 onSurfaceTextureUpdated(SurfaceTexture surface) argument
[all...]
H A DVideoCallPresenter.java54 * <li>{@code VideoCallPresenter} creates and informs telephony of the display surface.</li>
55 * <li>{@code VideoCallPresenter} creates the preview surface.</li>
59 * <li>{@code VideoCallPresenter} adjusts size of the preview surface to match the aspect
61 * <li>{@code VideoCallPresenter} informs telephony of the new preview surface.</li>
93 * Defines the state of the preview surface negotiation with the telephony layer.
109 * The camera capabilties have been received from telephony, but the surface has not yet
115 * The surface has been set on the {@link VideoCall}.
121 * The minimum width or height of the preview surface. Used when re-sizing the preview surface
158 * Tracks the state of the preview surface negotiatio
269 onSurfaceCreated(int surface) argument
303 onSurfaceChanged(int surface, int format, int width, int height) argument
313 onSurfaceReleased(int surface) argument
337 onSurfaceDestroyed(int surface) argument
[all...]
/packages/apps/Camera/src/com/android/camera/
H A DPanoramaModule.java501 public void onFrameAvailable(SurfaceTexture surface) { argument
/packages/apps/Camera2/src/com/android/camera/app/
H A DCameraAppUI.java1682 * Return the shared surface texture.
1703 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
1704 mSurface = surface;
1709 mPreviewStatusListener.onSurfaceTextureAvailable(surface, width, height);
1715 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
1716 mSurface = surface;
1720 mPreviewStatusListener.onSurfaceTextureSizeChanged(surface, width, height);
1725 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
1729 return mPreviewStatusListener.onSurfaceTextureDestroyed(surface);
1735 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
[all...]

Completed in 1635 milliseconds