12 writes to _beginTime
PresentationCore (12)
System\Windows\Media\Animation\Clock.cs (11)
85_beginTime = _timeline.BeginTime; 887_beginTime = CurrentGlobalTime - DivideTimeSpan(destination, _appliedSpeedRatio); 1794_beginTime = CurrentGlobalTime - DivideTimeSpan(_rootData.PendingSeekDestination.Value, _appliedSpeedRatio); 1820_beginTime = CurrentGlobalTime + _timeline.BeginTime; 1839_beginTime += _timeManager.LastTickDelta; 1875_beginTime = previewParentTime - MultiplyTimeSpan(previewParentTime - _beginTime.Value, 2695_beginTime = null; 3260_beginTime += timeIntoSyncPeriodPT; 3374_beginTime += parentTimeSlipPT; 3402current._beginTime = current._timeline.BeginTime; // _beginTime could have slipped with media nodes 3625_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; 1797_currentIterationBeginTime = _beginTime; // We relied on a combination of _currentIterationBeginTime and _currentIteration for our state 1823_currentIterationBeginTime = _beginTime; // We should be just starting our first iteration now 1836if (_beginTime.HasValue) 1862Debug.Assert(_beginTime.HasValue); 1875_beginTime = previewParentTime - MultiplyTimeSpan(previewParentTime - _beginTime.Value, 1944Debug.Assert(_beginTime.HasValue); 1946Debug.Assert(parentTime >= _beginTime.Value); // We are active or in postfill 1951TimeSpan beginTimeForOffsetComputation = _currentIterationBeginTime ?? _beginTime.Value; 2256Debug.Assert(_beginTime.HasValue); 2260if (parentTime < _beginTime) // Including special backward progressing case 2521Debug.Assert(_beginTime.HasValue); // _currentIterationBeginTime.HasValue implies _beginTime.HasValue 2523previousIterationDuration = _currentIterationBeginTime.Value - _beginTime.Value; 2567if (_beginTime.HasValue 2588|| expirationTime >= _beginTime) // OR if activePeriod extends to or beyond _beginTime, 2594if (expirationTime == _beginTime) 2600activePeriod = TimeIntervalCollection.CreateClosedOpenInterval(_beginTime.Value, expirationTime.Value); 2605activePeriod = TimeIntervalCollection.CreateInfiniteClosedInterval(_beginTime.Value); 2650if (!_beginTime.HasValue) 2657Debug.Assert(_beginTime.HasValue); 2663expirationTime = _beginTime + effectiveDuration; 2729Debug.Assert(_beginTime == null); 2807TimeSpan relativeBeginTime = _currentIterationBeginTime ?? _beginTime.Value; 2834TimeSpan relativeBeginTime = _currentIterationBeginTime ?? _beginTime.Value; 2952Debug.Assert(_beginTime.HasValue); 3001Debug.Assert(_beginTime.HasValue); 3023TimeSpan timeUntilBegin = MultiplyTimeSpan(_beginTime.Value - parentTime, invertedParentSpeed); 3177if (_beginTime.HasValue && currentParentTimePT >= _beginTime.Value) 3179TimeSpan relativeBeginTimePT = _currentIterationBeginTime ?? _beginTime.Value; 3409current._currentIterationBeginTime = current._beginTime; // ...reset its current iteration as well 3989_syncClockBeginTime = _syncClock._beginTime;