2 writes to _parent
PresentationCore (2)
System\Windows\Media\Animation\Clock.cs (1)
3573_parent = timeManager.TimeManagerClock;
System\Windows\Media\Animation\ClockGroup.cs (1)
110childClock._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)
335return _parent; 536current = current._parent; 576if ( clock._parent != null 619Clock current = _parent; // Traverse up the parent chain and verify that no unsupported behavior is specified 636current = current._parent; 672if (!IsTimeManager && !_parent.IsTimeManager && 674(_parent.InternalNextTickNeededTime.HasValue && _parent.InternalNextTickNeededTime.Value < InternalNextTickNeededTime.Value))) 676InternalNextTickNeededTime = _parent.InternalNextTickNeededTime; 924_parent.ComputeTreeStateRoot(); // Re-clip the next tick estimates by children 1374return _parent; 1410Debug.Assert(_parent != null && !_parent.IsTimeManager); 1412List<Clock> parentChildren = _parent.InternalChildren; 1938Debug.Assert(_parent._currentClockState != ClockState.Stopped); 1952IsBackwardsProgressingGlobal = _parent.IsBackwardsProgressingGlobal; 2095&& (_currentClockState == ClockState.Filling || _parent.IsBackwardsProgressingGlobal)) 2252Debug.Assert(_parent._currentClockState != ClockState.Stopped); 2304Debug.Assert(_parent._currentClockState != ClockState.Stopped); 2319_currentGlobalSpeed = localSpeed * _parent._currentGlobalSpeed; 2334Debug.Assert(_parent._currentClockState != ClockState.Stopped); 2373&& _parent._currentClockState == ClockState.Active) 2397&& _parent._currentClockState == ClockState.Active) 2896if (_syncData != null && _syncData.IsInSyncPeriod && _parent.CurrentState != ClockState.Stopped) // We are already in a slip zone 2922if (_syncData != null && !_syncData.IsInSyncPeriod && _parent.CurrentState != ClockState.Stopped && 2994Debug.Assert(_parent._currentClockState != ClockState.Stopped); 3112HasSeekOccuredAfterLastTick = seekedAlignedToLastTick || _parent.HasSeekOccuredAfterLastTick; // We may have a seek request pending 3114parentTime = _parent._currentTime; // This is Null if parent is off; we still init the 'out' parameter 3115parentSpeed = _parent._currentGlobalSpeed; 3116parentIntervalCollection = _parent.CurrentIntervals; 3119if (_parent._currentClockState != ClockState.Stopped) // We have a parent that is active or filling 3151Debug.Assert(_parent != null); 3152Debug.Assert(_parent.CurrentState != ClockState.Stopped); 3159Debug.Assert(_syncData.SyncClock == this || _syncData.SyncClock._parent == this); 3284Debug.Assert(_parent != null); 3289Debug.Assert(_syncData.SyncClock == this || _syncData.SyncClock._parent == this); 3561Debug.Assert(_parent == null); 3575SetTimeManager(_parent._timeManager); 3586_parent.InternalRootChildren.Add(WeakReference); 3597current._depth = current._parent._depth + 1; 3632_parent.ComputeTreeStateRoot(); // Re-clip the next tick estimates by children 3685Clock current = _parent; // Propagate the fact that we will need an update sooner up the chain 3696current = current._parent;
System\Windows\Media\Animation\ClockGroup.cs (1)
410Debug.Assert(this._parent == null && _children == null, "Cannot use a timeline connected to other timelines as a root");