5 writes to Offset
System.Windows.Input.Manipulations (5)
System\Windows\Input\Manipulations\InertiaProcessor2D.cs (5)
681
state.
Offset
= 0;
694
state.
Offset
= 0; // set to explicit 0 to clear out the fractional part
717
state.
Offset
=
724
state.
Offset
= state.InitialVelocity * state.Duration * 0.5;
1250
this.
Offset
= initialState.Velocity < 0 ? -initialState.AbsoluteOffset : initialState.AbsoluteOffset;
9 references to Offset
System.Windows.Input.Manipulations (9)
System\Windows\Input\Manipulations\InertiaProcessor2D.cs (9)
673
!double.IsNaN(state.
Offset
) || !double.IsNaN(state.AbsoluteDeceleration),
690
if (!double.IsNaN(state.
Offset
))
692
if (DoubleUtil.IsZero(state.
Offset
))
697
state.Duration = 2 * Math.Abs(state.
Offset
/ state.InitialVelocity);
720
else if (double.IsNaN(state.
Offset
))
729
Debug.Assert(!double.IsNaN(state.
Offset
));
1199
return LimitValue(InitialValue +
Offset
);
1290
",\nOffset=" + this.
Offset
+
1307
Debug.Assert(!double.IsNaN(this.
Offset
)); // can be infinity