Home
last modified time | relevance | path

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

/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/extension/views/
DCircleView.java14 private final PointF sCenter = new PointF(); field in CircleView
41 sCenter.set(getSWidth()/2, getSHeight()/2); in onDraw()
42 sourceToViewCoord(sCenter, vCenter); in onDraw()
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DSubsamplingScaleImageView.java613 PointF sCenter = getCenter(); in onSizeChanged() local
614 if (readySent && sCenter != null) { in onSizeChanged()
617 this.sPendingCenter = sCenter; in onSizeChanged()
938 private void doubleTapZoom(PointF sCenter, PointF vFocus) { in doubleTapZoom() argument
942 sCenter.x = sRequestedCenter.x; in doubleTapZoom()
943 sCenter.y = sRequestedCenter.y; in doubleTapZoom()
946 sCenter.x = sWidth()/2; in doubleTapZoom()
947 sCenter.y = sHeight()/2; in doubleTapZoom()
954 setScaleAndCenter(targetScale, sCenter); in doubleTapZoom()
956 …new AnimationBuilder(targetScale, sCenter).withInterruptible(false).withDuration(doubleTapZoomDura… in doubleTapZoom()
[all …]