12 writes to _beginTime
PresentationCore (12)
System\Windows\Media\Animation\Clock.cs (11)
99_beginTime = _timeline.BeginTime; 901_beginTime = CurrentGlobalTime - DivideTimeSpan(destination, _appliedSpeedRatio); 1808_beginTime = CurrentGlobalTime - DivideTimeSpan(_rootData.PendingSeekDestination.Value, _appliedSpeedRatio); 1834_beginTime = CurrentGlobalTime + _timeline.BeginTime; 1853_beginTime += _timeManager.LastTickDelta; 1889_beginTime = previewParentTime - MultiplyTimeSpan(previewParentTime - _beginTime.Value, 2710_beginTime = null; 3275_beginTime += timeIntoSyncPeriodPT; 3389_beginTime += parentTimeSlipPT; 3417current._beginTime = current._timeline.BeginTime; // _beginTime could have slipped with media nodes 3640_beginTime = null;
System\Windows\Media\Animation\ClockGroup.cs (1)
447child._beginTime = child._timeline.BeginTime; // Realign the clock
34 references to _beginTime
PresentationCore (34)
System\Windows\Media\Animation\Clock.cs (34)
131if (_beginTime.HasValue) 648current._currentIterationBeginTime = current._beginTime; 905_currentIterationBeginTime = _beginTime; 1811_currentIterationBeginTime = _beginTime; // We relied on a combination of _currentIterationBeginTime and _currentIteration for our state 1837_currentIterationBeginTime = _beginTime; // We should be just starting our first iteration now 1850if (_beginTime.HasValue) 1876Debug.Assert(_beginTime.HasValue); 1889_beginTime = previewParentTime - MultiplyTimeSpan(previewParentTime - _beginTime.Value, 1958Debug.Assert(_beginTime.HasValue); 1960Debug.Assert(parentTime >= _beginTime.Value); // We are active or in postfill 1966: _beginTime.Value; 2271Debug.Assert(_beginTime.HasValue); 2275if (parentTime < _beginTime) // Including special backward progressing case 2536Debug.Assert(_beginTime.HasValue); // _currentIterationBeginTime.HasValue implies _beginTime.HasValue 2538previousIterationDuration = _currentIterationBeginTime.Value - _beginTime.Value; 2582if (_beginTime.HasValue 2603|| expirationTime >= _beginTime) // OR if activePeriod extends to or beyond _beginTime, 2609if (expirationTime == _beginTime) 2615activePeriod = TimeIntervalCollection.CreateClosedOpenInterval(_beginTime.Value, expirationTime.Value); 2620activePeriod = TimeIntervalCollection.CreateInfiniteClosedInterval(_beginTime.Value); 2665if (!_beginTime.HasValue) 2672Debug.Assert(_beginTime.HasValue); 2678expirationTime = _beginTime + effectiveDuration; 2744Debug.Assert(_beginTime == null); 2822TimeSpan relativeBeginTime = _currentIterationBeginTime.HasValue ? _currentIterationBeginTime.Value : _beginTime.Value; 2849TimeSpan relativeBeginTime = _currentIterationBeginTime.HasValue ? _currentIterationBeginTime.Value : _beginTime.Value; 2967Debug.Assert(_beginTime.HasValue); 3016Debug.Assert(_beginTime.HasValue); 3038TimeSpan timeUntilBegin = MultiplyTimeSpan(_beginTime.Value - parentTime, invertedParentSpeed); 3192if (_beginTime.HasValue && currentParentTimePT >= _beginTime.Value) 3194TimeSpan relativeBeginTimePT = _currentIterationBeginTime.HasValue ? _currentIterationBeginTime.Value : _beginTime.Value; 3424current._currentIterationBeginTime = current._beginTime; // ...reset its current iteration as well 4012_syncClockBeginTime = _syncClock._beginTime;