crashtests |
|
|
moz.build |
|
1784 |
SMILAnimationController.cpp |
|
25332 |
SMILAnimationController.h |
|
7349 |
SMILAnimationFunction.cpp |
|
35176 |
SMILAnimationFunction.h |
Sets the owning animation element which this class uses to query attribute
values and compare document positions.
|
16421 |
SMILAttr.h |
Creates a new SMILValue for this attribute from a string. The string is
parsed in the context of this attribute so that context-dependent values
such as em-based units can be resolved into a canonical form suitable for
animation (including interpolation etc.).
@param aStr A string defining the new value to be created.
@param aSrcElement The source animation element. This may be needed to
provided additional context data such as for
animateTransform where the 'type' attribute is needed to
parse the value.
@param[out] aValue Outparam for storing the parsed value.
@param[out] aPreventCachingOfSandwich
Outparam to indicate whether the attribute contains
dependencies on its context that should prevent the
result of the animation sandwich from being cached and
reused in future samples.
@return NS_OK on success or an error code if creation failed.
|
3519 |
SMILBoolType.cpp |
|
2721 |
SMILBoolType.h |
|
1573 |
SMILCompositor.cpp |
static |
8809 |
SMILCompositor.h |
|
5273 |
SMILCompositorTable.h |
|
989 |
SMILCSSProperty.cpp |
representation of a SMIL-animatable CSS property on an element |
7103 |
SMILCSSProperty.h |
representation of a SMIL-animatable CSS property on an element |
3025 |
SMILCSSValueType.cpp |
representation of a value for a SMIL-animated CSS property |
19758 |
SMILCSSValueType.h |
representation of a value for a SMIL-animated CSS property |
5567 |
SMILEnumType.cpp |
|
2713 |
SMILEnumType.h |
|
1573 |
SMILFloatType.cpp |
|
2881 |
SMILFloatType.h |
|
1580 |
SMILInstanceTime.cpp |
|
5591 |
SMILInstanceTime.h |
|
6731 |
SMILIntegerType.cpp |
|
3276 |
SMILIntegerType.h |
|
1419 |
SMILInterval.cpp |
|
4852 |
SMILInterval.h |
|
2720 |
SMILKeySpline.cpp |
static |
3909 |
SMILKeySpline.h |
Utility class to provide scaling defined in a keySplines element.
|
3194 |
SMILMilestone.h |
A significant moment in an SMILTimedElement's lifetime where a sample is
required.
Animations register the next milestone in their lifetime with the time
container that they belong to. When the animation controller goes to run
a sample it first visits all the animations that have a registered milestone
in order of their milestone times. This allows interdependencies between
animations to be correctly resolved and events to fire in the proper order.
A distinction is made between a milestone representing the end of an interval
and any other milestone. This is because if animation A ends at time t, and
animation B begins at the same time t (or has some other significant moment
such as firing a repeat event), SMIL's endpoint-exclusive timing model
implies that the interval end occurs first. In fact, interval ends can be
thought of as ending an infinitesimally small time before t. Therefore,
A should be sampled before B.
Furthermore, this distinction between sampling the end of an interval and
a regular sample is used within the timing model (specifically in
SMILTimedElement) to ensure that all intervals ending at time t are sampled
before any new intervals are entered so that we have a fully up-to-date set
of instance times available before committing to a new interval. Once an
interval is entered, the begin time is fixed.
|
3028 |
SMILNullType.cpp |
static |
1964 |
SMILNullType.h |
|
1631 |
SMILParserUtils.cpp |
Exactly two digits in the range 00 - 59 are expected.
|
18332 |
SMILParserUtils.h |
Common parsing utilities for the SMIL module. There is little re-use here; it
simply serves to simplify other classes by moving parsing outside and to aid
unit testing.
|
3372 |
SMILRepeatCount.cpp |
static |
521 |
SMILRepeatCount.h |
|
1819 |
SMILSetAnimationFunction.cpp |
|
1085 |
SMILSetAnimationFunction.h |
|
1460 |
SMILStringType.cpp |
|
3077 |
SMILStringType.h |
|
1587 |
SMILTargetIdentifier.h |
Struct: SMILTargetIdentifier
Tuple of: { Animated Element, Attribute Name }
Used in SMILAnimationController as hash key for mapping an animation
target to the SMILCompositor for that target.
NOTE: Need a nsRefPtr for the element & attribute name, because
SMILAnimationController retain its hash table for one sample into the
future, and we need to make sure their target isn't deleted in that time.
|
2683 |
SMILTimeContainer.cpp |
|
9473 |
SMILTimeContainer.h |
Pause request types.
|
9623 |
SMILTimedElement.cpp |
|
79838 |
SMILTimedElement.h |
Sets the owning animation element which this class uses to convert between
container times and to register timebase elements.
|
24780 |
SMILTimeValue.cpp |
|
1571 |
SMILTimeValue.h |
----------------------------------------------------------------------
SMILTimeValue class
A tri-state time value.
First a quick overview of the SMIL time data types:
SMILTime -- a timestamp in milliseconds.
SMILTimeValue -- (this class) a timestamp that can take the additional
states 'indefinite' and 'unresolved'
SMILInstanceTime -- an SMILTimeValue used for constructing intervals. It
contains additional fields to govern reset behavior
and track timing dependencies (e.g. syncbase timing).
SMILInterval -- a pair of SMILInstanceTimes that defines a begin and
an end time for animation.
SMILTimeValueSpec -- a component of a begin or end attribute, such as the
'5s' or 'a.end+2m' in begin="5s; a.end+2m". Acts as
a broker between an SMILTimedElement and its
SMILInstanceTimes by generating new instance times
and handling changes to existing times.
Objects of this class may be in one of three states:
1) The time is resolved and has a definite millisecond value
2) The time is resolved and indefinite
3) The time is unresolved
In summary:
State | GetMillis | IsDefinite | IsIndefinite | IsResolved
-----------+---------------+------------+--------------+------------
Definite | SMILTimeValue | true | false | true
-----------+---------------+------------+--------------+------------
Indefinite | -- | false | true | true
-----------+---------------+------------+--------------+------------
Unresolved | -- | false | false | false
|
4704 |
SMILTimeValueSpec.cpp |
|
12447 |
SMILTimeValueSpec.h |
If our SMILTimeValueSpec exists for a 'begin' or 'end' attribute with a
value that specifies a time that is relative to the animation of some
other element, it will create an instance of this class to reference and
track that other element. For example, if the SMILTimeValueSpec is for
end='a.end+2s', an instance of this class will be created to track the
element associated with the element ID "a". This class will notify the
SMILTimeValueSpec if the element that that ID identifies changes to a
different element (or none).
|
4976 |
SMILTimeValueSpecParams.h |
|
1902 |
SMILType.h |
Only give the SMILValue class access to this interface.
|
8786 |
SMILTypes.h |
|
925 |
SMILValue.cpp |
|
4178 |
SMILValue.h |
Although objects of this type are generally only created on the stack and
only exist during the taking of a new time sample, that's not always the
case. The SMILValue objects obtained from attributes' base values are
cached so that the SMIL engine can make certain optimizations during a
sample if the base value has not changed since the last sample (potentially
avoiding recomposing). These SMILValue objects typically live much longer
than a single sample.
|
2532 |
test |
|
|
TimeEvent.cpp |
doesn't bubble |
1933 |
TimeEvent.h |
|
1786 |