Home
last modified time | relevance | path

Searched refs:LauncherInstrumentation (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DAllApps.java35 public class AllApps extends LauncherInstrumentation.VisibleContainer {
41 AllApps(LauncherInstrumentation launcher) { in AllApps()
57 protected LauncherInstrumentation.ContainerType getContainerType() { in getContainerType()
58 return LauncherInstrumentation.ContainerType.ALL_APPS; in getContainerType()
65 LauncherInstrumentation.log("hasClickableIcon: icon not visible"); in hasClickableIcon()
69 LauncherInstrumentation.log("hasClickableIcon: icon bounds: " + iconBounds); in hasClickableIcon()
71 LauncherInstrumentation.log("hasClickableIcon: icon has insufficient height"); in hasClickableIcon()
75 LauncherInstrumentation.log("hasClickableIcon: icon center is under search box"); in hasClickableIcon()
78 LauncherInstrumentation.log("hasClickableIcon: icon is clickable"); in hasClickableIcon()
97 try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in getAppIcon()
[all …]
DWidgets.java32 public final class Widgets extends LauncherInstrumentation.VisibleContainer {
35 Widgets(LauncherInstrumentation launcher) { in Widgets()
44 try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in flingForward()
46 LauncherInstrumentation.log("Widgets.flingForward enter"); in flingForward()
53 try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer("flung forward")) { in flingForward()
56 LauncherInstrumentation.log("Widgets.flingForward exit"); in flingForward()
64 try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in flingBackward()
66 LauncherInstrumentation.log("Widgets.flingBackward enter"); in flingBackward()
73 try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer("flung back")) { in flingBackward()
76 LauncherInstrumentation.log("Widgets.flingBackward exit"); in flingBackward()
[all …]
DWorkspace.java45 Workspace(LauncherInstrumentation launcher) { in Workspace()
57 try (LauncherInstrumentation.Closable c = in switchToAllApps()
66 LauncherInstrumentation.log( in switchToAllApps()
78 try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer( in switchToAllApps()
93 try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in tryGetWorkspaceAppIcon()
111 try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in getWorkspaceAppIcon()
127 try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in ensureWorkspaceIsScrollable()
159 LauncherInstrumentation launcher, Launchable launchable, Point dest, in dragIconToWorkspace()
161 LauncherInstrumentation.log("dragIconToWorkspace: begin"); in dragIconToWorkspace()
165 LauncherInstrumentation.log("dragIconToWorkspace: sent down"); in dragIconToWorkspace()
[all …]
DBaseOverview.java34 public class BaseOverview extends LauncherInstrumentation.VisibleContainer {
37 BaseOverview(LauncherInstrumentation launcher) { in BaseOverview()
43 protected LauncherInstrumentation.ContainerType getContainerType() { in getContainerType()
44 return LauncherInstrumentation.ContainerType.FALLBACK_OVERVIEW; in getContainerType()
51 try (LauncherInstrumentation.Closable c = in flingForward()
53 LauncherInstrumentation.log("Overview.flingForward before fling"); in flingForward()
67 try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in dismissAllTasks()
78 try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer( in dismissAllTasks()
89 try (LauncherInstrumentation.Closable c = in flingBackward()
91 LauncherInstrumentation.log("Overview.flingBackward before fling"); in flingBackward()
[all …]
DOverview.java23 import com.android.launcher3.tapl.LauncherInstrumentation.ContainerType;
31 Overview(LauncherInstrumentation launcher) { in Overview()
38 return LauncherInstrumentation.ContainerType.OVERVIEW; in getContainerType()
48 try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in switchToAllApps()
53 LauncherInstrumentation.log("Overview.switchToAllApps before swipe"); in switchToAllApps()
64 try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer( in switchToAllApps()
DHome.java34 protected Home(LauncherInstrumentation launcher) { in Home()
40 protected LauncherInstrumentation.ContainerType getContainerType() { in getContainerType()
41 return LauncherInstrumentation.ContainerType.WORKSPACE; in getContainerType()
52 try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in switchToOverview()
56 try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer( in switchToOverview()
DBackground.java34 public class Background extends LauncherInstrumentation.VisibleContainer {
37 Background(LauncherInstrumentation launcher) { in Background()
42 protected LauncherInstrumentation.ContainerType getContainerType() { in getContainerType()
43 return LauncherInstrumentation.ContainerType.BACKGROUND; in getContainerType()
54 try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in switchToOverview()
122 try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in quickSwitchToPreviousApp()
DLauncherInstrumentation.java85 public final class LauncherInstrumentation { class
102 protected final LauncherInstrumentation mLauncher;
104 protected VisibleContainer(LauncherInstrumentation launcher) { in VisibleContainer()
148 public LauncherInstrumentation() { in LauncherInstrumentation() method in LauncherInstrumentation
157 public LauncherInstrumentation(Instrumentation instrumentation) { in LauncherInstrumentation() method in LauncherInstrumentation
556 try (LauncherInstrumentation.Closable c = addContextLayer( in pressHome()
586 try (LauncherInstrumentation.Closable c = addContextLayer( in pressHome()
600 try (LauncherInstrumentation.Closable c = addContextLayer("want to get workspace object")) { in getWorkspace()
624 try (LauncherInstrumentation.Closable c = addContextLayer("want to get widgets")) { in getAllWidgets()
631 try (LauncherInstrumentation.Closable c = addContextLayer("want to get widget cell")) { in getAddToHomeScreenPrompt()
[all …]
DAllAppsFromOverview.java33 AllAppsFromOverview(LauncherInstrumentation launcher) { in AllAppsFromOverview()
45 try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in switchBackToOverview()
57 LauncherInstrumentation.log("AllAppsFromOverview.switchBackToOverview before swipe"); in switchBackToOverview()
60 try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer("swiped down")) { in switchBackToOverview()
DOverviewTask.java29 private final LauncherInstrumentation mLauncher;
33 OverviewTask(LauncherInstrumentation launcher, UiObject2 task, BaseOverview overview) { in OverviewTask()
48 try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in dismiss()
65 try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in open()
DLaunchable.java32 protected final LauncherInstrumentation mLauncher;
36 Launchable(LauncherInstrumentation launcher, UiObject2 object) { in Launchable()
53 LauncherInstrumentation.log("Launchable.launch before click " + in launch()
64 LauncherInstrumentation.WAIT_TIME_MS)); in launch()
DFolder.java29 Folder(LauncherInstrumentation launcher, UiObject2 icon) { in Folder()
32 static BySelector getSelector(String folderName, LauncherInstrumentation launcher) { in getSelector()
DAppIconMenu.java29 private final LauncherInstrumentation mLauncher;
32 AppIconMenu(LauncherInstrumentation launcher, in AppIconMenu()
DAddToHomeScreenPrompt.java29 private final LauncherInstrumentation mLauncher;
32 AddToHomeScreenPrompt(LauncherInstrumentation launcher) { in AddToHomeScreenPrompt()
DAppIcon.java32 AppIcon(LauncherInstrumentation launcher, UiObject2 icon) { in AppIcon()
36 static BySelector getAppIconSelector(String appName, LauncherInstrumentation launcher) { in getAppIconSelector()
DWidget.java25 Widget(LauncherInstrumentation launcher, UiObject2 icon) { in Widget()
DAppIconMenuItem.java25 AppIconMenuItem(LauncherInstrumentation launcher, UiObject2 shortcut) { in AppIconMenuItem()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DNavigationModeSwitchRule.java35 import com.android.launcher3.tapl.LauncherInstrumentation;
70 private final LauncherInstrumentation mLauncher;
72 public NavigationModeSwitchRule(LauncherInstrumentation launcher) { in NavigationModeSwitchRule()
95 LauncherInstrumentation.getCurrentInteractionMode(context); in apply()
102 final LauncherInstrumentation.NavigationModel originalMode = in apply()
125 LauncherInstrumentation.NavigationModel.THREE_BUTTON)) { in apply()
132 LauncherInstrumentation.NavigationModel.TWO_BUTTON)) { in apply()
139 LauncherInstrumentation.NavigationModel.ZERO_BUTTON)) { in apply()
157 LauncherInstrumentation.NavigationModel expectedMode) throws Exception { in apply()
175 if (LauncherInstrumentation.getNavigationModel(newMode.resValue) in apply()
[all …]
DFallbackRecentsTest.java22 import static com.android.launcher3.tapl.LauncherInstrumentation.WAIT_TIME_MS;
44 import com.android.launcher3.tapl.LauncherInstrumentation;
65 private final LauncherInstrumentation mLauncher;
82 mLauncher = new LauncherInstrumentation(); in FallbackRecentsTest()
DTaplTestsQuickstep.java38 import com.android.launcher3.tapl.LauncherInstrumentation.NavigationModel;
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DAbstractLauncherUiTest.java18 import static com.android.launcher3.tapl.LauncherInstrumentation.ContainerType;
54 import com.android.launcher3.tapl.LauncherInstrumentation;
96 protected final LauncherInstrumentation mLauncher = new LauncherInstrumentation();