Animation.cpp |
static |
67720 |
Animation.h |
Utility function to get the target (pseudo-)element associated with an
animation.
|
22584 |
AnimationComparator.h |
|
1023 |
AnimationEffect.cpp |
|
13870 |
AnimationEffect.h |
Returns true if this effect animates one of the properties we consider
geometric properties, e.g. properties such as 'width' or 'margin-left'
that we try to synchronize with transform animations, on a valid target
element.
|
4122 |
AnimationEventDispatcher.cpp |
|
8875 |
AnimationEventDispatcher.h |
|
11590 |
AnimationPerformanceWarning.cpp |
|
2713 |
AnimationPerformanceWarning.h |
|
2738 |
AnimationPropertySegment.h |
|
2036 |
AnimationTarget.h |
|
4073 |
AnimationTimeline.cpp |
|
4124 |
AnimationTimeline.h |
Returns true if the times returned by GetCurrentTimeAsDuration() are
convertible to and from wallclock-based TimeStamp (e.g. from
TimeStamp::Now()) values using ToTimelineTime() and ToTimeStamp().
Typically this is true, but it will be false in the case when this
timeline has no refresh driver or is tied to a refresh driver under test
control.
|
5482 |
AnimationUtils.cpp |
static |
3963 |
AnimationUtils.h |
Get the document from the JS context to use when parsing CSS properties.
|
4806 |
ComputedTiming.h |
Stores the results of calculating the timing properties of an animation
at a given sample time.
|
2676 |
CSSAnimation.cpp |
|
13315 |
CSSAnimation.h |
|
9485 |
CSSPseudoElement.cpp |
static |
3019 |
CSSPseudoElement.h |
|
2732 |
CSSTransition.cpp |
|
14949 |
CSSTransition.h |
|
9938 |
DocumentTimeline.cpp |
static |
7727 |
DocumentTimeline.h |
|
2724 |
EffectCompositor.cpp |
static |
34251 |
EffectCompositor.h |
|
10971 |
EffectSet.cpp |
static |
4068 |
EffectSet.h |
|
9202 |
ElementAnimationData.cpp |
|
4146 |
ElementAnimationData.h |
|
9794 |
Keyframe.h |
A property-value pair specified on a keyframe.
|
2982 |
KeyframeEffect.cpp |
|
73487 |
KeyframeEffect.h |
|
22530 |
KeyframeEffectParams.h |
|
1358 |
KeyframeUtils.cpp |
A property-values pair obtained from the open-ended properties
discovered on a regular keyframe or property-indexed keyframe object.
Single values (as required by a regular keyframe, and as also supported
on property-indexed keyframes) are stored as the only element in
mValues.
|
45561 |
KeyframeUtils.h |
Utility methods for processing keyframes.
|
4081 |
moz.build |
|
1949 |
PostRestyleMode.h |
|
528 |
PseudoElementHashEntry.h |
|
1863 |
ScrollTimeline.cpp |
static |
11140 |
ScrollTimeline.h |
Implementation notes
--------------------
ScrollTimelines do not observe refreshes the way DocumentTimelines do.
This is because the refresh driver keeps ticking while it has registered
refresh observers. For a DocumentTimeline, it's appropriate to keep the
refresh driver ticking as long as there are active animations, since the
animations need to be sampled on every frame. Scroll-linked animations,
however, only need to be sampled when scrolling has occurred, so keeping
the refresh driver ticking is wasteful.
As a result, we schedule an animation restyle when
1) there are any scroll offsets updated (from APZ or script), via
ScrollContainerFrame, or
2) there are any possible scroll range updated during the frame reflow.
-------------
| Animation |
-------------
^
| Call Animation::Tick() if there are any scroll updates.
|
------------------
| ScrollTimeline |
------------------
^
| Try schedule the scroll-driven animations, if there are any scroll
| offsets changed or the scroll range changed [1].
|
------------------------
| ScrollContainerFrame |
------------------------
[1] ScrollContainerFrame uses its associated dom::Element to lookup the
ScrollTimelineSet, and iterates the set to schedule the animations
linked to the ScrollTimelines.
|
10719 |
ScrollTimelineAnimationTracker.cpp |
|
2056 |
ScrollTimelineAnimationTracker.h |
Handle the pending animations which use scroll timeline while playing or
pausing.
|
1664 |
test |
|
|
TimingParams.cpp |
static |
10019 |
TimingParams.h |
|
9796 |
ViewTimeline.cpp |
static |
7788 |
ViewTimeline.h |
A view progress timeline is a segment of a scroll progress timeline that are
scoped to the scroll positions in which any part of the associated element’s
principal box intersects its nearest ancestor scrollport. So ViewTimeline
is a special case of ScrollTimeline.
|
3598 |