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