public AnimatedZoomRunnable(PhotoViewDroidAttacher photoViewAttacher, float currentZoom, float targetZoom, float focalX, float focalY) { this.photoViewAttacher = photoViewAttacher; mFocalX = focalX; mFocalY = focalY; mStartTime = Java.Lang.JavaSystem.CurrentTimeMillis(); mZoomStart = currentZoom; mZoomEnd = targetZoom; }
public PhotoViewDroid(Context context, IAttributeSet attr, int defStyle) : base(context, attr, defStyle) { base.SetScaleType(ScaleType.Matrix); mAttacher = new PhotoViewDroidAttacher(this); if (null != mPendingScaleType) { SetScaleType(mPendingScaleType); mPendingScaleType = null; } }
public PhotoViewDroid(Context context) : base(context, null, 0) { base.SetScaleType(ScaleType.Matrix); mAttacher = new PhotoViewDroidAttacher(this); if (null != mPendingScaleType) { SetScaleType(mPendingScaleType); mPendingScaleType = null; } }
public FlingRunnable(PhotoViewDroidAttacher photoViewAttacher, Context context) { mScroller = ScrollerProxy.GetScroller(context); this.photoViewAttacher = photoViewAttacher; }
public MSimpleOnGestureListener(PhotoViewDroidAttacher photoViewAttacher) { this.photoViewAttacher = photoViewAttacher; }
public void SetPhotoViewAttacher(PhotoViewDroidAttacher newPhotoViewAttacher) { this.photoViewAttacher = newPhotoViewAttacher; }
public DefaultOnDoubleTapListener(PhotoViewDroidAttacher photoViewAttacher) { SetPhotoViewAttacher(photoViewAttacher); }