public class UiAutomatorHelper
Created by simonracz on 19/07/2017.
| Modifier and Type | Method and Description |
|---|---|
static int |
convertDiptoPix(double dip) |
static int |
convertPixtoDip(int pixel) |
static void |
espressoSync()
This triggers a full Espresso sync. It's intended use is to sync UIAutomator calls.
|
static void |
espressoSync(long millis)
This triggers a full Espresso sync. Waits at least millis amount of time.
|
static float |
getDensity() |
static kotlin.Array[] |
getScreenSizeInPX() |
public static void espressoSync()
This triggers a full Espresso sync. It's intended use is to sync UIAutomator calls.
public static void espressoSync(long millis)
This triggers a full Espresso sync. Waits at least millis amount of time.
millis - org.jetbrains.dokka.NodeRenderContent@233d7795: waits at least this amount of timepublic static float getDensity()
public static int convertDiptoPix(double dip)
public static int convertPixtoDip(int pixel)
public static kotlin.Array[] getScreenSizeInPX()