question: protected void zoomImageToPosition ( float scale , float centerX , float centerY , long durationMs ) { if ( scale > getMaxScale ( ) ) { scale = getMaxScale ( ) ; } final float oldScale = getCurrentScale ( ) ; final float deltaScale = scale - oldScale ; post ( mZoomImageToPositionRunnable = new ZoomImageToPosition ( CropImageView . this , durationMs , oldScale , deltaScale , centerX , centerY ) ) ; }
target:  This method changes image scale (animating zoom for given duration), related to given center (x,y).