// pos
 public void setTypeAndItem(int index) {
   // Log.v( TDLog.TAG, "setTypeAndItem type " + mItemType  + " item " + index );
   ItemSymbol is;
   switch (mItemType) {
     case DrawingActivity.SYMBOL_POINT:
       if (mPointAdapter != null /* && TDSetting.mLevelOverBasic */) {
         is = mPointAdapter.get(index);
         // Log.v( TDLog.TAG, "setTypeAndItem type point pos " + index + " index " + is.mIndex );
         mParent.mCurrentPoint = is.mIndex;
         mParent.pointSelected(is.mIndex, false); // mPointAdapter.getSelectedItem() );
         setSeekBarProgress();
       }
       break;
     case DrawingActivity.SYMBOL_LINE:
       if (mLineAdapter != null) {
         is = mLineAdapter.get(index);
         // Log.v( TDLog.TAG, "setTypeAndItem type line pos " + index + " index " + is.mIndex );
         if (mPlotType != PlotInfo.PLOT_SECTION
             || is.mIndex != DrawingBrushPaths.mLineLib.mLineSectionIndex) {
           mParent.mCurrentLine = is.mIndex;
           mParent.lineSelected(is.mIndex, false); // mLineAdapter.getSelectedItem() );
         } else {
         }
         mSeekBar.setEnabled(false);
       }
       break;
     case DrawingActivity.SYMBOL_AREA:
       if (mAreaAdapter != null /* && TDSetting.mLevelOverBasic */) {
         // mAreaPos = index;
         is = mAreaAdapter.get(index);
         mParent.mCurrentArea = is.mIndex;
         mParent.areaSelected(is.mIndex, false); // mAreaAdapter.getSelectedItem() );
         mSeekBar.setEnabled(false);
       }
       break;
   }
   // cancel();
 }
 private void setSeekBarProgress() {
   boolean orientable = false;
   if (mItemType == DrawingActivity.SYMBOL_POINT && mPointAdapter != null) {
     int index = mPointAdapter.getSelectedPos();
     ItemSymbol item = mPointAdapter.get(index);
     if (item != null) {
       SymbolInterface symbol = item.mSymbol;
       if (symbol != null && symbol.isOrientable()) {
         int progress = (180 + symbol.getAngle()) % 360;
         mSeekBar.setProgress(progress);
         // Log.v("DistoX", "set progress " + progress );
         orientable = true;
       }
     }
   }
   mSeekBar.setEnabled(orientable);
 }