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

/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/tests/src/com/android/server/telecom/testapps/
H A DTestManagedVideoProvider.java79 public void onSetPreviewSurface(Surface surface) { argument
80 mRemoteVideoProvider.setPreviewSurface(surface);
84 public void onSetDisplaySurface(Surface surface) { argument
85 mRemoteVideoProvider.setDisplaySurface(surface);
H A DTestVideoProvider.java89 public void onSetPreviewSurface(Surface surface) { argument
90 log("Set preview surface " + (surface == null ? "unset" : "set"));
95 mPreviewSurface = surface;
103 public void onSetDisplaySurface(Surface surface) { argument
104 log("Set display surface " + (surface == null ? "unset" : "set"));
105 mDisplaySurface = surface;
203 * Creates a media player to play a video resource on a surface.
204 * @param surface Th
208 createMediaPlayer(Surface surface, int videoResource) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/
H A DTextureViewHelper.java355 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
358 // Re-apply transform matrix for new surface texture
362 mSurfaceTextureListener.onSurfaceTextureAvailable(surface, width, height);
367 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
369 mSurfaceTextureListener.onSurfaceTextureSizeChanged(surface, width, height);
374 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
376 mSurfaceTextureListener.onSurfaceTextureDestroyed(surface);
382 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
384 mSurfaceTextureListener.onSurfaceTextureUpdated(surface);
H A DCaptureModuleUI.java147 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
148 mModule.onSurfaceTextureAvailable(surface, width, height);
152 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
153 return mModule.onSurfaceTextureDestroyed(surface);
157 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
158 mModule.onSurfaceTextureSizeChanged(surface, width, height);
162 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
163 mModule.onSurfaceTextureUpdated(surface);
H A DVideoUI.java293 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
298 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
305 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
309 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
H A DPhotoUI.java306 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
311 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
316 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
322 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
H A DCaptureModule.java488 public void onSurfaceTextureAvailable(final SurfaceTexture surface, int width, int height) { argument
493 initSurface(surface);
496 public void initSurface(final SurfaceTexture surface) { argument
497 mPreviewTexture = surface;
503 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
509 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
517 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
1145 // Undo ScaleToFit.FILL done by the surface
1263 // If the surface texture is not destroyed, it may have
/packages/apps/InCallUI/src/com/android/incallui/
H A DVideoCallFragment.java39 * Used to indicate that the surface dimensions are not set.
44 * Surface ID for the display surface.
49 * Surface ID for the preview surface.
87 * The width of the surface.
92 * The height of the surface.
111 * @param surfaceId The surface ID of the surface.
112 * @param textureView The {@link TextureView} for the surface.
121 * @param surfaceId The surface ID of the surface
221 onSurfaceTextureUpdated(SurfaceTexture surface) argument
[all...]
H A DVideoCallPresenter.java47 * <li>{@code VideoCallPresenter} creates and informs telephony of the display surface.</li>
48 * <li>{@code VideoCallPresenter} creates the preview surface.</li>
52 * <li>{@code VideoCallPresenter} adjusts size of the preview surface to match the aspect
54 * <li>{@code VideoCallPresenter} informs telephony of the new preview surface.</li>
73 * Defines the state of the preview surface negotiation with the telephony layer.
89 * The camera capabilties have been received from telephony, but the surface has not yet
95 * The surface has been set on the {@link VideoCall}.
101 * The minimum width or height of the preview surface. Used when re-sizing the preview surface
133 * Tracks the state of the preview surface negotiatio
213 onSurfaceCreated(int surface) argument
240 onSurfaceChanged(int surface, int format, int width, int height) argument
249 onSurfaceDestroyed(int surface) argument
[all...]
/packages/apps/Nfc/src/com/android/nfc/
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.java150 // Wait for hw surface => start frame counter => start pre-animation after 3 frames
183 // Used for holding the surface
403 } // else, we will start the animation once we get the hardware surface
693 // on the surface, which will allocate large buffers the first three calls
721 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
726 mSurface = surface;
733 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
738 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
745 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/Launcher3/WallpaperPicker/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.java309 * Starts a preview stream and renders it to the given surface.
311 public void startPreview(Surface surface, CaptureReadyCallback listener); argument
/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.java1516 * Return the shared surface texture.
1537 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
1538 mSurface = surface;
1543 mPreviewStatusListener.onSurfaceTextureAvailable(surface, width, height);
1549 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
1550 mSurface = surface;
1554 mPreviewStatusListener.onSurfaceTextureSizeChanged(surface, width, height);
1559 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
1563 return mPreviewStatusListener.onSurfaceTextureDestroyed(surface);
1569 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
[all...]

Completed in 497 milliseconds