Lines Matching refs:surface
681 * Call after setting a new display surface.
683 private native void _setVideoSurface(Surface surface);
739 * Either a surface holder or surface must be set if a display or video sink
742 * A null surface holder or surface will result in only the audio track being
751 Surface surface;
753 surface = sh.getSurface();
755 surface = null;
757 _setVideoSurface(surface);
766 * A null surface will result in only the audio track being played.
776 * @param surface The {@link Surface} to be used for the video portion of
781 public void setSurface(Surface surface) {
782 if (mScreenOnWhilePlaying && surface != null) {
786 _setVideoSurface(surface);
797 * surface rendering area. When the surface has the same aspect ratio
807 * its aspect ratio. The whole surface area is always used. When the
808 * aspect ratio of the content is the same as the surface, no content
809 * is cropped; otherwise, content is cropped to fit the surface.
1252 * After setting the datasource and the display surface, you need to either
1273 * After setting the datasource and the display surface, you need to either
1485 * no display surface was set, or the width has not been determined
1496 * no display surface was set, or the height has not been determined
3576 * no display surface was set, or the value was not determined yet.