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