12 writes to _beginTime
PresentationCore (12)
System\Windows\Media\Animation\Clock.cs (11)
86_beginTime = _timeline.BeginTime; 888_beginTime = CurrentGlobalTime - DivideTimeSpan(destination, _appliedSpeedRatio); 1795_beginTime = CurrentGlobalTime - DivideTimeSpan(_rootData.PendingSeekDestination.Value, _appliedSpeedRatio); 1821_beginTime = CurrentGlobalTime + _timeline.BeginTime; 1840_beginTime += _timeManager.LastTickDelta; 1876_beginTime = previewParentTime - MultiplyTimeSpan(previewParentTime - _beginTime.Value, 2696_beginTime = null; 3261_beginTime += timeIntoSyncPeriodPT; 3375_beginTime += parentTimeSlipPT; 3403current._beginTime = current._timeline.BeginTime; // _beginTime could have slipped with media nodes 3626_beginTime = null;
System\Windows\Media\Animation\ClockGroup.cs (1)
442child._beginTime = child._timeline.BeginTime; // Realign the clock
34 references to _beginTime
PresentationCore (34)
System\Windows\Media\Animation\Clock.cs (34)
118if (_beginTime.HasValue) 635current._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 1837if (_beginTime.HasValue) 1863Debug.Assert(_beginTime.HasValue); 1876_beginTime = previewParentTime - MultiplyTimeSpan(previewParentTime - _beginTime.Value, 1945Debug.Assert(_beginTime.HasValue); 1947Debug.Assert(parentTime >= _beginTime.Value); // We are active or in postfill 1952TimeSpan beginTimeForOffsetComputation = _currentIterationBeginTime ?? _beginTime.Value; 2257Debug.Assert(_beginTime.HasValue); 2261if (parentTime < _beginTime) // Including special backward progressing case 2522Debug.Assert(_beginTime.HasValue); // _currentIterationBeginTime.HasValue implies _beginTime.HasValue 2524previousIterationDuration = _currentIterationBeginTime.Value - _beginTime.Value; 2568if (_beginTime.HasValue 2589|| expirationTime >= _beginTime) // OR if activePeriod extends to or beyond _beginTime, 2595if (expirationTime == _beginTime) 2601activePeriod = TimeIntervalCollection.CreateClosedOpenInterval(_beginTime.Value, expirationTime.Value); 2606activePeriod = TimeIntervalCollection.CreateInfiniteClosedInterval(_beginTime.Value); 2651if (!_beginTime.HasValue) 2658Debug.Assert(_beginTime.HasValue); 2664expirationTime = _beginTime + effectiveDuration; 2730Debug.Assert(_beginTime == null); 2808TimeSpan relativeBeginTime = _currentIterationBeginTime ?? _beginTime.Value; 2835TimeSpan relativeBeginTime = _currentIterationBeginTime ?? _beginTime.Value; 2953Debug.Assert(_beginTime.HasValue); 3002Debug.Assert(_beginTime.HasValue); 3024TimeSpan timeUntilBegin = MultiplyTimeSpan(_beginTime.Value - parentTime, invertedParentSpeed); 3178if (_beginTime.HasValue && currentParentTimePT >= _beginTime.Value) 3180TimeSpan relativeBeginTimePT = _currentIterationBeginTime ?? _beginTime.Value; 3410current._currentIterationBeginTime = current._beginTime; // ...reset its current iteration as well 3990_syncClockBeginTime = _syncClock._beginTime;