Lines Matching defs:Surface

37 public class Surface implements Parcelable {
38 private static final String TAG = "Surface";
43 public static final Parcelable.Creator<Surface> CREATOR =
44 new Parcelable.Creator<Surface>() {
45 public Surface createFromParcel(Parcel source) {
47 Surface s = new Surface();
56 public Surface[] newArray(int size) {
57 return new Surface[size];
101 * Surface creation flag: Surface is created hidden
106 * Surface creation flag: The surface contains secure content, special
116 * Surface creation flag: Creates a surface where color components are interpreted
140 * Surface creation flag: Indicates that the surface must be considered opaque,
149 * Surface creation flag: Application requires a hardware-protected path to an
159 * Surface creation flag: Creates a normal surface.
166 * Surface creation flag: Creates a Blur surface.
177 * Surface creation flag: Creates a Dim surface.
199 * Surface flag: Hide the surface.
214 private int mNativeSurface; // Surface*
263 IBinder displayToken, Surface surface);
273 private native void nativeCopyFrom(Surface other);
274 private native void nativeTransferFrom(Surface other);
283 public Surface() {
311 public Surface(SurfaceSession session,
339 * Create Surface from a {@link SurfaceTexture}.
341 * Images drawn to the Surface will be made available to the {@link
346 * Surface.
348 public Surface(SurfaceTexture surfaceTexture) {
380 * Always call release() when you're done with a Surface.
421 * Returns true if the consumer of this Surface is running behind the producer.
608 public static void setDisplaySurface(IBinder displayToken, Surface surface) {
674 public void copyFrom(Surface other) {
688 * one Surface object to another, in particular in SurfaceFlinger.
691 public void transferFrom(Surface other) {
729 return "Surface(name=" + mName + ", identity=" + nativeGetIdentity() + ")";