Android翻页效果,电子书(7)
来源:未知 责任编辑:责任编辑 发表时间:2015-09-17 09:43 点击:次
this.mNextTime = (SystemClock.uptimeMillis() + 5L);
this.mHandler.sendMessageAtTime(msg, this.mNextTime);
}
public void stepPageTurn() {
if (!this.mStepping) {
this.mStepping = true;
startPageTurn(this.mTimeStep);
} else {
// te((int)bx, 0, (int)mPageTurnCorner.x, (int)mPageTurnCorner.y);
// sendUIhandler();
refreshUI();
}
}
public void refreshUI(){
computePageTurn();
//
this.invalidate();
}
private void sendUIhandler(){
Message msg = this.mHandler.obtainMessage(1);
this.mNextTime = (SystemClock.uptimeMillis() + 30L);
this.mHandler.sendMessageAtTime(msg, this.mNextTime);
}
private boolean updateTimeStep() {
if (this.mTimeStep >mMaxStep || this.mTimeStep<0) {
return false;
}
this.mTimeStep +=mStepLen;
return true;
相关新闻>>
最新推荐更多>>>
- 发表评论
-
- 最新评论 更多>>