code: public void setPosition(int position) {
  
          switch (position) {
              case Simapi.POS_DOWN_LEFT:
              case Simapi.POS_DOWN_RIGHT:
              case Simapi.POS_STRAIGHT_DOWN:
              case Simapi.POS_STRAIGHT_LEFT:
              case Simapi.POS_STRAIGHT_RIGHT:
              case Simapi.POS_STRAIGHT_UP:
              case Simapi.POS_UP_LEFT:
              case Simapi.POS_UP_RIGHT:
                  // position is fine
                  m_position = position;
                  break;
              default:
                  m_position = Simapi.POS_CENTER;
          }
      }
docs: Sets the scale position.<p>
  
  @param position the position to set