2 writes to _parent
PresentationCore (2)
System\Windows\Media\Animation\Clock.cs (1)
3581_parent = timeManager.TimeManagerClock;
System\Windows\Media\Animation\ClockGroup.cs (1)
111childClock._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)
336return _parent; 537current = current._parent; 577if ( clock._parent != null 620Clock current = _parent; // Traverse up the parent chain and verify that no unsupported behavior is specified 637current = current._parent; 673if (!IsTimeManager && !_parent.IsTimeManager && 675(_parent.InternalNextTickNeededTime.HasValue && _parent.InternalNextTickNeededTime.Value < InternalNextTickNeededTime.Value))) 677InternalNextTickNeededTime = _parent.InternalNextTickNeededTime; 925_parent.ComputeTreeStateRoot(); // Re-clip the next tick estimates by children 1378return _parent; 1414Debug.Assert(_parent != null && !_parent.IsTimeManager); 1416List<Clock> parentChildren = _parent.InternalChildren; 1942Debug.Assert(_parent._currentClockState != ClockState.Stopped); 1957IsBackwardsProgressingGlobal = _parent.IsBackwardsProgressingGlobal; 2100&& (_currentClockState == ClockState.Filling || _parent.IsBackwardsProgressingGlobal)) 2257Debug.Assert(_parent._currentClockState != ClockState.Stopped); 2309Debug.Assert(_parent._currentClockState != ClockState.Stopped); 2324_currentGlobalSpeed = localSpeed * _parent._currentGlobalSpeed; 2339Debug.Assert(_parent._currentClockState != ClockState.Stopped); 2378&& _parent._currentClockState == ClockState.Active) 2402&& _parent._currentClockState == ClockState.Active) 2904if (_syncData != null && _syncData.IsInSyncPeriod && _parent.CurrentState != ClockState.Stopped) // We are already in a slip zone 2930if (_syncData != null && !_syncData.IsInSyncPeriod && _parent.CurrentState != ClockState.Stopped && 3002Debug.Assert(_parent._currentClockState != ClockState.Stopped); 3120HasSeekOccuredAfterLastTick = seekedAlignedToLastTick || _parent.HasSeekOccuredAfterLastTick; // We may have a seek request pending 3122parentTime = _parent._currentTime; // This is Null if parent is off; we still init the 'out' parameter 3123parentSpeed = _parent._currentGlobalSpeed; 3124parentIntervalCollection = _parent.CurrentIntervals; 3127if (_parent._currentClockState != ClockState.Stopped) // We have a parent that is active or filling 3159Debug.Assert(_parent != null); 3160Debug.Assert(_parent.CurrentState != ClockState.Stopped); 3167Debug.Assert(_syncData.SyncClock == this || _syncData.SyncClock._parent == this); 3292Debug.Assert(_parent != null); 3297Debug.Assert(_syncData.SyncClock == this || _syncData.SyncClock._parent == this); 3569Debug.Assert(_parent == null); 3583SetTimeManager(_parent._timeManager); 3594_parent.InternalRootChildren.Add(WeakReference); 3605current._depth = current._parent._depth + 1; 3640_parent.ComputeTreeStateRoot(); // Re-clip the next tick estimates by children 3693Clock current = _parent; // Propagate the fact that we will need an update sooner up the chain 3704current = current._parent;
System\Windows\Media\Animation\ClockGroup.cs (1)
411Debug.Assert(this._parent == null && _children == null, "Cannot use a timeline connected to other timelines as a root");