public void updatePoint(float x,float y){
  if (Math.sqrt(x * x + y * y) > 1.5)   if (listener != null) {
    listener.onAngleChangedListener(getAngle(x,-y));
  }
}

public void updatePoint ( float x , float y ) { if ( Math . sqrt ( x * x + y * y ) > 1.5 ) if ( listener != null ) { listener . onAngleChangedListener ( getAngle ( x , - y ) ) ; } }
update the gravity point only if a the gravity vector is longer than the threshold
