Home
last modified time | relevance | path

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

/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DSubsamplingScaleImageView.java190 private int doubleTapZoomStyle = ZOOM_FOCUS_FIXED; field in SubsamplingScaleImageView
953 if (doubleTapZoomStyle == ZOOM_FOCUS_CENTER_IMMEDIATE) { in doubleTapZoom()
955 } else if (doubleTapZoomStyle == ZOOM_FOCUS_CENTER || !zoomIn || !panEnabled) { in doubleTapZoom()
957 } else if (doubleTapZoomStyle == ZOOM_FOCUS_FIXED) { in doubleTapZoom()
2761 public final void setDoubleTapZoomStyle(int doubleTapZoomStyle) { in setDoubleTapZoomStyle() argument
2762 if (!VALID_ZOOM_STYLES.contains(doubleTapZoomStyle)) { in setDoubleTapZoomStyle()
2763 throw new IllegalArgumentException("Invalid zoom style: " + doubleTapZoomStyle); in setDoubleTapZoomStyle()
2765 this.doubleTapZoomStyle = doubleTapZoomStyle; in setDoubleTapZoomStyle()