Searched refs:surface (Results 1 - 25 of 37) sorted by last modified time

12

/packages/services/Telecomm/src/com/android/server/telecom/
H A DVideoProviderProxy.java350 * {@link #mConectionServiceVideoProvider} to set the preview surface.
352 * @param surface The surface.
355 public void onSetPreviewSurface(Surface surface) { argument
359 mConectionServiceVideoProvider.setPreviewSurface(surface);
367 * {@link #mConectionServiceVideoProvider} to change the display surface.
369 * @param surface The surface.
372 public void onSetDisplaySurface(Surface surface) { argument
376 mConectionServiceVideoProvider.setDisplaySurface(surface);
[all...]
/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/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DMockVideoProvider.java63 * Stores the preview surface set via the {@link VideoCall#setPreviewSurface(Surface)} API for
66 * @param surface The {@link Surface}.
69 public void onSetPreviewSurface(Surface surface) { argument
70 mPreviewSurface = surface;
74 * Stores the display surface set via the {@link VideoCall#setDisplaySurface(Surface)} API for
77 * @param surface The {@link Surface}.
80 public void onSetDisplaySurface(Surface surface) { argument
81 mDisplaySurface = surface;
176 * Retrieves the last preview surface sent to the provider.
178 * @return the surface
[all...]
H A DVideoProviderTest.java310 final Surface surface = new Surface(new SurfaceTexture(1));
311 mVideoCall.setPreviewSurface(surface);
316 return mConnectionInfo.mockVideoProvider.getPreviewSurface() == surface;
336 final Surface surface = new Surface(new SurfaceTexture(1));
337 mVideoCall.setDisplaySurface(surface);
342 return mConnectionInfo.mockVideoProvider.getDisplaySurface() == surface;
/packages/services/Car/tests/DirectRenderingClusterSample/src/android/car/cluster/sample/
H A DNavigationFragment.java132 Log.i(TAG, "surfaceDestroyed, holder: " + holder + ", detaching surface from"
133 + " display, surface: " + holder.getSurface());
134 // detaching surface is similar to turning off the display
142 private VirtualDisplay createVirtualDisplay(Surface surface, int width, int height) { argument
143 Log.i(TAG, "createVirtualDisplay, surface: " + surface + ", width: " + width
145 return mDisplayManager.createVirtualDisplay("Cluster-App-VD", width, height, 160, 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/apps/TV/libs/
H A Dexoplayer.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ...
H A Dexoplayer_v2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer2/ ...
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/
H A DMpegTsPlayer.java84 void onDrawnToSurface(MpegTsPlayer player, Surface surface); argument
197 * Sets the surface for the player.
199 * @param surface the {@link Surface} to render video
201 public void setSurface(Surface surface) { argument
202 mSurface = surface;
207 * Returns the current surface of the player.
214 * Clears the surface and waits until the surface is being cleaned.
609 public void onDrawnToSurface(Surface surface) { argument
611 mListener.onDrawnToSurface(this, surface);
[all...]
/packages/apps/TV/src/com/android/tv/tuner/tvinput/
H A DTunerSession.java133 public boolean onSetSurface(Surface surface) { argument
134 mSessionWorker.setSurface(surface);
H A DTunerSessionWorker.java293 public void setSurface(Surface surface) { argument
294 if (surface != null && !surface.isValid()) {
295 Log.w(TAG, "Ignoring invalid surface.");
300 mSurface = surface;
467 public void onDrawnToSurface(MpegTsPlayer player, Surface surface) { argument
479 // If surface is drawn successfully, it means that the playback was brought back
1091 // TODO: Since surface is dynamically set, we can remove the dependency of
1417 // Since mSurface is volatile, we define a local variable surface to keep the same value
1419 Surface surface
[all...]
/packages/apps/TV/tests/input/src/com/android/tv/testinput/
H A DTestTvInputService.java181 public boolean onSetSurface(Surface surface) { argument
183 mSurface = surface;
185 if (surface != null) {
337 // The surface might have been abandoned. Ignore the exception.
344 Log.v(TAG, "No surface");
/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.java159 // Wait for hw surface => start frame counter => start pre-animation after 3 frames
192 // Used for holding the surface
415 } // else, we will start the animation once we get the hardware surface
709 // on the surface, which will allocate large buffers the first three calls
737 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
742 mSurface = surface;
749 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
754 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
761 public void onSurfaceTextureUpdated(SurfaceTexture 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/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/Dialer/java/com/android/incallui/
H A DVideoCallPresenter.java63 * <li>{@code VideoCallPresenter} creates and informs telephony of the display surface.
64 * <li>{@code VideoCallPresenter} creates the preview surface.
68 * <li>{@code VideoCallPresenter} adjusts size of the preview surface to match the aspect ratio of
70 * <li>{@code VideoCallPresenter} informs telephony of the new preview surface.
106 /** Tracks the state of the preview surface negotiation with the telephony layer. */
157 * Determines if the incoming video surface should be shown based on the current videoState and
158 * callState. The video surface is shown when incoming video is not paused, the call is active or
163 * @return {@code true} if the incoming video surface should be shown, {@code false} otherwise.
182 * Determines if the outgoing video surface should be shown based on the current videoState. The
183 * video surface i
[all...]
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
H A DSelfManagedAnswerVideoCallScreen.java215 Surface surface = surfaceView.getHolder().getSurface();
218 captureRequestBuilder.addTarget(surface);
219 camera.createCaptureSession(Arrays.asList(surface), new CaptureSessionCallback(), null);
/packages/apps/Dialer/java/com/android/incallui/videosurface/impl/
H A DVideoSurfaceTextureImpl.java169 (savedSurface == null ? "no-surface, " : ""),
196 "SurfaceTextureListener.onSurfaceTextureAvailable", "replacing with cached surface...");
201 // Inform the delegate that the surface is available.
232 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) {} argument
235 public void onSurfaceTextureUpdated(SurfaceTexture surface) {} argument
/packages/apps/DevCamera/src/com/android/devcamera/
H A DApi2Camera.java369 public void startPreview(final Surface surface) { argument
371 mPreviewSurface = surface;
H A DCameraInterface.java48 * Start preview to a surface. Also need to call openCamera().
49 * @param surface
51 void startPreview(Surface surface); argument
/packages/apps/Camera2/src/com/android/camera/
H A 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) {
337 /** The surface texture for the preview. */
1248 // Force preview size to be 16:9, even though surface is 4:3
1420 // If the surface texture is not destroyed, it may have

Completed in 1040 milliseconds

12