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 forUiAutomation.
-
-
Constructor Summary
Constructors Constructor Description ShadowUiAutomation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetAnimationScale(float scale)static voidsetAnimationScaleCompat(float scale)Sets the animation scale, seeUiAutomation.setAnimationScale(float).protected booleansetRotation(int rotation)protected voidthrowIfNotConnectedLocked()
-
-
-
Method Detail
-
setAnimationScaleCompat
public static void setAnimationScaleCompat(float scale)
Sets the animation scale, seeUiAutomation.setAnimationScale(float). Provides backwards compatible access to SDKs < T.
-
setAnimationScale
@Implementation(minSdk=33) protected void setAnimationScale(float scale)
-
setRotation
@Implementation protected boolean setRotation(int rotation)
-
throwIfNotConnectedLocked
@Implementation protected void throwIfNotConnectedLocked()
-
-