14 writes to _currentIterationBeginTime
PresentationCore (14)
System\Windows\Media\Animation\Clock.cs (14)
635
current.
_currentIterationBeginTime
= current._beginTime;
892
_currentIterationBeginTime
= _beginTime;
1798
_currentIterationBeginTime
= _beginTime; // We relied on a combination of _currentIterationBeginTime and _currentIteration for our state
1824
_currentIterationBeginTime
= _beginTime; // We should be just starting our first iteration now
1845
_currentIterationBeginTime
+= _timeManager.LastTickDelta;
1871
_currentIterationBeginTime
= previewParentTime - MultiplyTimeSpan(previewParentTime - _currentIterationBeginTime.Value,
2216
_currentIterationBeginTime
+= _currentDuration.TimeSpan + MultiplyTimeSpan(_resolvedDuration.TimeSpan, iterationIncrement - 1);
2224
_currentIterationBeginTime
-= _resolvedDuration.TimeSpan;
2228
_currentIterationBeginTime
-= _currentDuration.TimeSpan;
2698
_currentIterationBeginTime
= null;
3258
_currentIterationBeginTime
+= timeIntoSyncPeriodPT;
3372
_currentIterationBeginTime
+= parentTimeSlipPT;
3411
current.
_currentIterationBeginTime
= current._beginTime; // ...reset its current iteration as well
3628
_currentIterationBeginTime
= null;
21 references to _currentIterationBeginTime
PresentationCore (21)
System\Windows\Media\Animation\Clock.cs (21)
1843
if (
_currentIterationBeginTime
.HasValue) // One of our descendants has set this flag on us
1868
if (
_currentIterationBeginTime
.HasValue)
1871
_currentIterationBeginTime = previewParentTime - MultiplyTimeSpan(previewParentTime -
_currentIterationBeginTime
.Value,
1952
TimeSpan beginTimeForOffsetComputation =
_currentIterationBeginTime
.HasValue ?
_currentIterationBeginTime
.Value
2043
if (_currentClockState == ClockState.Filling && repeatBehavior.HasCount && !
_currentIterationBeginTime
.HasValue)
2085
if (
_currentIterationBeginTime
.HasValue)
2192
Debug.Assert(
_currentIterationBeginTime
.HasValue, "ComputeCurrentIterationWithGrow should only be called when _currentIterationBeginTime has a value.");
2196
TimeSpan offsetFromBegin = MultiplyTimeSpan(parentTime -
_currentIterationBeginTime
.Value, _appliedSpeedRatio);
2220
if (_currentClockState == ClockState.Filling && expirationTime.HasValue &&
_currentIterationBeginTime
>= expirationTime)
2521
if (CanGrow &&
_currentIterationBeginTime
.HasValue && _currentIteration.HasValue)
2525
previousIterationDuration =
_currentIterationBeginTime
.Value - _beginTime.Value;
2654
Debug.Assert(!
_currentIterationBeginTime
.HasValue, "_currentIterationBeginTime should not have a value when _beginTime has no value.");
2809
TimeSpan relativeBeginTime =
_currentIterationBeginTime
.HasValue ?
_currentIterationBeginTime
.Value : _beginTime.Value;
2836
TimeSpan relativeBeginTime =
_currentIterationBeginTime
.HasValue ?
_currentIterationBeginTime
.Value : _beginTime.Value;
3181
TimeSpan relativeBeginTimePT =
_currentIterationBeginTime
.HasValue ?
_currentIterationBeginTime
.Value : _beginTime.Value;
3256
if (
_currentIterationBeginTime
.HasValue)
3370
if (
_currentIterationBeginTime
.HasValue)