4 writes to _nodeTime
PresentationCore (4)
Core\CSharp\System\Windows\Media\Animation\TimeIntervalCollection.cs (4)
120
_nodeTime
= null;
231
_nodeTime
= null;
1784
_nodeTime
= new TimeSpan[requiredCapacity];
1806
_nodeTime
= newNodeTime;
65 references to _nodeTime
PresentationCore (65)
Core\CSharp\System\Windows\Media\Animation\TimeIntervalCollection.cs (65)
143
_nodeTime
[0] = point;
184
_nodeTime
[0] = from;
205
_nodeTime
[1] = to;
210
_nodeTime
[0] = to;
214
_nodeTime
[1] = from;
229
if (
_nodeTime
!= null &&
_nodeTime
.Length > _minimumCapacity)
258
return
_nodeTime
[0];
279
if (_count < 2 || slipTime >
_nodeTime
[1] -
_nodeTime
[0])
288
slippedCollection = new TimeIntervalCollection(
_nodeTime
[0] + slipTime, _nodeIsPoint[0],
289
_nodeTime
[1] , _nodeIsPoint[1]);
309
return new TimeIntervalCollection(
_nodeTime
[0], _nodeIsPoint[0],
314
Debug.Assert(beginTime <=
_nodeTime
[1]);
316
_nodeTime
[1], _nodeIsPoint[1]);
412
else if (
_nodeTime
[index] == time) // Queried time falls exactly onto a node
418
Debug.Assert(
_nodeTime
[index] < time);
564
return (to >
_nodeTime
[toIndex]) || (fromIndex >= 0 && _nodeIsInterval[fromIndex]);
826
this.
_nodeTime
[0] < other.
_nodeTime
[0]) // Neither TIC is empty, and we start first; this means the inverted "other" by necessity
1011
TimeSpan lastNodeTime =
_nodeTime
[_count - 1];
1166
Debug.Assert(!endTime.HasValue || endTime >=
_nodeTime
[0]); // EndTime must come at or after our first node (it can be infinite)
1167
Debug.Assert(
_nodeTime
[_count - 1] >= beginTime); // Our last node must come at least at begin time (since we must intersect the active period)
1177
||
_nodeTime
[0] < beginTime // If we intersect space before beginTime, or...
1180
&& (
_nodeTime
[_count - 1] > endTime.Value + fillDuration.TimeSpan // ...we intersect space after endTime+fill, or...
1181
|| (
_nodeTime
[_count - 1] == endTime.Value + fillDuration.TimeSpan // ...as we fall right onto the end of fill zone...
1247
projection.EnsureAllocatedCapacity(this.
_nodeTime
.Length);
1507
projection.
_nodeTime
[0] = TimeSpan.Zero;
1511
projection.
_nodeTime
[1] = TimeSpan.FromTicks(periodInTicks);
1562
if (index >= 0 &&
_nodeTime
[index] == point) // Point coincides with an existing node
1575
_nodeTime
[n] =
_nodeTime
[n + 1];
1585
Debug.Assert(index == -1 ||
_nodeTime
[index] < point);
1592
_nodeTime
[n + 1] =
_nodeTime
[n];
1596
_nodeTime
[index + 1] = point; // Insert the node
1620
_nodeTime
[0] = from;
1624
_nodeTime
[1] = to;
1632
Debug.Assert(
_nodeTime
.Length >= _minimumCapacity); // Assert that we indeed have memory allocated
1658
if (fromIndex == -1 ||
_nodeTime
[fromIndex] < from) // We don't fall exactly onto a preexisting node
1670
Debug.Assert(
_nodeTime
[fromIndex] == from);
1688
if (toIndex == -1 ||
_nodeTime
[toIndex] < to) // We don't fall exactly onto a preexisting node
1701
Debug.Assert(
_nodeTime
[toIndex] == to);
1740
_nodeTime
[n + netIncreaseInNodes] =
_nodeTime
[n];
1750
_nodeTime
[n + netIncreaseInNodes] =
_nodeTime
[n]; // Note that netIncreaseInNodes is negative here
1760
_nodeTime
[nextInsertionIndex] = from;
1769
_nodeTime
[nextInsertionIndex] = to;
1779
if (
_nodeTime
== null)
1788
else if (
_nodeTime
.Length < requiredCapacity) // We may need to grow by up to 2 units
1793
int newCapacity =
_nodeTime
.Length << 1; // Dynamically grow by a factor of 2
1801
newNodeTime[n] =
_nodeTime
[n];
1839
t = (double)
_nodeTime
[_current].Ticks;
1840
_nodeTime
[_current] = TimeSpan.FromTicks((long)(halfMaxRate * inversePeriod * t * t / accelRatio));
1847
t = (double)
_nodeTime
[_current].Ticks;
1848
_nodeTime
[_current] = TimeSpan.FromTicks((long)(halfMaxRate * (2 * t - (accelRatio * dpPeriod))));
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));
2131
if (_count == 0 || time <
_nodeTime
[0])
2147
if (time <
_nodeTime
[current])
2157
if (time <
_nodeTime
[right])
2209
return
_nodeTime
[_current];
2214
_nodeTime
[_current] = value;
2251
return
_nodeTime
[_current + 1];