Searched refs:onStateChangedListener (Results 1 – 1 of 1) sorted by relevance
257 private OnStateChangedListener onStateChangedListener; field in SubsamplingScaleImageView2851 public void setOnStateChangedListener(OnStateChangedListener onStateChangedListener) { in setOnStateChangedListener() argument2852 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()