Home
last modified time | relevance | path

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

/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DSubsamplingScaleImageView.java794 float spanDiff = Math.abs(1 - (dist / quickScaleLastDistance)) * 0.5f; in onTouchEventInternal() local
796 if (spanDiff > 0.03f || quickScaleMoved) { in onTouchEventInternal()
801 multiplier = isUpwards ? (1 + spanDiff) : (1 - spanDiff); in onTouchEventInternal()