3 writes to CurrentNodeTime
PresentationCore (3)
System\Windows\Media\Animation\TimeIntervalCollection.cs (3)
1262
projection.
CurrentNodeTime
= TimeSpan.Zero;
1275
projection.
CurrentNodeTime
= TimeSpan.FromTicks((long)(speedRatio * timeOffset));
1293
projection.
CurrentNodeTime
= TimeSpan.FromTicks((long)(speedRatio * timeOffset));
37 references to CurrentNodeTime
PresentationCore (37)
System\Windows\Media\Animation\TimeIntervalCollection.cs (37)
654
if ((this.
CurrentNodeTime
< other.
CurrentNodeTime
) &&
664
if ((this.
CurrentNodeTime
> other.
CurrentNodeTime
) &&
674
while (this.
CurrentNodeTime
== other.
CurrentNodeTime
)
694
if (tic1.
CurrentNodeTime
< tic2.
CurrentNodeTime
)
697
while (!tic1.CurrentIsAtLastNode && (tic1.NextNodeTime <= tic2.
CurrentNodeTime
))
702
else if (tic2.
CurrentNodeTime
< tic1.
CurrentNodeTime
)
705
while (!tic2.CurrentIsAtLastNode && (tic2.NextNodeTime <= tic1.
CurrentNodeTime
))
750
Debug.Assert(tic1.
CurrentNodeTime
>= tic2.
CurrentNodeTime
);
753
Debug.Assert(tic2.CurrentIsAtLastNode || (tic1.
CurrentNodeTime
< tic2.NextNodeTime));
754
Debug.Assert(tic1.CurrentIsAtLastNode || (tic2.
CurrentNodeTime
< tic1.NextNodeTime));
802
Debug.Assert(tic2.CurrentIsAtLastNode || (tic1.
CurrentNodeTime
< tic2.NextNodeTime));
803
Debug.Assert(tic1.CurrentIsAtLastNode || (tic2.
CurrentNodeTime
< tic1.NextNodeTime));
881
Debug.Assert(beginTime <=
CurrentNodeTime
); // The PTIC is clipped by the active period, and we are a subset of the active period
914
projectedCurrentNodeTime = ((
CurrentNodeTime
.Ticks - beginTimeInTicks) % doublePeriod);
923
projectedCurrentNodeTime = (
CurrentNodeTime
.Ticks - beginTimeInTicks) % periodInTicks;
960
|| (NextNodeTime.Ticks -
CurrentNodeTime
.Ticks >= projectedTimeUntilIntersection))
1257
if (
CurrentNodeTime
< beginTime) // This means we have an interval clipped by beginTime
1270
while(_current < _count && (!endTime.HasValue ||
CurrentNodeTime
< endTime)) // Copy the main set of segments, transforming them
1272
double timeOffset = (double)((this.
CurrentNodeTime
- beginTime).Ticks);
1286
|| (
CurrentNodeTime
== endTime.Value && CurrentNodeIsPoint && includeFillPeriod)))
1288
Debug.Assert(endTime.HasValue &&
CurrentNodeTime
>= endTime.Value);
1294
projection.CurrentNodeIsPoint = includeFillPeriod && (
CurrentNodeTime
> endTime.Value || CurrentNodeIsPoint);
1318
Debug.Assert(
CurrentNodeTime
>= TimeSpan.Zero); // Verify that we are already clipped
1362
currentProjection =
CurrentNodeTime
.Ticks % doublePeriod;
1371
if (includeMaxPoint && activeDuration.HasValue &&
CurrentNodeTime
== activeDuration)
1377
currentProjection =
CurrentNodeTime
.Ticks % periodInTicks;
1399
long intervalLength = (NextNodeTime -
CurrentNodeTime
).Ticks;
1413
currentProjection =
CurrentNodeTime
.Ticks % doublePeriod;
1496
currentProjection =
CurrentNodeTime
.Ticks % periodInTicks;
1835
while (_current < _count &&
CurrentNodeTime
< accelEnd)
1843
while (_current < _count &&
CurrentNodeTime
<= decelStart) // We bias the edge points towards the simpler linear computation, which yields the same result