3 writes to CurrentNodeTime
PresentationCore (3)
System\Windows\Media\Animation\TimeIntervalCollection.cs (3)
1256projection.CurrentNodeTime = TimeSpan.Zero; 1269projection.CurrentNodeTime = TimeSpan.FromTicks((long)(speedRatio * timeOffset)); 1287projection.CurrentNodeTime = TimeSpan.FromTicks((long)(speedRatio * timeOffset));
37 references to CurrentNodeTime
PresentationCore (37)
System\Windows\Media\Animation\TimeIntervalCollection.cs (37)
648if ((this.CurrentNodeTime < other.CurrentNodeTime) && 658if ((this.CurrentNodeTime > other.CurrentNodeTime) && 668while (this.CurrentNodeTime == other.CurrentNodeTime) 688if (tic1.CurrentNodeTime < tic2.CurrentNodeTime) 691while (!tic1.CurrentIsAtLastNode && (tic1.NextNodeTime <= tic2.CurrentNodeTime)) 696else if (tic2.CurrentNodeTime < tic1.CurrentNodeTime) 699while (!tic2.CurrentIsAtLastNode && (tic2.NextNodeTime <= tic1.CurrentNodeTime)) 744Debug.Assert(tic1.CurrentNodeTime >= tic2.CurrentNodeTime); 747Debug.Assert(tic2.CurrentIsAtLastNode || (tic1.CurrentNodeTime < tic2.NextNodeTime)); 748Debug.Assert(tic1.CurrentIsAtLastNode || (tic2.CurrentNodeTime < tic1.NextNodeTime)); 796Debug.Assert(tic2.CurrentIsAtLastNode || (tic1.CurrentNodeTime < tic2.NextNodeTime)); 797Debug.Assert(tic1.CurrentIsAtLastNode || (tic2.CurrentNodeTime < tic1.NextNodeTime)); 875Debug.Assert(beginTime <= CurrentNodeTime); // The PTIC is clipped by the active period, and we are a subset of the active period 908projectedCurrentNodeTime = ((CurrentNodeTime.Ticks - beginTimeInTicks) % doublePeriod); 917projectedCurrentNodeTime = (CurrentNodeTime.Ticks - beginTimeInTicks) % periodInTicks; 954|| (NextNodeTime.Ticks - CurrentNodeTime.Ticks >= projectedTimeUntilIntersection)) 1251if (CurrentNodeTime < beginTime) // This means we have an interval clipped by beginTime 1264while(_current < _count && (!endTime.HasValue || CurrentNodeTime < endTime)) // Copy the main set of segments, transforming them 1266double timeOffset = (double)((this.CurrentNodeTime - beginTime).Ticks); 1280|| (CurrentNodeTime == endTime.Value && CurrentNodeIsPoint && includeFillPeriod))) 1282Debug.Assert(endTime.HasValue && CurrentNodeTime >= endTime.Value); 1288projection.CurrentNodeIsPoint = includeFillPeriod && (CurrentNodeTime > endTime.Value || CurrentNodeIsPoint); 1312Debug.Assert(CurrentNodeTime >= TimeSpan.Zero); // Verify that we are already clipped 1356currentProjection = CurrentNodeTime.Ticks % doublePeriod; 1365if (includeMaxPoint && activeDuration.HasValue && CurrentNodeTime == activeDuration) 1371currentProjection = CurrentNodeTime.Ticks % periodInTicks; 1393long intervalLength = (NextNodeTime - CurrentNodeTime).Ticks; 1407currentProjection = CurrentNodeTime.Ticks % doublePeriod; 1490currentProjection = CurrentNodeTime.Ticks % periodInTicks; 1829while (_current < _count && CurrentNodeTime < accelEnd) 1837while (_current < _count && CurrentNodeTime <= decelStart) // We bias the edge points towards the simpler linear computation, which yields the same result