Lines Matching defs:surface

47  *     <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 negotiation with the telephony layer.
138 * Determines whether the video surface is in full-screen mode.
177 // Register for surface and video events from {@link InCallVideoCallListener}s.
209 * Handles the creation of a surface in the {@link VideoCallFragment}.
211 * @param surface The surface which was created.
213 public void onSurfaceCreated(int surface) {
220 // If the preview surface has just been created and we have already received camera
221 // capabilities, but not yet set the surface, we will set the surface now.
222 if (surface == VideoCallFragment.SURFACE_PREVIEW &&
227 } else if (surface == VideoCallFragment.SURFACE_DISPLAY) {
233 * Handles structural changes (format or size) to a surface.
235 * @param surface The surface which changed.
236 * @param format The new PixelFormat of the surface.
237 * @param width The new width of the surface.
238 * @param height The new height of the surface.
240 public void onSurfaceChanged(int surface, int format, int width, int height) {
245 * Handles the destruction of a surface in the {@link VideoCallFragment}.
247 * @param surface The surface which was destroyed.
249 public void onSurfaceDestroyed(int surface) {
255 if (surface == VideoCallFragment.SURFACE_DISPLAY) {
257 } else if (surface == VideoCallFragment.SURFACE_PREVIEW) {
267 * @param surfaceId The video surface receiving the click.
398 * TODO(vt): Need to adjust size and orientation of preview surface here.
479 // TODO(vt): Change display surface aspect ratio.
503 // Configure the preview surface to the correct aspect ratio.
510 // Check if the preview surface is ready yet; if it is, set it on the {@code VideoCall}.
566 * Sets the preview surface size based on the current device orientation.