2 writes to _parent
PresentationCore (2)
System\Windows\Media\Animation\Clock.cs (1)
3594
_parent
= timeManager.TimeManagerClock;
System\Windows\Media\Animation\ClockGroup.cs (1)
116
childClock.
_parent
= this; // We connect the child to the subtree before calling BuildClockSubtreeFromTimeline
44 references to _parent
PresentationCore (44)
System\Windows\Media\Animation\Clock.cs (43)
349
return
_parent
;
550
current = current.
_parent
;
590
if ( clock.
_parent
!= null
633
Clock current =
_parent
; // Traverse up the parent chain and verify that no unsupported behavior is specified
650
current = current.
_parent
;
686
if (!IsTimeManager && !
_parent
.IsTimeManager &&
688
(
_parent
.InternalNextTickNeededTime.HasValue &&
_parent
.InternalNextTickNeededTime.Value < InternalNextTickNeededTime.Value)))
690
InternalNextTickNeededTime =
_parent
.InternalNextTickNeededTime;
938
_parent
.ComputeTreeStateRoot(); // Re-clip the next tick estimates by children
1391
return
_parent
;
1427
Debug.Assert(
_parent
!= null && !
_parent
.IsTimeManager);
1429
List<Clock> parentChildren =
_parent
.InternalChildren;
1955
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
1970
IsBackwardsProgressingGlobal =
_parent
.IsBackwardsProgressingGlobal;
2113
&& (_currentClockState == ClockState.Filling ||
_parent
.IsBackwardsProgressingGlobal))
2270
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
2322
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
2337
_currentGlobalSpeed = localSpeed *
_parent
._currentGlobalSpeed;
2352
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
2391
&&
_parent
._currentClockState == ClockState.Active)
2415
&&
_parent
._currentClockState == ClockState.Active)
2917
if (_syncData != null && _syncData.IsInSyncPeriod &&
_parent
.CurrentState != ClockState.Stopped) // We are already in a slip zone
2943
if (_syncData != null && !_syncData.IsInSyncPeriod &&
_parent
.CurrentState != ClockState.Stopped &&
3015
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
3133
HasSeekOccuredAfterLastTick = seekedAlignedToLastTick ||
_parent
.HasSeekOccuredAfterLastTick; // We may have a seek request pending
3135
parentTime =
_parent
._currentTime; // This is Null if parent is off; we still init the 'out' parameter
3136
parentSpeed =
_parent
._currentGlobalSpeed;
3137
parentIntervalCollection =
_parent
.CurrentIntervals;
3140
if (
_parent
._currentClockState != ClockState.Stopped) // We have a parent that is active or filling
3172
Debug.Assert(
_parent
!= null);
3173
Debug.Assert(
_parent
.CurrentState != ClockState.Stopped);
3180
Debug.Assert(_syncData.SyncClock == this || _syncData.SyncClock.
_parent
== this);
3305
Debug.Assert(
_parent
!= null);
3310
Debug.Assert(_syncData.SyncClock == this || _syncData.SyncClock.
_parent
== this);
3582
Debug.Assert(
_parent
== null);
3596
SetTimeManager(
_parent
._timeManager);
3607
_parent
.InternalRootChildren.Add(WeakReference);
3618
current._depth = current.
_parent
._depth + 1;
3653
_parent
.ComputeTreeStateRoot(); // Re-clip the next tick estimates by children
3706
Clock current =
_parent
; // Propagate the fact that we will need an update sooner up the chain
3717
current = current.
_parent
;
System\Windows\Media\Animation\ClockGroup.cs (1)
416
Debug.Assert(this.
_parent
== null && _children == null, "Cannot use a timeline connected to other timelines as a root");