6 writes to _current
PresentationCore (6)
System\Windows\Media\Animation\TimeIntervalCollection.cs (6)
116
_current
= 0;
238
_current
= 0;
1331
_current
+= NextNodeIsInterval ? 1 : 2; // Step over the next node if it's merely the end of this interval
1337
_current
++;
2185
_current
= 0;
2190
_current
++;
35 references to _current
PresentationCore (35)
System\Windows\Media\Animation\TimeIntervalCollection.cs (35)
907
while (
_current
< _count)
1270
while(
_current
< _count && (!endTime.HasValue || CurrentNodeTime < endTime)) // Copy the main set of segments, transforming them
1283
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
1284
if (
_current
< _count // We have an interval reaching beyond the active zone, clip that interval
1285
&& (_nodeIsInterval[
_current
- 1]
1339
} while (!quitFlag && (
_current
< _count));
1835
while (
_current
< _count && CurrentNodeTime < accelEnd)
1837
t = (double)_nodeTime[
_current
].Ticks;
1838
_nodeTime[
_current
] = TimeSpan.FromTicks((long)(halfMaxRate * inversePeriod * t * t / accelRatio));
1843
while (
_current
< _count && CurrentNodeTime <= decelStart) // We bias the edge points towards the simpler linear computation, which yields the same result
1845
t = (double)_nodeTime[
_current
].Ticks;
1846
_nodeTime[
_current
] = TimeSpan.FromTicks((long)(halfMaxRate * (2 * t - (accelRatio * dpPeriod))));
1851
while (
_current
< _count)
1853
t = (double)(periodInTicks - _nodeTime[
_current
].Ticks); // We actually use the complement from 100% progress
1854
_nodeTime[
_current
] = TimeSpan.FromTicks(periodInTicks - (long)(halfMaxRate * inversePeriod * t * t / decelRatio));
2191
Debug.Assert(
_current
<= _count);
2198
return (
_current
+ 1 == _count);
2206
Debug.Assert(
_current
< _count);
2207
return _nodeTime[
_current
];
2211
Debug.Assert(
_current
< _count);
2212
_nodeTime[
_current
] = value;
2220
Debug.Assert(
_current
< _count);
2221
return _nodeIsPoint[
_current
] ^ _invertCollection;
2225
Debug.Assert(
_current
< _count);
2226
_nodeIsPoint[
_current
] = value;
2234
Debug.Assert(
_current
< _count);
2235
return _nodeIsInterval[
_current
] ^ _invertCollection;
2239
Debug.Assert(
_current
< _count);
2240
_nodeIsInterval[
_current
] = value;
2248
Debug.Assert(
_current
+ 1 < _count);
2249
return _nodeTime[
_current
+ 1];
2257
Debug.Assert(
_current
+ 1 < _count);
2258
return _nodeIsPoint[
_current
+ 1] ^ _invertCollection;
2266
Debug.Assert(
_current
+ 1 < _count);
2267
return _nodeIsInterval[
_current
+ 1] ^ _invertCollection;