5 writes to AbsoluteDeceleration
System.Windows.Input.Manipulations (5)
System\Windows\Input\Manipulations\InertiaProcessor2D.cs (5)
682
state.
AbsoluteDeceleration
= 0;
702
state.
AbsoluteDeceleration
= double.PositiveInfinity;
706
state.
AbsoluteDeceleration
= Math.Abs(state.InitialVelocity) / state.Duration;
715
state.
AbsoluteDeceleration
= 0; // set to explicit 0 to clear out the fractional part
1251
this.
AbsoluteDeceleration
= initialState.AbsoluteDeceleration * InertiaProcessor2D.millisecondsPerTimestampTickSquared; // convert to timestamp units
7 references to AbsoluteDeceleration
System.Windows.Input.Manipulations (7)
System\Windows\Input\Manipulations\InertiaProcessor2D.cs (7)
673
!double.IsNaN(state.Offset) || !double.IsNaN(state.
AbsoluteDeceleration
),
712
if (DoubleUtil.IsZero(state.
AbsoluteDeceleration
))
723
state.Duration = Math.Abs(state.InitialVelocity) / state.
AbsoluteDeceleration
;
1225
return InitialVelocity < 0 ? -
AbsoluteDeceleration
:
AbsoluteDeceleration
;
1308
Debug.Assert(!double.IsNaN(this.
AbsoluteDeceleration
) && this.
AbsoluteDeceleration
>= 0 && !double.IsInfinity(this.InitialVelocity));