Lines Matching defs:Surface

37 public class Surface implements Parcelable {
38 private static final String TAG = "Surface";
59 public static final Parcelable.Creator<Surface> CREATOR =
60 new Parcelable.Creator<Surface>() {
62 public Surface createFromParcel(Parcel source) {
64 Surface s = new Surface();
74 public Surface[] newArray(int size) {
75 return new Surface[size];
124 public Surface() {
128 * Create Surface from a {@link SurfaceTexture}.
130 * Images drawn to the Surface will be made available to the {@link
135 * Surface.
138 public Surface(SurfaceTexture surfaceTexture) {
150 private Surface(long nativeObject) {
170 * Always call release() when you're done with a Surface.
223 * Returns true if the consumer of this Surface is running behind the producer.
254 throws Surface.OutOfResourcesException, IllegalArgumentException {
261 // we just refuse to re-lock the Surface.
262 throw new IllegalArgumentException("Surface was already locked");
293 Log.w(TAG, "WARNING: Surface's mNativeObject (0x" +
298 throw new IllegalStateException("Surface was not locked");
395 public void transferFrom(Surface other) {
427 // create a new native Surface and return it after reducing
452 return "Surface(name=" + mName + ")/@0x" +
474 throw new IllegalStateException("Surface has already been released.");
490 * Exception thrown when a Canvas couldn't be locked with {@link Surface#lockCanvas}, or
512 case Surface.ROTATION_0: {
515 case Surface.ROTATION_90: {
518 case Surface.ROTATION_180: {
521 case Surface.ROTATION_270: {
586 throw new IllegalStateException("Surface was already locked!");