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