Home
last modified time | relevance | path

Searched refs:mContents (Results 1 – 6 of 6) sorted by relevance

/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchJankTests.java61 mHelper.mContents = mDevice.wait(Until.findObject( in openDialogList()
63 Assert.assertNotNull("Dialog List View isn't found", mHelper.mContents); in openDialogList()
69 mHelper.flingUpDown(mHelper.mContents, 1); in testDialogListFling()
134 mHelper.flingUpDown(mHelper.mContents, 2); in testTrivialListViewFling()
144 mHelper.flingUpDown(mHelper.mContents, 2); in testFadingEdgeListViewFling()
166 mHelper.flingUpDown(mHelper.mContents, 2); in testTrivialRecyclerListViewFling()
177 mHelper.flingUpDown(mHelper.mContents, 2); in testSlowBindRecyclerViewFling()
188 mHelper.flingUpDown(mHelper.mContents, 2); in testSlowNestedRecyclerViewFling()
195 mHelper.slowSingleFlingDown(mHelper.mContents); in testSlowNestedRecyclerViewInitialFling()
206 mHelper.flingUpDown(mHelper.mContents, 2); in testInflatingListViewFling()
[all …]
DUiBenchTextJankTests.java75 mHelper.mContents = mDevice.wait(Until.findObject( in openLayoutCacheHighHitrate()
78 mHelper.mContents); in openLayoutCacheHighHitrate()
85 mHelper.flingUpDown(mHelper.mContents, 3); in testLayoutCacheHighHitrateFling()
92 mHelper.mContents = mDevice.wait(Until.findObject( in openLayoutCacheLowHitrate()
95 mHelper.mContents); in openLayoutCacheLowHitrate()
102 mHelper.flingUpDown(mHelper.mContents, 3); in testLayoutCacheLowHitrateFling()
DUiBenchRenderingJankTests.java75 mHelper.mContents = mDevice.wait(Until.findObject( in openRenderingList()
77 Assert.assertNotNull("Shadow Grid list isn't found", mHelper.mContents); in openRenderingList()
84 mHelper.flingUpDown(mHelper.mContents, 1); in testShadowGridListFling()
DUiBenchWebView.java57 mHelper.mContents = mDevice.wait(Until.findObject( in openScrollableWebView()
65 mHelper.flingUpDown(mHelper.mContents, 1); in testWebViewFling()
DUiBenchJankTestsHelper.java59 protected UiObject2 mContents, mNavigation, mRecyclerView; field in UiBenchJankTestsHelper
101 mContents = mDevice.wait(Until.findObject(By.res("android", "content")), TIMEOUT); in launchActivityAndAssert()
102 Assert.assertNotNull(activityName + " isn't found", mContents); in launchActivityAndAssert()
/platform_testing/tests/microbenchmarks/uibench/src/com/android/uibench/microbenchmark/
DUiBenchJankHelper.java69 private UiObject2 mContents, mNavigation; field in UiBenchJankHelper
121 mContents = in launchActivityAndAssert()
123 Assert.assertNotNull(activityName + " isn't found", mContents); in launchActivityAndAssert()
147 mContents.setGestureMargin(getEdgeSensitivity()); in flingUpDown()
150 mContents.fling(reverse ? Direction.UP : Direction.DOWN); in flingUpDown()
152 mContents.fling(reverse ? Direction.DOWN : Direction.UP); in flingUpDown()
162 mContents.setGestureMargin(getEdgeSensitivity()); in swipeRightLeft()
167 mContents.swipe(Direction.LEFT, 1); in swipeRightLeft()
176 mContents.setGestureMargin(getEdgeSensitivity()); in slowSingleFlingDown()
177 mContents.fling(Direction.DOWN, (int) (SLOW_FLING_SPEED * displayMetrics.density)); in slowSingleFlingDown()
[all …]