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;
3417
current.
_beginTime
= current._timeline.BeginTime; // _beginTime could have slipped with media nodes
3640
_beginTime
= null;
System\Windows\Media\Animation\ClockGroup.cs (1)
447
child.
_beginTime
= child._timeline.BeginTime; // Realign the clock
34 references to _beginTime
PresentationCore (34)
System\Windows\Media\Animation\Clock.cs (34)
131
if (
_beginTime
.HasValue)
648
current._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
1850
if (
_beginTime
.HasValue)
1876
Debug.Assert(
_beginTime
.HasValue);
1889
_beginTime = previewParentTime - MultiplyTimeSpan(previewParentTime -
_beginTime
.Value,
1958
Debug.Assert(
_beginTime
.HasValue);
1960
Debug.Assert(parentTime >=
_beginTime
.Value); // We are active or in postfill
1966
:
_beginTime
.Value;
2271
Debug.Assert(
_beginTime
.HasValue);
2275
if (parentTime <
_beginTime
) // Including special backward progressing case
2536
Debug.Assert(
_beginTime
.HasValue); // _currentIterationBeginTime.HasValue implies _beginTime.HasValue
2538
previousIterationDuration = _currentIterationBeginTime.Value -
_beginTime
.Value;
2582
if (
_beginTime
.HasValue
2603
|| expirationTime >=
_beginTime
) // OR if activePeriod extends to or beyond _beginTime,
2609
if (expirationTime ==
_beginTime
)
2615
activePeriod = TimeIntervalCollection.CreateClosedOpenInterval(
_beginTime
.Value, expirationTime.Value);
2620
activePeriod = TimeIntervalCollection.CreateInfiniteClosedInterval(
_beginTime
.Value);
2665
if (!
_beginTime
.HasValue)
2672
Debug.Assert(
_beginTime
.HasValue);
2678
expirationTime =
_beginTime
+ effectiveDuration;
2744
Debug.Assert(
_beginTime
== null);
2822
TimeSpan relativeBeginTime = _currentIterationBeginTime.HasValue ? _currentIterationBeginTime.Value :
_beginTime
.Value;
2849
TimeSpan relativeBeginTime = _currentIterationBeginTime.HasValue ? _currentIterationBeginTime.Value :
_beginTime
.Value;
2967
Debug.Assert(
_beginTime
.HasValue);
3016
Debug.Assert(
_beginTime
.HasValue);
3038
TimeSpan timeUntilBegin = MultiplyTimeSpan(
_beginTime
.Value - parentTime, invertedParentSpeed);
3192
if (
_beginTime
.HasValue && currentParentTimePT >=
_beginTime
.Value)
3194
TimeSpan relativeBeginTimePT = _currentIterationBeginTime.HasValue ? _currentIterationBeginTime.Value :
_beginTime
.Value;
3424
current._currentIterationBeginTime = current.
_beginTime
; // ...reset its current iteration as well
4012
_syncClockBeginTime = _syncClock.
_beginTime
;