diff options
| -rw-r--r-- | api/current.txt | 4 | ||||
| -rw-r--r-- | api/system-current.txt | 4 | ||||
| -rw-r--r-- | api/test-current.txt | 4 | ||||
| -rw-r--r-- | core/java/android/view/Surface.java | 8 |
4 files changed, 8 insertions, 12 deletions
diff --git a/api/current.txt b/api/current.txt index 4f117ee00ae9..edd8b9043eb9 100644 --- a/api/current.txt +++ b/api/current.txt @@ -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); diff --git a/api/system-current.txt b/api/system-current.txt index e8c56f02fb77..e88bcf9872be 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -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); diff --git a/api/test-current.txt b/api/test-current.txt index 56308b0f9ff0..d27c0d384fca 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -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); diff --git a/core/java/android/view/Surface.java b/core/java/android/view/Surface.java index 78cdf5d922b4..2c1f73468ca6 100644 --- a/core/java/android/view/Surface.java +++ b/core/java/android/view/Surface.java @@ -659,6 +659,8 @@ public class Surface implements Parcelable { * * @see #isSharedBufferModeEnabled() * @see #setAutoRefreshEnabled(boolean) + * + * @hide */ public void setSharedBufferModeEnabled(boolean enabled) { if (mIsSharedBufferModeEnabled != enabled) { @@ -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; @@ -699,6 +703,8 @@ public class Surface implements Parcelable { * * @see #isAutoRefreshEnabled() * @see #setSharedBufferModeEnabled(boolean) + * + * @hide */ public void setAutoRefreshEnabled(boolean enabled) { if (mIsAutoRefreshEnabled != enabled) { @@ -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; |