4 writes to _nodeTime
PresentationCore (4)
System\Windows\Media\Animation\TimeIntervalCollection.cs (4)
114_nodeTime = null; 225_nodeTime = null; 1777_nodeTime = new TimeSpan[requiredCapacity]; 1799_nodeTime = newNodeTime;
65 references to _nodeTime
PresentationCore (65)
System\Windows\Media\Animation\TimeIntervalCollection.cs (65)
137_nodeTime[0] = point; 178_nodeTime[0] = from; 199_nodeTime[1] = to; 204_nodeTime[0] = to; 208_nodeTime[1] = from; 223if (_nodeTime != null && _nodeTime.Length > _minimumCapacity) 252return _nodeTime[0]; 273if (_count < 2 || slipTime > _nodeTime[1] - _nodeTime[0]) 282slippedCollection = new TimeIntervalCollection(_nodeTime[0] + slipTime, _nodeIsPoint[0], 283_nodeTime[1] , _nodeIsPoint[1]); 303return new TimeIntervalCollection(_nodeTime[0], _nodeIsPoint[0], 308Debug.Assert(beginTime <= _nodeTime[1]); 310_nodeTime[1], _nodeIsPoint[1]); 406else if (_nodeTime[index] == time) // Queried time falls exactly onto a node 412Debug.Assert(_nodeTime[index] < time); 558return (to > _nodeTime[toIndex]) || (fromIndex >= 0 && _nodeIsInterval[fromIndex]); 820this._nodeTime[0] < other._nodeTime[0]) // Neither TIC is empty, and we start first; this means the inverted "other" by necessity 1005TimeSpan lastNodeTime = _nodeTime[_count - 1]; 1160Debug.Assert(!endTime.HasValue || endTime >= _nodeTime[0]); // EndTime must come at or after our first node (it can be infinite) 1161Debug.Assert(_nodeTime[_count - 1] >= beginTime); // Our last node must come at least at begin time (since we must intersect the active period) 1171|| _nodeTime[0] < beginTime // If we intersect space before beginTime, or... 1174&& (_nodeTime[_count - 1] > endTime.Value + fillDuration.TimeSpan // ...we intersect space after endTime+fill, or... 1175|| (_nodeTime[_count - 1] == endTime.Value + fillDuration.TimeSpan // ...as we fall right onto the end of fill zone... 1241projection.EnsureAllocatedCapacity(this._nodeTime.Length); 1500projection._nodeTime[0] = TimeSpan.Zero; 1504projection._nodeTime[1] = TimeSpan.FromTicks(periodInTicks); 1555if (index >= 0 && _nodeTime[index] == point) // Point coincides with an existing node 1568_nodeTime[n] = _nodeTime[n + 1]; 1578Debug.Assert(index == -1 || _nodeTime[index] < point); 1585_nodeTime[n + 1] = _nodeTime[n]; 1589_nodeTime[index + 1] = point; // Insert the node 1613_nodeTime[0] = from; 1617_nodeTime[1] = to; 1625Debug.Assert(_nodeTime.Length >= _minimumCapacity); // Assert that we indeed have memory allocated 1651if (fromIndex == -1 || _nodeTime[fromIndex] < from) // We don't fall exactly onto a preexisting node 1663Debug.Assert(_nodeTime[fromIndex] == from); 1681if (toIndex == -1 || _nodeTime[toIndex] < to) // We don't fall exactly onto a preexisting node 1694Debug.Assert(_nodeTime[toIndex] == to); 1733_nodeTime[n + netIncreaseInNodes] = _nodeTime[n]; 1743_nodeTime[n + netIncreaseInNodes] = _nodeTime[n]; // Note that netIncreaseInNodes is negative here 1753_nodeTime[nextInsertionIndex] = from; 1762_nodeTime[nextInsertionIndex] = to; 1772if (_nodeTime == null) 1781else if (_nodeTime.Length < requiredCapacity) // We may need to grow by up to 2 units 1786int newCapacity = _nodeTime.Length << 1; // Dynamically grow by a factor of 2 1794newNodeTime[n] = _nodeTime[n]; 1832t = (double)_nodeTime[_current].Ticks; 1833_nodeTime[_current] = TimeSpan.FromTicks((long)(halfMaxRate * inversePeriod * t * t / accelRatio)); 1840t = (double)_nodeTime[_current].Ticks; 1841_nodeTime[_current] = TimeSpan.FromTicks((long)(halfMaxRate * (2 * t - (accelRatio * dpPeriod)))); 1848t = (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)); 2124if (_count == 0 || time < _nodeTime[0]) 2140if (time < _nodeTime[current]) 2150if (time < _nodeTime[right]) 2202return _nodeTime[_current]; 2207_nodeTime[_current] = value; 2244return _nodeTime[_current + 1];