Home
last modified time | relevance | path

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

/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DSubsamplingScaleImageView.java239 private float quickScaleLastDistance; field in SubsamplingScaleImageView
494 quickScaleLastDistance = 0f; in reset()
581 quickScaleLastDistance = -1F; in setGestureDetector()
788 if (quickScaleLastDistance == -1f) { in onTouchEventInternal()
789 quickScaleLastDistance = dist; in onTouchEventInternal()
794 float spanDiff = Math.abs(1 - (dist / quickScaleLastDistance)) * 0.5f; in onTouchEventInternal()
800 if (quickScaleLastDistance > 0) { in onTouchEventInternal()
832 quickScaleLastDistance = dist; in onTouchEventInternal()