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)
908while (_current < _count) 1271while(_current < _count && (!endTime.HasValue || CurrentNodeTime < endTime)) // Copy the main set of segments, transforming them 1284Debug.Assert(_current > 0); // The only way _current could stay at zero is if the collection begins at (or past) the end of active period 1285if (_current < _count // We have an interval reaching beyond the active zone, clip that interval 1286&& (_nodeIsInterval[_current - 1] 1341} while (!quitFlag && (_current < _count)); 1837while (_current < _count && CurrentNodeTime < accelEnd) 1839t = (double)_nodeTime[_current].Ticks; 1840_nodeTime[_current] = TimeSpan.FromTicks((long)(halfMaxRate * inversePeriod * t * t / accelRatio)); 1845while (_current < _count && CurrentNodeTime <= decelStart) // We bias the edge points towards the simpler linear computation, which yields the same result 1847t = (double)_nodeTime[_current].Ticks; 1848_nodeTime[_current] = TimeSpan.FromTicks((long)(halfMaxRate * (2 * t - (accelRatio * dpPeriod)))); 1853while (_current < _count) 1855t = (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)); 2193Debug.Assert(_current <= _count); 2200return (_current + 1 == _count); 2208Debug.Assert(_current < _count); 2209return _nodeTime[_current]; 2213Debug.Assert(_current < _count); 2214_nodeTime[_current] = value; 2222Debug.Assert(_current < _count); 2223return _nodeIsPoint[_current] ^ _invertCollection; 2227Debug.Assert(_current < _count); 2228_nodeIsPoint[_current] = value; 2236Debug.Assert(_current < _count); 2237return _nodeIsInterval[_current] ^ _invertCollection; 2241Debug.Assert(_current < _count); 2242_nodeIsInterval[_current] = value; 2250Debug.Assert(_current + 1 < _count); 2251return _nodeTime[_current + 1]; 2259Debug.Assert(_current + 1 < _count); 2260return _nodeIsPoint[_current + 1] ^ _invertCollection; 2268Debug.Assert(_current + 1 < _count); 2269return _nodeIsInterval[_current + 1] ^ _invertCollection;