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, 2697_beginTime = null; 3262_beginTime += timeIntoSyncPeriodPT; 3376_beginTime += parentTimeSlipPT; 3404current._beginTime = current._timeline.BeginTime; // _beginTime could have slipped with media nodes 3627_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 1953: _beginTime.Value; 2258Debug.Assert(_beginTime.HasValue); 2262if (parentTime < _beginTime) // Including special backward progressing case 2523Debug.Assert(_beginTime.HasValue); // _currentIterationBeginTime.HasValue implies _beginTime.HasValue 2525previousIterationDuration = _currentIterationBeginTime.Value - _beginTime.Value; 2569if (_beginTime.HasValue 2590|| expirationTime >= _beginTime) // OR if activePeriod extends to or beyond _beginTime, 2596if (expirationTime == _beginTime) 2602activePeriod = TimeIntervalCollection.CreateClosedOpenInterval(_beginTime.Value, expirationTime.Value); 2607activePeriod = TimeIntervalCollection.CreateInfiniteClosedInterval(_beginTime.Value); 2652if (!_beginTime.HasValue) 2659Debug.Assert(_beginTime.HasValue); 2665expirationTime = _beginTime + effectiveDuration; 2731Debug.Assert(_beginTime == null); 2809TimeSpan relativeBeginTime = _currentIterationBeginTime.HasValue ? _currentIterationBeginTime.Value : _beginTime.Value; 2836TimeSpan relativeBeginTime = _currentIterationBeginTime.HasValue ? _currentIterationBeginTime.Value : _beginTime.Value; 2954Debug.Assert(_beginTime.HasValue); 3003Debug.Assert(_beginTime.HasValue); 3025TimeSpan timeUntilBegin = MultiplyTimeSpan(_beginTime.Value - parentTime, invertedParentSpeed); 3179if (_beginTime.HasValue && currentParentTimePT >= _beginTime.Value) 3181TimeSpan relativeBeginTimePT = _currentIterationBeginTime.HasValue ? _currentIterationBeginTime.Value : _beginTime.Value; 3411current._currentIterationBeginTime = current._beginTime; // ...reset its current iteration as well 3999_syncClockBeginTime = _syncClock._beginTime;