7 instantiations of ManipulationState
System.Windows.Input.Manipulations (7)
System\Windows\Input\Manipulations\ManipulationSequence.cs (7)
414
this.history.Enqueue(new
ManipulationState
(timestamp), true/*stopMark*/);
741
this.history.Enqueue(new
ManipulationState
(this.currentManipulationState.Timestamp));
745
this.history.Enqueue(new
ManipulationState
((PointF)translation, smoothedScale, smoothedExpansion, smoothedRotation, timestamp));
825
this.smoothing.Enqueue(new
ManipulationState
(
976
this.initialManipulationState = new
ManipulationState
(timestamp);
1004
this.currentManipulationState = new
ManipulationState
(position, scale, expansion, orientation, timestamp);
1445
this.lastItem = new
ManipulationState
(0L);
22 references to ManipulationState
System.Windows.Input.Manipulations (22)
System\Windows\Input\Manipulations\ManipulationSequence.cs (22)
54
private
ManipulationState
initialManipulationState;
57
private
ManipulationState
currentManipulationState;
208
ManipulationState
firstSample = this.history.Count > 0 ? this.history.Peek() : default(
ManipulationState
);
234
return CalculateMovingAverage(this.smoothing, delegate(
ManipulationState
item) { return item.Orientation; }, 0.0f);
249
return CalculateMovingAverage(this.smoothing, delegate(
ManipulationState
item) { return item.Expansion; }, 0.0f);
267
result = CalculateMovingAverage(this.smoothing, delegate(
ManipulationState
item) { return item.Scale; }, 1.0f);
1058
private static float GetVelocity(Queue<
ManipulationState
> queue, PropertyAccessor accessor)
1075
private static float CalculateWeightedMovingAverage(Queue<
ManipulationState
> queue, PropertyAccessor accessor)
1094
foreach (
ManipulationState
item in queue)
1137
private static float CalculateMovingAverage(Queue<
ManipulationState
> queue, PropertyAccessor accessor, float defaultValue)
1152
foreach (
ManipulationState
item in queue)
1233
private class HistoryQueue : Queue<
ManipulationState
>
1256
public new void Enqueue(
ManipulationState
item)
1266
public void Enqueue(
ManipulationState
item, bool stopMark)
1300
ManipulationState
oldItem = base.Peek();
1327
private class SmoothingQueue : Queue<
ManipulationState
>
1335
private
ManipulationState
lastItem;
1374
private void Fill(
ManipulationState
item, Int64 timestamp)
1391
public new void Enqueue(
ManipulationState
item)
1423
ManipulationState
old = base.Peek();
1587
private delegate float PropertyAccessor(
ManipulationState
item);