Package org.robolectric.shadows
Class ShadowValueAnimator
java.lang.Object
org.robolectric.shadows.ShadowValueAnimator
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintReturns the value that was set as the repeat count.static voidreset()protected static voidsetDurationScale(float duration) Sets the duration scale for value animator.protected voidsetRepeatCount(int count) 
- 
Constructor Details- 
ShadowValueAnimatorpublic ShadowValueAnimator()
 
- 
- 
Method Details- 
reset
- 
setRepeatCount
- 
getActualRepeatCountpublic int getActualRepeatCount()Returns the value that was set as the repeat count. This is otherwise the same as getRepeatCount(), except when the count was set to infinite.- Returns:
- Repeat count.
 
- 
setDurationScaleSets the duration scale for value animator. To set this value useUiAutomation.setAnimationScale(float)orShadowUiAutomation.setAnimationScaleCompat(float).
 
-