5 writes to Offset
System.Windows.Input.Manipulations (5)
System\Windows\Input\Manipulations\InertiaProcessor2D.cs (5)
677
state.
Offset
= 0;
690
state.
Offset
= 0; // set to explicit 0 to clear out the fractional part
713
state.
Offset
=
720
state.
Offset
= state.InitialVelocity * state.Duration * 0.5;
1237
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)
669
!double.IsNaN(state.
Offset
) || !double.IsNaN(state.AbsoluteDeceleration),
686
if (!double.IsNaN(state.
Offset
))
688
if (DoubleUtil.IsZero(state.
Offset
))
693
state.Duration = 2 * Math.Abs(state.
Offset
/ state.InitialVelocity);
716
else if (double.IsNaN(state.
Offset
))
725
Debug.Assert(!double.IsNaN(state.
Offset
));
1186
return LimitValue(InitialValue +
Offset
);
1277
",\nOffset=" + this.
Offset
+
1294
Debug.Assert(!double.IsNaN(this.
Offset
)); // can be infinity