summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Mount <mount@google.com>2021-05-06 21:54:41 +0000
committerGeorge Mount <mount@google.com>2021-05-06 22:04:49 +0000
commitd6904408b7e4167e9d2c1b3588c89ceb629f5658 (patch)
tree633e0e89d8c83399c879922063e8095393d78d4b
parent8315904e81442e659ad8535e2fffdca39744d194 (diff)
Don't include stretch overscroll in benchmark.
Fixes: 187219563 The benchmark watches the number of frames and the stretch overscroll animation can affect the number of frames that are produced. Test: ran testSlowBindRecyclerViewFling Change-Id: I90774980be850eda797fb80e655e7f4cd2dd76ac
-rw-r--r--tests/UiBench/res/layout/recycler_view.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/UiBench/res/layout/recycler_view.xml b/tests/UiBench/res/layout/recycler_view.xml
index 53eab68f7866..c8a85de81710 100644
--- a/tests/UiBench/res/layout/recycler_view.xml
+++ b/tests/UiBench/res/layout/recycler_view.xml
@@ -17,5 +17,6 @@
<androidx.recyclerview.widget.RecyclerView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/recyclerView"
+ android:overScrollMode="never"
android:layout_width="match_parent"
android:layout_height="match_parent"/>