Name Description Size Coverage
crashtests -
moz.build 1632 -
SMILAnimationController.cpp 24007 95 %
SMILAnimationController.h 6590 93 %
SMILAnimationFunction.cpp 34912 94 %
SMILAnimationFunction.h Sets the owning animation element which this class uses to query attribute values and compare document positions. 16872 100 %
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. 3398 50 %
SMILBoolType.cpp 2592 88 %
SMILBoolType.h 1430 100 %
SMILCompositor.cpp static 8739 97 %
SMILCompositor.h 5108 100 %
SMILCompositorTable.h 868 -
SMILCSSProperty.cpp representation of a SMIL-animatable CSS property on an element 6986 98 %
SMILCSSProperty.h representation of a SMIL-animatable CSS property on an element 2900 100 %
SMILCSSValueType.cpp representation of a value for a SMIL-animated CSS property 19732 92 %
SMILCSSValueType.h representation of a value for a SMIL-animated CSS property 5466 -
SMILEnumType.cpp 2584 88 %
SMILEnumType.h 1430 100 %
SMILFloatType.cpp 2774 80 %
SMILFloatType.h 1437 100 %
SMILInstanceTime.cpp 5346 99 %
SMILInstanceTime.h 6474 100 %
SMILIntegerType.cpp 3169 100 %
SMILIntegerType.h 1276 100 %
SMILInterval.cpp 4731 96 %
SMILInterval.h 2599 100 %
SMILKeySpline.cpp static 3706 99 %
SMILKeySpline.h Utility class to provide scaling defined in a keySplines element. 3091 100 %
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. 2907 100 %
SMILNullType.cpp static 1843 57 %
SMILNullType.h 1488 100 %
SMILParserUtils.cpp Exactly two digits in the range 00 - 59 are expected. 18264 92 %
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. 3251 -
SMILRepeatCount.h 1678 100 %
SMILSetAnimationFunction.h 1935 100 %
SMILStringType.cpp 2966 90 %
SMILStringType.h 1444 100 %
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. 2562 100 %
SMILTimeContainer.cpp 9272 95 %
SMILTimeContainer.h Pause request types. 9860 88 %
SMILTimedElement.cpp 79477 98 %
SMILTimedElement.h Sets the owning animation element which this class uses to convert between container times and to register timebase elements. 25291 100 %
SMILTimeValue.cpp 1458 100 %
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 4598 100 %
SMILTimeValueSpec.cpp 12477 87 %
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). 4823 100 %
SMILTimeValueSpecParams.h 1801 100 %
SMILType.h Only give the SMILValue class access to this interface. 8643 100 %
SMILTypes.h 804 -
SMILValue.cpp 4061 87 %
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. 2416 100 %
test -
TimeEvent.cpp doesn't bubble 1813 72 %
TimeEvent.h 1665 55 %