6 writes to _current
PresentationCore (6)
System\Windows\Media\Animation\TimeIntervalCollection.cs (6)
111
_current
= 0;
233
_current
= 0;
1326
_current
+= NextNodeIsInterval ? 1 : 2; // Step over the next node if it's merely the end of this interval
1332
_current
++;
2180
_current
= 0;
2185
_current
++;
35 references to _current
PresentationCore (35)
System\Windows\Media\Animation\TimeIntervalCollection.cs (35)
902
while (
_current
< _count)
1265
while(
_current
< _count && (!endTime.HasValue || CurrentNodeTime < endTime)) // Copy the main set of segments, transforming them
1278
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
1279
if (
_current
< _count // We have an interval reaching beyond the active zone, clip that interval
1280
&& (_nodeIsInterval[
_current
- 1]
1334
} while (!quitFlag && (
_current
< _count));
1830
while (
_current
< _count && CurrentNodeTime < accelEnd)
1832
t = (double)_nodeTime[
_current
].Ticks;
1833
_nodeTime[
_current
] = TimeSpan.FromTicks((long)(halfMaxRate * inversePeriod * t * t / accelRatio));
1838
while (
_current
< _count && CurrentNodeTime <= decelStart) // We bias the edge points towards the simpler linear computation, which yields the same result
1840
t = (double)_nodeTime[
_current
].Ticks;
1841
_nodeTime[
_current
] = TimeSpan.FromTicks((long)(halfMaxRate * (2 * t - (accelRatio * dpPeriod))));
1846
while (
_current
< _count)
1848
t = (double)(periodInTicks - _nodeTime[
_current
].Ticks); // We actually use the complement from 100% progress
1849
_nodeTime[
_current
] = TimeSpan.FromTicks(periodInTicks - (long)(halfMaxRate * inversePeriod * t * t / decelRatio));
2186
Debug.Assert(
_current
<= _count);
2193
return (
_current
+ 1 == _count);
2201
Debug.Assert(
_current
< _count);
2202
return _nodeTime[
_current
];
2206
Debug.Assert(
_current
< _count);
2207
_nodeTime[
_current
] = value;
2215
Debug.Assert(
_current
< _count);
2216
return _nodeIsPoint[
_current
] ^ _invertCollection;
2220
Debug.Assert(
_current
< _count);
2221
_nodeIsPoint[
_current
] = value;
2229
Debug.Assert(
_current
< _count);
2230
return _nodeIsInterval[
_current
] ^ _invertCollection;
2234
Debug.Assert(
_current
< _count);
2235
_nodeIsInterval[
_current
] = value;
2243
Debug.Assert(
_current
+ 1 < _count);
2244
return _nodeTime[
_current
+ 1];
2252
Debug.Assert(
_current
+ 1 < _count);
2253
return _nodeIsPoint[
_current
+ 1] ^ _invertCollection;
2261
Debug.Assert(
_current
+ 1 < _count);
2262
return _nodeIsInterval[
_current
+ 1] ^ _invertCollection;