Code example for ScaleGestureDetector

Methods: getCurrentSpanY

0
     * @see android.view.ScaleGestureDetector#getCurrentSpanY() 
     */ 
    @TargetApi(Build.VERSION_CODES.HONEYCOMB)
    public static float getCurrentSpanY(ScaleGestureDetector scaleGestureDetector) {
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
            return scaleGestureDetector.getCurrentSpanY();
        } else { 
            return scaleGestureDetector.getCurrentSpan();
        } 
    } 
}