Package org.robolectric.shadows
Class ShadowScroller
- java.lang.Object
-
- org.robolectric.shadows.ShadowScroller
-
@Implements(android.widget.Scroller.class) public class ShadowScroller extends Object
-
-
Constructor Summary
Constructors Constructor Description ShadowScroller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidabortAnimation()protected booleancomputeScrollOffset()protected intgetCurrX()protected intgetCurrY()protected intgetDuration()protected intgetFinalX()protected intgetFinalY()protected intgetStartX()protected intgetStartY()protected booleanisFinished()protected voidstartScroll(int startX, int startY, int dx, int dy, int duration)protected inttimePassed()
-
-
-
Method Detail
-
abortAnimation
@Implementation protected void abortAnimation()
-
getStartX
@Implementation protected int getStartX()
-
getStartY
@Implementation protected int getStartY()
-
getCurrX
@Implementation protected int getCurrX()
-
getCurrY
@Implementation protected int getCurrY()
-
getFinalX
@Implementation protected int getFinalX()
-
getFinalY
@Implementation protected int getFinalY()
-
getDuration
@Implementation protected int getDuration()
-
startScroll
@Implementation protected void startScroll(int startX, int startY, int dx, int dy, int duration)
-
computeScrollOffset
@Implementation protected boolean computeScrollOffset()
-
isFinished
@Implementation protected boolean isFinished()
-
timePassed
@Implementation protected int timePassed()
-
-