What does the code do?
private class ScaleListener extends ScaleGestureDetector.SimpleOnScaleGestureListener{
public void onScaleEnd(ScaleGestureDetector detector){
int spanX = (int) detector.getCurrentSpanX();
int spanY = (int) detector.getCurrentSpanY();
UpdateLastShape(-1,-1,spanX,spanY,Math.max(spanX, spanY));
super.onScaleEnd(detector);
}
}