2 writes to _parent
PresentationCore (2)
System\Windows\Media\Animation\Clock.cs (1)
3573
_parent
= timeManager.TimeManagerClock;
System\Windows\Media\Animation\ClockGroup.cs (1)
110
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)
335
return
_parent
;
536
current = current.
_parent
;
576
if ( clock.
_parent
!= null
619
Clock current =
_parent
; // Traverse up the parent chain and verify that no unsupported behavior is specified
636
current = current.
_parent
;
672
if (!IsTimeManager && !
_parent
.IsTimeManager &&
674
(
_parent
.InternalNextTickNeededTime.HasValue &&
_parent
.InternalNextTickNeededTime.Value < InternalNextTickNeededTime.Value)))
676
InternalNextTickNeededTime =
_parent
.InternalNextTickNeededTime;
924
_parent
.ComputeTreeStateRoot(); // Re-clip the next tick estimates by children
1374
return
_parent
;
1410
Debug.Assert(
_parent
!= null && !
_parent
.IsTimeManager);
1412
List<Clock> parentChildren =
_parent
.InternalChildren;
1938
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
1952
IsBackwardsProgressingGlobal =
_parent
.IsBackwardsProgressingGlobal;
2095
&& (_currentClockState == ClockState.Filling ||
_parent
.IsBackwardsProgressingGlobal))
2252
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
2304
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
2319
_currentGlobalSpeed = localSpeed *
_parent
._currentGlobalSpeed;
2334
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
2373
&&
_parent
._currentClockState == ClockState.Active)
2397
&&
_parent
._currentClockState == ClockState.Active)
2896
if (_syncData != null && _syncData.IsInSyncPeriod &&
_parent
.CurrentState != ClockState.Stopped) // We are already in a slip zone
2922
if (_syncData != null && !_syncData.IsInSyncPeriod &&
_parent
.CurrentState != ClockState.Stopped &&
2994
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
3112
HasSeekOccuredAfterLastTick = seekedAlignedToLastTick ||
_parent
.HasSeekOccuredAfterLastTick; // We may have a seek request pending
3114
parentTime =
_parent
._currentTime; // This is Null if parent is off; we still init the 'out' parameter
3115
parentSpeed =
_parent
._currentGlobalSpeed;
3116
parentIntervalCollection =
_parent
.CurrentIntervals;
3119
if (
_parent
._currentClockState != ClockState.Stopped) // We have a parent that is active or filling
3151
Debug.Assert(
_parent
!= null);
3152
Debug.Assert(
_parent
.CurrentState != ClockState.Stopped);
3159
Debug.Assert(_syncData.SyncClock == this || _syncData.SyncClock.
_parent
== this);
3284
Debug.Assert(
_parent
!= null);
3289
Debug.Assert(_syncData.SyncClock == this || _syncData.SyncClock.
_parent
== this);
3561
Debug.Assert(
_parent
== null);
3575
SetTimeManager(
_parent
._timeManager);
3586
_parent
.InternalRootChildren.Add(WeakReference);
3597
current._depth = current.
_parent
._depth + 1;
3632
_parent
.ComputeTreeStateRoot(); // Re-clip the next tick estimates by children
3685
Clock current =
_parent
; // Propagate the fact that we will need an update sooner up the chain
3696
current = current.
_parent
;
System\Windows\Media\Animation\ClockGroup.cs (1)
410
Debug.Assert(this.
_parent
== null && _children == null, "Cannot use a timeline connected to other timelines as a root");