private void movePos(float deltaY){
  if ((deltaY < 0 && mCurrentPos == POS_START)) {
    if (DEBUG) {
      CLog.e(LOG_TAG,String.format("has reached the top"));
    }
    return;
  }
  int to=mCurrentPos + (int)deltaY;
  if (to < POS_START) {
    if (DEBUG) {
      CLog.e(LOG_TAG,String.format("over top"));
    }
    to=POS_START;
  }
  mCurrentPos=to;
  updatePos();
  mLastPos=mCurrentPos;
}

private void movePos ( float deltaY ) { if ( ( deltaY < 0 && mCurrentPos == POS_START ) ) { if ( DEBUG ) { CLog . e ( LOG_TAG , String . format ( "has reached the top" ) ) ; } return ; } int to = mCurrentPos + ( int ) deltaY ; if ( to < POS_START ) { if ( DEBUG ) { CLog . e ( LOG_TAG , String . format ( "over top" ) ) ; } to = POS_START ; } mCurrentPos = to ; updatePos ( ) ; mLastPos = mCurrentPos ; }
if deltay > 0 , move the content down
