summaryrefslogtreecommitdiff
path: root/apct-tests
diff options
context:
space:
mode:
authorValerie Hau <vhau@google.com>2020-01-14 16:12:01 -0800
committerValerie Hau <vhau@google.com>2020-01-17 07:49:32 -0800
commit30360556866e8ed4f73219729c01841b2a15baf3 (patch)
tree95f1ef8653d401ec77cc96764df7528c179dd6e5 /apct-tests
parentda935681a65137f4fbedfe842449061d7d01bf19 (diff)
Preserve intended width/height for Blast adapter layers
Some surfaces may be a different size from the requested width/height. Pass back calculated width/height from WindowStateAnimator back to ViewRootImpl Bug: 147674215, 147689472 Test: build, boot, manual Change-Id: Ib557a4769d79e6414b9bebab8cb006adfb551e4d
Diffstat (limited to 'apct-tests')
-rw-r--r--apct-tests/perftests/core/src/android/wm/RelayoutPerfTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/apct-tests/perftests/core/src/android/wm/RelayoutPerfTest.java b/apct-tests/perftests/core/src/android/wm/RelayoutPerfTest.java
index f32bf9a4b9e6..c62aad622f25 100644
--- a/apct-tests/perftests/core/src/android/wm/RelayoutPerfTest.java
+++ b/apct-tests/perftests/core/src/android/wm/RelayoutPerfTest.java
@@ -20,6 +20,7 @@ import static androidx.test.platform.app.InstrumentationRegistry.getInstrumentat
import android.app.Activity;
import android.content.Context;
+import android.graphics.Point;
import android.graphics.Rect;
import android.os.RemoteException;
import android.perftests.utils.BenchmarkState;
@@ -149,7 +150,7 @@ public class RelayoutPerfTest extends WindowManagerPerfTestBase {
mViewVisibility.getAsInt(), mFlags, mFrameNumber, mOutFrame,
mOutContentInsets, mOutVisibleInsets, mOutStableInsets,
mOutBackDropFrame, mOutDisplayCutout, mOutMergedConfiguration,
- mOutSurfaceControl, mOutInsetsState);
+ mOutSurfaceControl, mOutInsetsState, new Point());
}
}
}