public AnimatedZoomRunnable(SpitzerAttacher SpitzerAttacher, float currentZoom, float targetZoom, float focalX, float focalY)
 {
     this._attacher = SpitzerAttacher;
     _focalX        = focalX;
     _focalY        = focalY;
     _startTime     = Java.Lang.JavaSystem.CurrentTimeMillis();
     _zoomStart     = currentZoom;
     _zoomEnd       = targetZoom;
 }
Beispiel #2
0
        public SpitzerImageView(Context context, IAttributeSet attr, int defStyle) : base(context, attr, defStyle)
        {
            base.SetScaleType(ScaleType.Matrix);
            _attacher = new SpitzerAttacher(this);

            if (null != _pendingScaleType)
            {
                SetScaleType(_pendingScaleType);
                _pendingScaleType = null;
            }
        }
Beispiel #3
0
        public SpitzerImageView(Context context) : base(context, null, 0)
        {
            base.SetScaleType(ScaleType.Matrix);
            _attacher = new SpitzerAttacher(this);

            if (null != _pendingScaleType)
            {
                SetScaleType(_pendingScaleType);
                _pendingScaleType = null;
            }
        }
 public MSimpleOnGestureListener(SpitzerAttacher SpitzerAttacher)
 {
     this._attacher = SpitzerAttacher;
 }
 public FlingRunnable(SpitzerAttacher SpitzerAttacher, Context context)
 {
     _scroller      = Scrollers.Scroller.GetScroller(context);
     this._attacher = SpitzerAttacher;
 }