private void moveUp(int moveY) {
   int f1 = getScrollY();
   int f2 = 0;
   if (moveY < 0) {
     f2 = (int) (moveY * 0.5F);
   } else {
     f2 = (int) (moveY * 0.7F);
     int bound = f1 - f2;
     if (bound <= 0) {
       f2 = f2 + bound;
       scrollBy(0, -f2);
       return;
     }
   }
   scrollBy(0, -f2);
   if (f1 >= mBotomBund && mBottomState == F_VIEW_STATE_DRAG) {
     if (mShowBottomView && mBottomNotify) {
       mTailView.setArrowVisibility(VISIBLE);
       mTailView.setProgressBarVisibility(GONE);
       mTailView.showReleaseToReloadText();
       mTailView.rotateArrowImage(EBounceViewHeader.F_ROTATE_DOWN);
     }
     if (mBottomLoading) {
       mBottomLoading = false;
     }
     mBottomState = F_VIEW_STATE_RELEASE;
   } else if (f1 < mBotomBund && mBottomState == F_VIEW_STATE_RELEASE) {
     if (mShowBottomView && mBottomNotify) {
       mTailView.setArrowVisibility(VISIBLE);
       mTailView.setProgressBarVisibility(GONE);
       mTailView.showPullToReloadText();
       mTailView.rotateArrowImage(EBounceViewHeader.F_ROTATE_UP);
     }
     mBottomState = F_VIEW_STATE_DRAG;
   }
   return;
 }
 private void moveDown(int moveY) {
   int f1 = getScrollY();
   int f2 = 0;
   if (moveY > 0) {
     f2 = (int) (moveY * 0.5F);
   } else {
     f2 = (int) (moveY * 0.7F);
     int bound = f1 - f2;
     if (bound >= 0) {
       f2 = f2 + bound;
       scrollBy(0, -f2);
       return;
     }
   }
   scrollBy(0, -f2);
   if (f1 <= mTopBund && mTopState == F_VIEW_STATE_DRAG) {
     if (mShowTopView && mTopNotify) {
       mHeaderView.setArrowVisibility(VISIBLE);
       mHeaderView.setProgressBarVisibility(GONE);
       mHeaderView.showReleaseToReloadText();
       mHeaderView.rotateArrowImage(EBounceViewHeader.F_ROTATE_UP);
     }
     if (mTopLoading) {
       mTopLoading = false;
     }
     mTopState = F_VIEW_STATE_RELEASE;
   } else if (f1 > mTopBund && mTopState == F_VIEW_STATE_RELEASE) {
     if (mShowTopView && mTopNotify) {
       mHeaderView.setArrowVisibility(VISIBLE);
       mHeaderView.setProgressBarVisibility(GONE);
       mHeaderView.showPullToReloadText();
       mHeaderView.rotateArrowImage(EBounceViewHeader.F_ROTATE_DOWN);
     }
     mTopState = F_VIEW_STATE_DRAG;
   }
   return;
 }
 public void setReleaseToReloadText(String value) {
   releaseToReloadText = value;
   showReleaseToReloadText();
 }