Lines Matching refs:surface

458          * surface is ready for viewing. This method must be called each time {@link #onTune}
682 * Assigns a size and position to the surface passed in {@link #onSetSurface}. The position
683 * is relative to the overlay view that sits on top of this surface.
726 * Also, if a surface is passed to a non-main session and active source is changed to
727 * initiate the surface, the active source should be returned to the main session.
745 * Called when the application sets the surface.
747 * <p>The TV input service should render video onto the given surface. When called with
749 * currently set surface and stop using it.
751 * @param surface The surface to be used for video rendering. Can be {@code null}.
752 * @return {@code true} if the surface was set successfully, {@code false} otherwise.
754 public abstract boolean onSetSurface(@Nullable Surface surface);
757 * Called after any structural changes (format or size) have been made to the surface passed
759 * {@link #onSetSurface} is called with non-null surface.
761 * @param format The new PixelFormat of the surface.
762 * @param width The new width of the surface.
763 * @param height The new height of the surface.
773 * {@link TvView}. Note that the size of the underlying surface can be different if the
774 * surface was changed by calling {@link #layoutSurface}.
1157 void setSurface(Surface surface) {
1158 onSetSurface(surface);
1162 mSurface = surface;
1818 * a hardware TV Input (e.g. HDMI 1) and forward the application's surface to the session so
1897 * forward the application's surface to the hardware TV input.
1900 public final boolean onSetSurface(Surface surface) {