6 writes to _current
PresentationCore (6)
Core\CSharp\System\Windows\Media\Animation\TimeIntervalCollection.cs (6)
117
_current
= 0;
239
_current
= 0;
1332
_current
+= NextNodeIsInterval ? 1 : 2; // Step over the next node if it's merely the end of this interval
1338
_current
++;
2187
_current
= 0;
2192
_current
++;
35 references to _current
PresentationCore (35)
Core\CSharp\System\Windows\Media\Animation\TimeIntervalCollection.cs (35)
908
while (
_current
< _count)
1271
while(
_current
< _count && (!endTime.HasValue || CurrentNodeTime < endTime)) // Copy the main set of segments, transforming them
1284
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
1285
if (
_current
< _count // We have an interval reaching beyond the active zone, clip that interval
1286
&& (_nodeIsInterval[
_current
- 1]
1341
} while (!quitFlag && (
_current
< _count));
1837
while (
_current
< _count && CurrentNodeTime < accelEnd)
1839
t = (double)_nodeTime[
_current
].Ticks;
1840
_nodeTime[
_current
] = TimeSpan.FromTicks((long)(halfMaxRate * inversePeriod * t * t / accelRatio));
1845
while (
_current
< _count && CurrentNodeTime <= decelStart) // We bias the edge points towards the simpler linear computation, which yields the same result
1847
t = (double)_nodeTime[
_current
].Ticks;
1848
_nodeTime[
_current
] = TimeSpan.FromTicks((long)(halfMaxRate * (2 * t - (accelRatio * dpPeriod))));
1853
while (
_current
< _count)
1855
t = (double)(periodInTicks - _nodeTime[
_current
].Ticks); // We actually use the complement from 100% progress
1856
_nodeTime[
_current
] = TimeSpan.FromTicks(periodInTicks - (long)(halfMaxRate * inversePeriod * t * t / decelRatio));
2193
Debug.Assert(
_current
<= _count);
2200
return (
_current
+ 1 == _count);
2208
Debug.Assert(
_current
< _count);
2209
return _nodeTime[
_current
];
2213
Debug.Assert(
_current
< _count);
2214
_nodeTime[
_current
] = value;
2222
Debug.Assert(
_current
< _count);
2223
return _nodeIsPoint[
_current
] ^ _invertCollection;
2227
Debug.Assert(
_current
< _count);
2228
_nodeIsPoint[
_current
] = value;
2236
Debug.Assert(
_current
< _count);
2237
return _nodeIsInterval[
_current
] ^ _invertCollection;
2241
Debug.Assert(
_current
< _count);
2242
_nodeIsInterval[
_current
] = value;
2250
Debug.Assert(
_current
+ 1 < _count);
2251
return _nodeTime[
_current
+ 1];
2259
Debug.Assert(
_current
+ 1 < _count);
2260
return _nodeIsPoint[
_current
+ 1] ^ _invertCollection;
2268
Debug.Assert(
_current
+ 1 < _count);
2269
return _nodeIsInterval[
_current
+ 1] ^ _invertCollection;