3 writes to CurrentNodeTime
PresentationCore (3)
System\Windows\Media\Animation\TimeIntervalCollection.cs (3)
1257projection.CurrentNodeTime = TimeSpan.Zero; 1270projection.CurrentNodeTime = TimeSpan.FromTicks((long)(speedRatio * timeOffset)); 1288projection.CurrentNodeTime = TimeSpan.FromTicks((long)(speedRatio * timeOffset));
37 references to CurrentNodeTime
PresentationCore (37)
System\Windows\Media\Animation\TimeIntervalCollection.cs (37)
649if ((this.CurrentNodeTime < other.CurrentNodeTime) && 659if ((this.CurrentNodeTime > other.CurrentNodeTime) && 669while (this.CurrentNodeTime == other.CurrentNodeTime) 689if (tic1.CurrentNodeTime < tic2.CurrentNodeTime) 692while (!tic1.CurrentIsAtLastNode && (tic1.NextNodeTime <= tic2.CurrentNodeTime)) 697else if (tic2.CurrentNodeTime < tic1.CurrentNodeTime) 700while (!tic2.CurrentIsAtLastNode && (tic2.NextNodeTime <= tic1.CurrentNodeTime)) 745Debug.Assert(tic1.CurrentNodeTime >= tic2.CurrentNodeTime); 748Debug.Assert(tic2.CurrentIsAtLastNode || (tic1.CurrentNodeTime < tic2.NextNodeTime)); 749Debug.Assert(tic1.CurrentIsAtLastNode || (tic2.CurrentNodeTime < tic1.NextNodeTime)); 797Debug.Assert(tic2.CurrentIsAtLastNode || (tic1.CurrentNodeTime < tic2.NextNodeTime)); 798Debug.Assert(tic1.CurrentIsAtLastNode || (tic2.CurrentNodeTime < tic1.NextNodeTime)); 876Debug.Assert(beginTime <= CurrentNodeTime); // The PTIC is clipped by the active period, and we are a subset of the active period 909projectedCurrentNodeTime = ((CurrentNodeTime.Ticks - beginTimeInTicks) % doublePeriod); 918projectedCurrentNodeTime = (CurrentNodeTime.Ticks - beginTimeInTicks) % periodInTicks; 955|| (NextNodeTime.Ticks - CurrentNodeTime.Ticks >= projectedTimeUntilIntersection)) 1252if (CurrentNodeTime < beginTime) // This means we have an interval clipped by beginTime 1265while(_current < _count && (!endTime.HasValue || CurrentNodeTime < endTime)) // Copy the main set of segments, transforming them 1267double timeOffset = (double)((this.CurrentNodeTime - beginTime).Ticks); 1281|| (CurrentNodeTime == endTime.Value && CurrentNodeIsPoint && includeFillPeriod))) 1283Debug.Assert(endTime.HasValue && CurrentNodeTime >= endTime.Value); 1289projection.CurrentNodeIsPoint = includeFillPeriod && (CurrentNodeTime > endTime.Value || CurrentNodeIsPoint); 1313Debug.Assert(CurrentNodeTime >= TimeSpan.Zero); // Verify that we are already clipped 1357currentProjection = CurrentNodeTime.Ticks % doublePeriod; 1366if (includeMaxPoint && activeDuration.HasValue && CurrentNodeTime == activeDuration) 1372currentProjection = CurrentNodeTime.Ticks % periodInTicks; 1394long intervalLength = (NextNodeTime - CurrentNodeTime).Ticks; 1408currentProjection = CurrentNodeTime.Ticks % doublePeriod; 1491currentProjection = CurrentNodeTime.Ticks % periodInTicks; 1830while (_current < _count && CurrentNodeTime < accelEnd) 1838while (_current < _count && CurrentNodeTime <= decelStart) // We bias the edge points towards the simpler linear computation, which yields the same result