12 writes to _beginTime
PresentationCore (12)
System\Windows\Media\Animation\Clock.cs (11)
85_beginTime = _timeline.BeginTime; 887_beginTime = CurrentGlobalTime - DivideTimeSpan(destination, _appliedSpeedRatio); 1791_beginTime = CurrentGlobalTime - DivideTimeSpan(_rootData.PendingSeekDestination.Value, _appliedSpeedRatio); 1817_beginTime = CurrentGlobalTime + _timeline.BeginTime; 1836_beginTime += _timeManager.LastTickDelta; 1872_beginTime = previewParentTime - MultiplyTimeSpan(previewParentTime - _beginTime.Value, 2692_beginTime = null; 3254_beginTime += timeIntoSyncPeriodPT; 3368_beginTime += parentTimeSlipPT; 3396current._beginTime = current._timeline.BeginTime; // _beginTime could have slipped with media nodes 3619_beginTime = null;
System\Windows\Media\Animation\ClockGroup.cs (1)
441child._beginTime = child._timeline.BeginTime; // Realign the clock
34 references to _beginTime
PresentationCore (34)
System\Windows\Media\Animation\Clock.cs (34)
117if (_beginTime.HasValue) 634current._currentIterationBeginTime = current._beginTime; 891_currentIterationBeginTime = _beginTime; 1794_currentIterationBeginTime = _beginTime; // We relied on a combination of _currentIterationBeginTime and _currentIteration for our state 1820_currentIterationBeginTime = _beginTime; // We should be just starting our first iteration now 1833if (_beginTime.HasValue) 1859Debug.Assert(_beginTime.HasValue); 1872_beginTime = previewParentTime - MultiplyTimeSpan(previewParentTime - _beginTime.Value, 1941Debug.Assert(_beginTime.HasValue); 1943Debug.Assert(parentTime >= _beginTime.Value); // We are active or in postfill 1948TimeSpan beginTimeForOffsetComputation = _currentIterationBeginTime ?? _beginTime.Value; 2253Debug.Assert(_beginTime.HasValue); 2257if (parentTime < _beginTime) // Including special backward progressing case 2518Debug.Assert(_beginTime.HasValue); // _currentIterationBeginTime.HasValue implies _beginTime.HasValue 2520previousIterationDuration = _currentIterationBeginTime.Value - _beginTime.Value; 2564if (_beginTime.HasValue 2585|| expirationTime >= _beginTime) // OR if activePeriod extends to or beyond _beginTime, 2591if (expirationTime == _beginTime) 2597activePeriod = TimeIntervalCollection.CreateClosedOpenInterval(_beginTime.Value, expirationTime.Value); 2602activePeriod = TimeIntervalCollection.CreateInfiniteClosedInterval(_beginTime.Value); 2647if (!_beginTime.HasValue) 2654Debug.Assert(_beginTime.HasValue); 2660expirationTime = _beginTime + effectiveDuration; 2726Debug.Assert(_beginTime == null); 2804TimeSpan relativeBeginTime = _currentIterationBeginTime ?? _beginTime.Value; 2831TimeSpan relativeBeginTime = _currentIterationBeginTime ?? _beginTime.Value; 2946Debug.Assert(_beginTime.HasValue); 2995Debug.Assert(_beginTime.HasValue); 3017TimeSpan timeUntilBegin = MultiplyTimeSpan(_beginTime.Value - parentTime, invertedParentSpeed); 3171if (_beginTime.HasValue && currentParentTimePT >= _beginTime.Value) 3173TimeSpan relativeBeginTimePT = _currentIterationBeginTime ?? _beginTime.Value; 3403current._currentIterationBeginTime = current._beginTime; // ...reset its current iteration as well 3983_syncClockBeginTime = _syncClock._beginTime;