Home
last modified time | relevance | path

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

/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DSubsamplingScaleImageView.java217 private boolean isPanning; field in SubsamplingScaleImageView
488 isPanning = false; in reset()
680 isPanning = false; in onTouchEvent()
740 …enterEndX, vCenterStart.y, vCenterEndY) > 5 || Math.abs(vDistEnd - vDistStart) > 5 || isPanning)) { in onTouchEventInternal()
742 isPanning = true; in onTouchEventInternal()
846 if (dx > offset || dy > offset || isPanning) { in onTouchEventInternal()
856 boolean edgeXSwipe = atXEdge && dx > dy && !isPanning; in onTouchEventInternal()
857 boolean edgeYSwipe = atYEdge && dy > dx && !isPanning; in onTouchEventInternal()
859 … if (!edgeXSwipe && !edgeYSwipe && (!atXEdge || !atYEdge || yPan || isPanning)) { in onTouchEventInternal()
860 isPanning = true; in onTouchEventInternal()
[all …]