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