@Implements(value=android.widget.Scroller.class) public class ShadowScroller extends Object
Scroller.| Constructor and Description |
|---|
ShadowScroller() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
computeScrollOffset() |
int |
getCurrX() |
int |
getCurrY() |
int |
getDuration() |
int |
getFinalX() |
int |
getFinalY() |
int |
getStartX() |
int |
getStartY() |
boolean |
isFinished() |
void |
startScroll(int startX,
int startY,
int dx,
int dy,
int duration) |
int |
timePassed() |
@Implementation public int getStartX()
@Implementation public int getStartY()
@Implementation public int getCurrX()
@Implementation public int getCurrY()
@Implementation public int getFinalX()
@Implementation public int getFinalY()
@Implementation public int getDuration()
@Implementation
public void startScroll(int startX,
int startY,
int dx,
int dy,
int duration)
@Implementation public boolean computeScrollOffset()
@Implementation public boolean isFinished()
@Implementation public int timePassed()
Copyright © 2015. All rights reserved.