5 writes to Offset
System.Windows.Input.Manipulations (5)
System\Windows\Input\Manipulations\InertiaProcessor2D.cs (5)
678
state.
Offset
= 0;
691
state.
Offset
= 0; // set to explicit 0 to clear out the fractional part
714
state.
Offset
=
721
state.
Offset
= state.InitialVelocity * state.Duration * 0.5;
1238
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)
670
!double.IsNaN(state.
Offset
) || !double.IsNaN(state.AbsoluteDeceleration),
687
if (!double.IsNaN(state.
Offset
))
689
if (DoubleUtil.IsZero(state.
Offset
))
694
state.Duration = 2 * Math.Abs(state.
Offset
/ state.InitialVelocity);
717
else if (double.IsNaN(state.
Offset
))
726
Debug.Assert(!double.IsNaN(state.
Offset
));
1187
return LimitValue(InitialValue +
Offset
);
1278
",\nOffset=" + this.
Offset
+
1295
Debug.Assert(!double.IsNaN(this.
Offset
)); // can be infinity