Package org.robolectric.shadows
Class ShadowUiAutomation
java.lang.Object
org.robolectric.shadows.ShadowUiAutomation
@Implements(value=android.app.UiAutomation.class, minSdk=18) public class ShadowUiAutomation extends Object
Shadow for
UiAutomation
.-
Constructor Summary
Constructors Constructor Description ShadowUiAutomation()
-
Method Summary
Modifier and Type Method Description protected void
setAnimationScale(float scale)
static void
setAnimationScaleCompat(float scale)
Sets the animation scale, seeUiAutomation.setAnimationScale(float)
.protected boolean
setRotation(int rotation)
protected void
throwIfNotConnectedLocked()
-
Constructor Details
-
ShadowUiAutomation
public ShadowUiAutomation()
-
-
Method Details
-
setAnimationScaleCompat
public static void setAnimationScaleCompat(float scale)Sets the animation scale, seeUiAutomation.setAnimationScale(float)
. Provides backwards compatible access to SDKs < T. -
setAnimationScale
-
setRotation
-
throwIfNotConnectedLocked
-