Home
last modified time | relevance | path

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

/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DSubsamplingScaleImageView.java167 private int panLimit = PAN_LIMIT_INSIDE; field in SubsamplingScaleImageView
1408 if (panLimit == PAN_LIMIT_OUTSIDE && isReady()) {
1417 if (panLimit == PAN_LIMIT_CENTER && isReady()) {
1434 if (panLimit == PAN_LIMIT_CENTER && isReady()) {
2406 if (panLimit == PAN_LIMIT_CENTER) { in getPanRemaining()
2411 } else if (panLimit == PAN_LIMIT_OUTSIDE) { in getPanRemaining()
2428 public final void setPanLimit(int panLimit) { in setPanLimit() argument
2429 if (!VALID_PAN_LIMITS.contains(panLimit)) { in setPanLimit()
2430 throw new IllegalArgumentException("Invalid pan limit: " + panLimit); in setPanLimit()
2432 this.panLimit = panLimit; in setPanLimit()