Home
last modified time | relevance | path

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

/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DAbstractLauncherUiTest.java353 protected <T> T getFromLauncher(Function<Launcher, T> f) { in getFromLauncher() method in AbstractLauncherUiTest
359 getFromLauncher(launcher -> { in executeOnLauncher()
395 Wait.atMost(message, () -> getFromLauncher(condition), timeout, mLauncher); in waitForLauncherCondition()
405 final Object fromLauncher = getFromLauncher(f); in getOnceNotNull()
421 return getFromLauncher(condition); in waitForLauncherCondition()
522 return getFromLauncher( in isInState()
DWorkTabTest.java93 UserManager userManager = getFromLauncher(l -> l.getSystemService(UserManager.class)); in toggleWorks()
95 UserHandle workProfile = getFromLauncher(l -> { in toggleWorks()
187 return getFromLauncher(launcher -> (WorkEduView) launcher.getDragLayer().getChildAt( in getEduView()
DTaplTestsLauncher3.java141 final Integer flingForwardY = test.getFromLauncher( in runAllAppsTest()
151 final Integer flingBackwardY = test.getFromLauncher( in runAllAppsTest()
263 Integer flingForwardY = getFromLauncher(launcher -> getWidgetsScroll(launcher)); in testWidgets()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DTaplTestsQuickstep.java123 final Integer currentTaskAfterFlingForward = getFromLauncher( in testOverview()
150 final Integer numTasks = getFromLauncher(launcher -> getTaskCount(launcher)); in testOverview()
159 || getFromLauncher(launcher -> !launcher.getDeviceProfile().isLandscape))) { in testOverview()
DAppPredictionsUITests.java113 assertEquals(2, getFromLauncher(this::getPredictedApp).size()); in testPredictionsDeferredUntilHome()
117 assertEquals(3, getFromLauncher(this::getPredictedApp).size()); in testPredictionsDeferredUntilHome()
DDigitalWellBeingToastTest.java78 return getFromLauncher(launcher -> { in getToast()