diff options
| author | chaviw <chaviw@google.com> | 2019-09-04 16:07:37 -0700 |
|---|---|---|
| committer | chaviw <chaviw@google.com> | 2019-09-05 13:56:38 -0700 |
| commit | 007340c9c7256f85dcb1be9e8a2168cb48a4e646 (patch) | |
| tree | 165da9aa8dced59dd9c9b4a21d08da5601c84f3c /core/java/android | |
| parent | 0724228565a8eff765b64a7ef639c9b5ad4bacdc (diff) | |
Remove setGeometryAppliesWithResize
This function is no longer used so removing the API and any logic
implemented for it.
Test: go/wm-smoke
Change-Id: I5701507005134c6ed2e94d2843ae502705f1e2f7
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/view/SurfaceControl.java | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/core/java/android/view/SurfaceControl.java b/core/java/android/view/SurfaceControl.java index 522ad642ef0d..d5559aaa7146 100644 --- a/core/java/android/view/SurfaceControl.java +++ b/core/java/android/view/SurfaceControl.java @@ -105,8 +105,6 @@ public final class SurfaceControl implements Parcelable { long relativeToObject, int zorder); private static native void nativeSetPosition(long transactionObj, long nativeObject, float x, float y); - private static native void nativeSetGeometryAppliesWithResize(long transactionObj, - long nativeObject); private static native void nativeSetSize(long transactionObj, long nativeObject, int w, int h); private static native void nativeSetTransparentRegionHint(long transactionObj, long nativeObject, Region region); @@ -1104,16 +1102,6 @@ public final class SurfaceControl implements Parcelable { /** * @hide */ - public void setGeometryAppliesWithResize() { - checkNotReleased(); - synchronized(SurfaceControl.class) { - sGlobalTransaction.setGeometryAppliesWithResize(this); - } - } - - /** - * @hide - */ public void setBufferSize(int w, int h) { checkNotReleased(); synchronized(SurfaceControl.class) { @@ -2488,20 +2476,6 @@ public final class SurfaceControl implements Parcelable { } /** - * If the buffer size changes in this transaction, position and crop updates specified - * in this transaction will not complete until a buffer of the new size - * arrives. As transform matrix and size are already frozen in this fashion, - * this enables totally freezing the surface until the resize has completed - * (at which point the geometry influencing aspects of this transaction will then occur) - * @hide - */ - public Transaction setGeometryAppliesWithResize(SurfaceControl sc) { - sc.checkNotReleased(); - nativeSetGeometryAppliesWithResize(mNativeObject, sc.mNativeObject); - return this; - } - - /** * Sets the security of the surface. Setting the flag is equivalent to creating the * Surface with the {@link #SECURE} flag. * @hide |
