5 writes to _currentClockState
PresentationCore (5)
System\Windows\Media\Animation\Clock.cs (5)
129
_currentClockState
= ClockState.Stopped;
1181
_currentClockState
= ClockState.Stopped;
1300
_currentClockState
= value;
2304
_currentClockState
= ClockState.Active;
3735
_currentClockState
= ClockState.Filling;
31 references to _currentClockState
PresentationCore (31)
System\Windows\Media\Animation\Clock.cs (31)
265
return
_currentClockState
;
717
ClockState lastClockState =
_currentClockState
;
728
if (lastClockState !=
_currentClockState
)
1123
if (
_currentClockState
== ClockState.Stopped) // If our state changed to stopped
1295
return
_currentClockState
;
1955
Debug.Assert(_parent.
_currentClockState
!= ClockState.Stopped);
1956
Debug.Assert(
_currentClockState
!= ClockState.Stopped);
1976
Debug.Assert(
_currentClockState
!= ClockState.Active);
2056
if (
_currentClockState
== ClockState.Filling && repeatBehavior.HasCount && !_currentIterationBeginTime.HasValue)
2113
&& (
_currentClockState
== ClockState.Filling || _parent.IsBackwardsProgressingGlobal))
2154
if (
_currentClockState
== ClockState.Active && parentSpeed != 0 && !NeedsTicksWhenActive)
2185
Debug.Assert(
_currentClockState
== ClockState.Active
2186
|| (
_currentClockState
== ClockState.Filling
2233
if (
_currentClockState
== ClockState.Filling && expirationTime.HasValue && _currentIterationBeginTime >= expirationTime)
2270
Debug.Assert(_parent.
_currentClockState
!= ClockState.Stopped);
2308
if (parentSpeed != 0 &&
_currentClockState
== ClockState.Active && NeedsTicksWhenActive)
2322
Debug.Assert(_parent.
_currentClockState
!= ClockState.Stopped);
2323
Debug.Assert(
_currentClockState
== ClockState.Active); // Must be active at this point
2352
Debug.Assert(_parent.
_currentClockState
!= ClockState.Stopped);
2353
Debug.Assert(
_currentClockState
!= ClockState.Stopped);
2390
if (
_currentClockState
== ClockState.Active
2391
&& _parent.
_currentClockState
== ClockState.Active)
2414
if (
_currentClockState
== ClockState.Active
2415
&& _parent.
_currentClockState
== ClockState.Active)
2436
return (
_currentClockState
!= ClockState.Active); // Proceed to calculate global speed if we are active
2726
if (current.
_currentClockState
!= ClockState.Stopped)
2745
Debug.Assert(
_currentClockState
== ClockState.Stopped);
2794
if (
_currentClockState
!= ClockState.Filling)
3015
Debug.Assert(_parent.
_currentClockState
!= ClockState.Stopped);
3140
if (_parent.
_currentClockState
!= ClockState.Stopped) // We have a parent that is active or filling
3148
if (
_currentClockState
!= ClockState.Stopped)