public void add(Graphic graphic){
synchronized (mLock) {
    mGraphics.add(graphic);
  }
  postInvalidate();
}

public void add ( Graphic graphic ) { synchronized ( mLock ) { mGraphics . add ( graphic ) ; } postInvalidate ( ) ; }
adds a graphic to the overlay .
