Loading api/current.txt +0 −4 Original line number Diff line number Diff line Loading @@ -45234,15 +45234,11 @@ package android.view { public class Surface implements android.os.Parcelable { ctor public Surface(android.graphics.SurfaceTexture); method public int describeContents(); method public boolean isAutoRefreshEnabled(); method public boolean isSharedBufferModeEnabled(); method public boolean isValid(); method public android.graphics.Canvas lockCanvas(android.graphics.Rect) throws java.lang.IllegalArgumentException, android.view.Surface.OutOfResourcesException; method public android.graphics.Canvas lockHardwareCanvas(); method public void readFromParcel(android.os.Parcel); method public void release(); method public void setAutoRefreshEnabled(boolean); method public void setSharedBufferModeEnabled(boolean); method public deprecated void unlockCanvas(android.graphics.Canvas); method public void unlockCanvasAndPost(android.graphics.Canvas); method public void writeToParcel(android.os.Parcel, int); api/system-current.txt +0 −4 Original line number Diff line number Diff line Loading @@ -48819,15 +48819,11 @@ package android.view { public class Surface implements android.os.Parcelable { ctor public Surface(android.graphics.SurfaceTexture); method public int describeContents(); method public boolean isAutoRefreshEnabled(); method public boolean isSharedBufferModeEnabled(); method public boolean isValid(); method public android.graphics.Canvas lockCanvas(android.graphics.Rect) throws java.lang.IllegalArgumentException, android.view.Surface.OutOfResourcesException; method public android.graphics.Canvas lockHardwareCanvas(); method public void readFromParcel(android.os.Parcel); method public void release(); method public void setAutoRefreshEnabled(boolean); method public void setSharedBufferModeEnabled(boolean); method public deprecated void unlockCanvas(android.graphics.Canvas); method public void unlockCanvasAndPost(android.graphics.Canvas); method public void writeToParcel(android.os.Parcel, int); api/test-current.txt +0 −4 Original line number Diff line number Diff line Loading @@ -45672,15 +45672,11 @@ package android.view { public class Surface implements android.os.Parcelable { ctor public Surface(android.graphics.SurfaceTexture); method public int describeContents(); method public boolean isAutoRefreshEnabled(); method public boolean isSharedBufferModeEnabled(); method public boolean isValid(); method public android.graphics.Canvas lockCanvas(android.graphics.Rect) throws java.lang.IllegalArgumentException, android.view.Surface.OutOfResourcesException; method public android.graphics.Canvas lockHardwareCanvas(); method public void readFromParcel(android.os.Parcel); method public void release(); method public void setAutoRefreshEnabled(boolean); method public void setSharedBufferModeEnabled(boolean); method public deprecated void unlockCanvas(android.graphics.Canvas); method public void unlockCanvasAndPost(android.graphics.Canvas); method public void writeToParcel(android.os.Parcel, int); core/java/android/view/Surface.java +8 −0 Original line number Diff line number Diff line Loading @@ -659,6 +659,8 @@ public class Surface implements Parcelable { * * @see #isSharedBufferModeEnabled() * @see #setAutoRefreshEnabled(boolean) * * @hide */ public void setSharedBufferModeEnabled(boolean enabled) { if (mIsSharedBufferModeEnabled != enabled) { Loading @@ -676,6 +678,8 @@ public class Surface implements Parcelable { * @return True if shared buffer mode is enabled on this surface, false otherwise * * @see #setSharedBufferModeEnabled(boolean) * * @hide */ public boolean isSharedBufferModeEnabled() { return mIsSharedBufferModeEnabled; Loading @@ -699,6 +703,8 @@ public class Surface implements Parcelable { * * @see #isAutoRefreshEnabled() * @see #setSharedBufferModeEnabled(boolean) * * @hide */ public void setAutoRefreshEnabled(boolean enabled) { if (mIsAutoRefreshEnabled != enabled) { Loading @@ -713,6 +719,8 @@ public class Surface implements Parcelable { /** * @return True if auto-refresh is enabled on this surface, false otherwise * * @hide */ public boolean isAutoRefreshEnabled() { return mIsAutoRefreshEnabled; Loading Loading
api/current.txt +0 −4 Original line number Diff line number Diff line Loading @@ -45234,15 +45234,11 @@ package android.view { public class Surface implements android.os.Parcelable { ctor public Surface(android.graphics.SurfaceTexture); method public int describeContents(); method public boolean isAutoRefreshEnabled(); method public boolean isSharedBufferModeEnabled(); method public boolean isValid(); method public android.graphics.Canvas lockCanvas(android.graphics.Rect) throws java.lang.IllegalArgumentException, android.view.Surface.OutOfResourcesException; method public android.graphics.Canvas lockHardwareCanvas(); method public void readFromParcel(android.os.Parcel); method public void release(); method public void setAutoRefreshEnabled(boolean); method public void setSharedBufferModeEnabled(boolean); method public deprecated void unlockCanvas(android.graphics.Canvas); method public void unlockCanvasAndPost(android.graphics.Canvas); method public void writeToParcel(android.os.Parcel, int);
api/system-current.txt +0 −4 Original line number Diff line number Diff line Loading @@ -48819,15 +48819,11 @@ package android.view { public class Surface implements android.os.Parcelable { ctor public Surface(android.graphics.SurfaceTexture); method public int describeContents(); method public boolean isAutoRefreshEnabled(); method public boolean isSharedBufferModeEnabled(); method public boolean isValid(); method public android.graphics.Canvas lockCanvas(android.graphics.Rect) throws java.lang.IllegalArgumentException, android.view.Surface.OutOfResourcesException; method public android.graphics.Canvas lockHardwareCanvas(); method public void readFromParcel(android.os.Parcel); method public void release(); method public void setAutoRefreshEnabled(boolean); method public void setSharedBufferModeEnabled(boolean); method public deprecated void unlockCanvas(android.graphics.Canvas); method public void unlockCanvasAndPost(android.graphics.Canvas); method public void writeToParcel(android.os.Parcel, int);
api/test-current.txt +0 −4 Original line number Diff line number Diff line Loading @@ -45672,15 +45672,11 @@ package android.view { public class Surface implements android.os.Parcelable { ctor public Surface(android.graphics.SurfaceTexture); method public int describeContents(); method public boolean isAutoRefreshEnabled(); method public boolean isSharedBufferModeEnabled(); method public boolean isValid(); method public android.graphics.Canvas lockCanvas(android.graphics.Rect) throws java.lang.IllegalArgumentException, android.view.Surface.OutOfResourcesException; method public android.graphics.Canvas lockHardwareCanvas(); method public void readFromParcel(android.os.Parcel); method public void release(); method public void setAutoRefreshEnabled(boolean); method public void setSharedBufferModeEnabled(boolean); method public deprecated void unlockCanvas(android.graphics.Canvas); method public void unlockCanvasAndPost(android.graphics.Canvas); method public void writeToParcel(android.os.Parcel, int);
core/java/android/view/Surface.java +8 −0 Original line number Diff line number Diff line Loading @@ -659,6 +659,8 @@ public class Surface implements Parcelable { * * @see #isSharedBufferModeEnabled() * @see #setAutoRefreshEnabled(boolean) * * @hide */ public void setSharedBufferModeEnabled(boolean enabled) { if (mIsSharedBufferModeEnabled != enabled) { Loading @@ -676,6 +678,8 @@ public class Surface implements Parcelable { * @return True if shared buffer mode is enabled on this surface, false otherwise * * @see #setSharedBufferModeEnabled(boolean) * * @hide */ public boolean isSharedBufferModeEnabled() { return mIsSharedBufferModeEnabled; Loading @@ -699,6 +703,8 @@ public class Surface implements Parcelable { * * @see #isAutoRefreshEnabled() * @see #setSharedBufferModeEnabled(boolean) * * @hide */ public void setAutoRefreshEnabled(boolean enabled) { if (mIsAutoRefreshEnabled != enabled) { Loading @@ -713,6 +719,8 @@ public class Surface implements Parcelable { /** * @return True if auto-refresh is enabled on this surface, false otherwise * * @hide */ public boolean isAutoRefreshEnabled() { return mIsAutoRefreshEnabled; Loading