2 writes to _parent
PresentationCore (2)
Core\CSharp\System\Windows\Media\Animation\Clock.cs (1)
3602
_parent
= timeManager.TimeManagerClock;
Core\CSharp\System\Windows\Media\Animation\ClockGroup.cs (1)
118
childClock.
_parent
= this; // We connect the child to the subtree before calling BuildClockSubtreeFromTimeline
44 references to _parent
PresentationCore (44)
Core\CSharp\System\Windows\Media\Animation\Clock.cs (43)
351
return
_parent
;
552
current = current.
_parent
;
592
if ( clock.
_parent
!= null
635
Clock current =
_parent
; // Traverse up the parent chain and verify that no unsupported behavior is specified
652
current = current.
_parent
;
688
if (!IsTimeManager && !
_parent
.IsTimeManager &&
690
(
_parent
.InternalNextTickNeededTime.HasValue &&
_parent
.InternalNextTickNeededTime.Value < InternalNextTickNeededTime.Value)))
692
InternalNextTickNeededTime =
_parent
.InternalNextTickNeededTime;
941
_parent
.ComputeTreeStateRoot(); // Re-clip the next tick estimates by children
1394
return
_parent
;
1430
Debug.Assert(
_parent
!= null && !
_parent
.IsTimeManager);
1432
List<Clock> parentChildren =
_parent
.InternalChildren;
1958
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
1973
IsBackwardsProgressingGlobal =
_parent
.IsBackwardsProgressingGlobal;
2116
&& (_currentClockState == ClockState.Filling ||
_parent
.IsBackwardsProgressingGlobal))
2273
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
2325
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
2340
_currentGlobalSpeed = localSpeed *
_parent
._currentGlobalSpeed;
2355
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
2394
&&
_parent
._currentClockState == ClockState.Active)
2418
&&
_parent
._currentClockState == ClockState.Active)
2919
if (_syncData != null && _syncData.IsInSyncPeriod &&
_parent
.CurrentState != ClockState.Stopped) // We are already in a slip zone
2945
if (_syncData != null && !_syncData.IsInSyncPeriod &&
_parent
.CurrentState != ClockState.Stopped &&
3017
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
3138
HasSeekOccuredAfterLastTick = seekedAlignedToLastTick ||
_parent
.HasSeekOccuredAfterLastTick; // We may have a seek request pending
3140
parentTime =
_parent
._currentTime; // This is Null if parent is off; we still init the 'out' parameter
3141
parentSpeed =
_parent
._currentGlobalSpeed;
3142
parentIntervalCollection =
_parent
.CurrentIntervals;
3145
if (
_parent
._currentClockState != ClockState.Stopped) // We have a parent that is active or filling
3177
Debug.Assert(
_parent
!= null);
3178
Debug.Assert(
_parent
.CurrentState != ClockState.Stopped);
3185
Debug.Assert(_syncData.SyncClock == this || _syncData.SyncClock.
_parent
== this);
3311
Debug.Assert(
_parent
!= null);
3316
Debug.Assert(_syncData.SyncClock == this || _syncData.SyncClock.
_parent
== this);
3590
Debug.Assert(
_parent
== null);
3604
SetTimeManager(
_parent
._timeManager);
3615
_parent
.InternalRootChildren.Add(WeakReference);
3626
current._depth = current.
_parent
._depth + 1;
3661
_parent
.ComputeTreeStateRoot(); // Re-clip the next tick estimates by children
3714
Clock current =
_parent
; // Propagate the fact that we will need an update sooner up the chain
3725
current = current.
_parent
;
Core\CSharp\System\Windows\Media\Animation\ClockGroup.cs (1)
418
Debug.Assert(this.
_parent
== null && _children == null, "Cannot use a timeline connected to other timelines as a root");