Home | History | Annotate | Download | only in display

Lines Matching refs:surface

20 import android.view.Surface;
24 * {@link android.view.Surface} that you must provide to {@link DisplayManager#createVirtualDisplay
27 * Because a virtual display renders to a surface provided by the application, it will be
39 private Surface mSurface;
42 IVirtualDisplayCallback token, Surface surface) {
46 mSurface = surface;
57 * Gets the surface that backs the virtual display.
59 public Surface getSurface() {
64 * Sets the surface that backs the virtual display.
66 * Detaching the surface that backs a virtual display has a similar effect to
69 * It is still the caller's responsibility to destroy the surface after it has
73 * @param surface The surface to set, or null to detach the surface from the virtual display.
75 public void setSurface(Surface surface) {
76 if (mSurface != surface) {
77 mGlobal.setVirtualDisplaySurface(mToken, surface);
78 mSurface = surface;
95 * Releases the virtual display and destroys its underlying surface.
111 + ", surface=" + mSurface + "}";
120 * paused by the system or when the surface has been detached
122 * The surface will not receive any more buffers while paused.