5 writes to Offset
System.Windows.Input.Manipulations (5)
System\Windows\Input\Manipulations\InertiaProcessor2D.cs (5)
674
state.
Offset
= 0;
687
state.
Offset
= 0; // set to explicit 0 to clear out the fractional part
710
state.
Offset
=
717
state.
Offset
= state.InitialVelocity * state.Duration * 0.5;
1234
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)
666
!double.IsNaN(state.
Offset
) || !double.IsNaN(state.AbsoluteDeceleration),
683
if (!double.IsNaN(state.
Offset
))
685
if (DoubleUtil.IsZero(state.
Offset
))
690
state.Duration = 2 * Math.Abs(state.
Offset
/ state.InitialVelocity);
713
else if (double.IsNaN(state.
Offset
))
722
Debug.Assert(!double.IsNaN(state.
Offset
));
1183
return LimitValue(InitialValue +
Offset
);
1274
",\nOffset=" + this.
Offset
+
1291
Debug.Assert(!double.IsNaN(this.
Offset
)); // can be infinity