Home
last modified time | relevance | path

Searched refs:sRequestedCenter (Results 1 – 1 of 1) sorted by relevance

/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DSubsamplingScaleImageView.java205 private PointF sRequestedCenter; field in SubsamplingScaleImageView
486 sRequestedCenter = null; in reset()
770 } else if (sRequestedCenter != null) { in onTouchEventInternal()
772 vTranslate.x = (getWidth()/2) - (scale * sRequestedCenter.x); in onTouchEventInternal()
773 vTranslate.y = (getHeight()/2) - (scale * sRequestedCenter.y); in onTouchEventInternal()
821 } else if (sRequestedCenter != null) { in onTouchEventInternal()
823 vTranslate.x = (getWidth()/2) - (scale * sRequestedCenter.x); in onTouchEventInternal()
824 vTranslate.y = (getHeight()/2) - (scale * sRequestedCenter.y); in onTouchEventInternal()
940 if (sRequestedCenter != null) { in doubleTapZoom()
942 sCenter.x = sRequestedCenter.x; in doubleTapZoom()
[all …]