2 writes to _parent
PresentationCore (2)
System\Windows\Media\Animation\Clock.cs (1)
3580
_parent
= timeManager.TimeManagerClock;
System\Windows\Media\Animation\ClockGroup.cs (1)
111
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)
336
return
_parent
;
537
current = current.
_parent
;
577
if ( clock.
_parent
!= null
620
Clock current =
_parent
; // Traverse up the parent chain and verify that no unsupported behavior is specified
637
current = current.
_parent
;
673
if (!IsTimeManager && !
_parent
.IsTimeManager &&
675
(
_parent
.InternalNextTickNeededTime.HasValue &&
_parent
.InternalNextTickNeededTime.Value < InternalNextTickNeededTime.Value)))
677
InternalNextTickNeededTime =
_parent
.InternalNextTickNeededTime;
925
_parent
.ComputeTreeStateRoot(); // Re-clip the next tick estimates by children
1378
return
_parent
;
1414
Debug.Assert(
_parent
!= null && !
_parent
.IsTimeManager);
1416
List<Clock> parentChildren =
_parent
.InternalChildren;
1942
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
1956
IsBackwardsProgressingGlobal =
_parent
.IsBackwardsProgressingGlobal;
2099
&& (_currentClockState == ClockState.Filling ||
_parent
.IsBackwardsProgressingGlobal))
2256
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
2308
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
2323
_currentGlobalSpeed = localSpeed *
_parent
._currentGlobalSpeed;
2338
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
2377
&&
_parent
._currentClockState == ClockState.Active)
2401
&&
_parent
._currentClockState == ClockState.Active)
2903
if (_syncData != null && _syncData.IsInSyncPeriod &&
_parent
.CurrentState != ClockState.Stopped) // We are already in a slip zone
2929
if (_syncData != null && !_syncData.IsInSyncPeriod &&
_parent
.CurrentState != ClockState.Stopped &&
3001
Debug.Assert(
_parent
._currentClockState != ClockState.Stopped);
3119
HasSeekOccuredAfterLastTick = seekedAlignedToLastTick ||
_parent
.HasSeekOccuredAfterLastTick; // We may have a seek request pending
3121
parentTime =
_parent
._currentTime; // This is Null if parent is off; we still init the 'out' parameter
3122
parentSpeed =
_parent
._currentGlobalSpeed;
3123
parentIntervalCollection =
_parent
.CurrentIntervals;
3126
if (
_parent
._currentClockState != ClockState.Stopped) // We have a parent that is active or filling
3158
Debug.Assert(
_parent
!= null);
3159
Debug.Assert(
_parent
.CurrentState != ClockState.Stopped);
3166
Debug.Assert(_syncData.SyncClock == this || _syncData.SyncClock.
_parent
== this);
3291
Debug.Assert(
_parent
!= null);
3296
Debug.Assert(_syncData.SyncClock == this || _syncData.SyncClock.
_parent
== this);
3568
Debug.Assert(
_parent
== null);
3582
SetTimeManager(
_parent
._timeManager);
3593
_parent
.InternalRootChildren.Add(WeakReference);
3604
current._depth = current.
_parent
._depth + 1;
3639
_parent
.ComputeTreeStateRoot(); // Re-clip the next tick estimates by children
3692
Clock current =
_parent
; // Propagate the fact that we will need an update sooner up the chain
3703
current = current.
_parent
;
System\Windows\Media\Animation\ClockGroup.cs (1)
411
Debug.Assert(this.
_parent
== null && _children == null, "Cannot use a timeline connected to other timelines as a root");