2 writes to _parent
PresentationCore (2)
System\Windows\Media\Animation\Clock.cs (1)
3579
_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
1377
return
_parent
;
1413
Debug.Assert(
_parent
!= null && !
_parent
.IsTimeManager);
1415
List<Clock> parentChildren =
_parent
.InternalChildren;
1941
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
1955
IsBackwardsProgressingGlobal =
_parent
.IsBackwardsProgressingGlobal;
2098
&& (_currentClockState == ClockState.Filling ||
_parent
.IsBackwardsProgressingGlobal))
2255
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
2307
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
2322
_currentGlobalSpeed = localSpeed *
_parent
._currentGlobalSpeed;
2337
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
2376
&&
_parent
._currentClockState == ClockState.Active)
2400
&&
_parent
._currentClockState == ClockState.Active)
2902
if (_syncData != null && _syncData.IsInSyncPeriod &&
_parent
.CurrentState != ClockState.Stopped) // We are already in a slip zone
2928
if (_syncData != null && !_syncData.IsInSyncPeriod &&
_parent
.CurrentState != ClockState.Stopped &&
3000
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
3118
HasSeekOccuredAfterLastTick = seekedAlignedToLastTick ||
_parent
.HasSeekOccuredAfterLastTick; // We may have a seek request pending
3120
parentTime =
_parent
._currentTime; // This is Null if parent is off; we still init the 'out' parameter
3121
parentSpeed =
_parent
._currentGlobalSpeed;
3122
parentIntervalCollection =
_parent
.CurrentIntervals;
3125
if (
_parent
._currentClockState != ClockState.Stopped) // We have a parent that is active or filling
3157
Debug.Assert(
_parent
!= null);
3158
Debug.Assert(
_parent
.CurrentState != ClockState.Stopped);
3165
Debug.Assert(_syncData.SyncClock == this || _syncData.SyncClock.
_parent
== this);
3290
Debug.Assert(
_parent
!= null);
3295
Debug.Assert(_syncData.SyncClock == this || _syncData.SyncClock.
_parent
== this);
3567
Debug.Assert(
_parent
== null);
3581
SetTimeManager(
_parent
._timeManager);
3592
_parent
.InternalRootChildren.Add(WeakReference);
3603
current._depth = current.
_parent
._depth + 1;
3638
_parent
.ComputeTreeStateRoot(); // Re-clip the next tick estimates by children
3691
Clock current =
_parent
; // Propagate the fact that we will need an update sooner up the chain
3702
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");