Home
last modified time | relevance | path

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

/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DSubsamplingScaleImageView.java257 private OnStateChangedListener onStateChangedListener; field in SubsamplingScaleImageView
2851 public void setOnStateChangedListener(OnStateChangedListener onStateChangedListener) { in setOnStateChangedListener() argument
2852 this.onStateChangedListener = onStateChangedListener; in setOnStateChangedListener()
2856 if (onStateChangedListener != null && scale != oldScale) { in sendStateChanged()
2857 onStateChangedListener.onScaleChanged(scale, origin); in sendStateChanged()
2859 if (onStateChangedListener != null && !vTranslate.equals(oldVTranslate)) { in sendStateChanged()
2860 onStateChangedListener.onCenterChanged(getCenter(), origin); in sendStateChanged()