public class InstrumentationUiAutomatorBridge extends UiAutomatorBridge
Constructor and Description |
---|
InstrumentationUiAutomatorBridge(Context context,
UiAutomation uiAutomation) |
Modifier and Type | Method and Description |
---|---|
Display |
getDefaultDisplay() |
int |
getRotation() |
long |
getSystemLongPressTime() |
boolean |
isScreenOn() |
executeCommandAndWaitForAccessibilityEvent, getRootInActiveWindow, injectInputEvent, performGlobalAction, setCompressedLayoutHierarchy, setOnAccessibilityEventListener, setRotation, takeScreenshot, waitForIdle, waitForIdle
public InstrumentationUiAutomatorBridge(Context context, UiAutomation uiAutomation)
public Display getDefaultDisplay()
getDefaultDisplay
in class UiAutomatorBridge
public int getRotation()
getRotation
in class UiAutomatorBridge
public boolean isScreenOn()
isScreenOn
in class UiAutomatorBridge
public long getSystemLongPressTime()
getSystemLongPressTime
in class UiAutomatorBridge