use of android.support.test.jank.JankTest in project android_frameworks_base by DirtyUnicorns.
the class FilesJankPerfTest method testFlingJankPerformance.
@JankTest(expectedFrames = 0, beforeLoop = "setupAndOpenInLoop", afterLoop = "tearDownInLoop")
@GfxMonitor(processName = DOCUMENTSUI_PACKAGE)
public void testFlingJankPerformance() throws Exception {
new UiScrollable(mDirListBot.findDocumentsList().getSelector()).flingToEnd(MAX_FLINGS);
getInstrumentation().waitForIdleSync();
}
use of android.support.test.jank.JankTest in project platform_frameworks_base by android.
the class FilesJankPerfTest method testFlingJankPerformance.
@JankTest(expectedFrames = 0, beforeLoop = "setupAndOpenInLoop", afterLoop = "tearDownInLoop")
@GfxMonitor(processName = DOCUMENTSUI_PACKAGE)
public void testFlingJankPerformance() throws Exception {
new UiScrollable(mDirListBot.findDocumentsList().getSelector()).flingToEnd(MAX_FLINGS);
getInstrumentation().waitForIdleSync();
}
use of android.support.test.jank.JankTest in project android_frameworks_base by AOSPA.
the class FilesJankPerfTest method testFlingJankPerformance.
@JankTest(expectedFrames = 0, beforeLoop = "setupAndOpenInLoop", afterLoop = "tearDownInLoop")
@GfxMonitor(processName = DOCUMENTSUI_PACKAGE)
public void testFlingJankPerformance() throws Exception {
new UiScrollable(mDirListBot.findDocumentsList().getSelector()).flingToEnd(MAX_FLINGS);
getInstrumentation().waitForIdleSync();
}
use of android.support.test.jank.JankTest in project android_frameworks_base by crdroidandroid.
the class FilesJankPerfTest method testFlingJankPerformance.
@JankTest(expectedFrames = 0, beforeLoop = "setupAndOpenInLoop", afterLoop = "tearDownInLoop")
@GfxMonitor(processName = DOCUMENTSUI_PACKAGE)
public void testFlingJankPerformance() throws Exception {
new UiScrollable(mDirListBot.findDocumentsList().getSelector()).flingToEnd(MAX_FLINGS);
getInstrumentation().waitForIdleSync();
}
use of android.support.test.jank.JankTest in project android_frameworks_base by ResurrectionRemix.
the class FilesJankPerfTest method testFlingJankPerformance.
@JankTest(expectedFrames = 0, beforeLoop = "setupAndOpenInLoop", afterLoop = "tearDownInLoop")
@GfxMonitor(processName = DOCUMENTSUI_PACKAGE)
public void testFlingJankPerformance() throws Exception {
new UiScrollable(mDirListBot.findDocumentsList().getSelector()).flingToEnd(MAX_FLINGS);
getInstrumentation().waitForIdleSync();
}
Aggregations