6 writes to _current
PresentationCore (6)
System\Windows\Media\Animation\TimeIntervalCollection.cs (6)
110
_current
= 0;
232
_current
= 0;
1325
_current
+= NextNodeIsInterval ? 1 : 2; // Step over the next node if it's merely the end of this interval
1331
_current
++;
2179
_current
= 0;
2184
_current
++;
35 references to _current
PresentationCore (35)
System\Windows\Media\Animation\TimeIntervalCollection.cs (35)
901
while (
_current
< _count)
1264
while(
_current
< _count && (!endTime.HasValue || CurrentNodeTime < endTime)) // Copy the main set of segments, transforming them
1277
Debug.Assert(
_current
> 0); // The only way _current could stay at zero is if the collection begins at (or past) the end of active period
1278
if (
_current
< _count // We have an interval reaching beyond the active zone, clip that interval
1279
&& (_nodeIsInterval[
_current
- 1]
1333
} while (!quitFlag && (
_current
< _count));
1829
while (
_current
< _count && CurrentNodeTime < accelEnd)
1831
t = (double)_nodeTime[
_current
].Ticks;
1832
_nodeTime[
_current
] = TimeSpan.FromTicks((long)(halfMaxRate * inversePeriod * t * t / accelRatio));
1837
while (
_current
< _count && CurrentNodeTime <= decelStart) // We bias the edge points towards the simpler linear computation, which yields the same result
1839
t = (double)_nodeTime[
_current
].Ticks;
1840
_nodeTime[
_current
] = TimeSpan.FromTicks((long)(halfMaxRate * (2 * t - (accelRatio * dpPeriod))));
1845
while (
_current
< _count)
1847
t = (double)(periodInTicks - _nodeTime[
_current
].Ticks); // We actually use the complement from 100% progress
1848
_nodeTime[
_current
] = TimeSpan.FromTicks(periodInTicks - (long)(halfMaxRate * inversePeriod * t * t / decelRatio));
2185
Debug.Assert(
_current
<= _count);
2192
return (
_current
+ 1 == _count);
2200
Debug.Assert(
_current
< _count);
2201
return _nodeTime[
_current
];
2205
Debug.Assert(
_current
< _count);
2206
_nodeTime[
_current
] = value;
2214
Debug.Assert(
_current
< _count);
2215
return _nodeIsPoint[
_current
] ^ _invertCollection;
2219
Debug.Assert(
_current
< _count);
2220
_nodeIsPoint[
_current
] = value;
2228
Debug.Assert(
_current
< _count);
2229
return _nodeIsInterval[
_current
] ^ _invertCollection;
2233
Debug.Assert(
_current
< _count);
2234
_nodeIsInterval[
_current
] = value;
2242
Debug.Assert(
_current
+ 1 < _count);
2243
return _nodeTime[
_current
+ 1];
2251
Debug.Assert(
_current
+ 1 < _count);
2252
return _nodeIsPoint[
_current
+ 1] ^ _invertCollection;
2260
Debug.Assert(
_current
+ 1 < _count);
2261
return _nodeIsInterval[
_current
+ 1] ^ _invertCollection;