webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | List of all members
WebCore::Animation Class Reference

#include <Animation.h>

Inheritance diagram for WebCore::Animation:
WTF::RefCounted< Animation > WTF::RefCounted< Animation > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Types

enum  AnimationMode {
  AnimateAll, AnimateNone, AnimateSingleProperty, AnimateAll,
  AnimateNone, AnimateSingleProperty
}
 
enum  AnimationDirection {
  AnimationDirectionNormal, AnimationDirectionAlternate, AnimationDirectionReverse, AnimationDirectionAlternateReverse,
  AnimationDirectionNormal, AnimationDirectionAlternate, AnimationDirectionReverse, AnimationDirectionAlternateReverse
}
 
enum  { IterationCountInfinite = -1 }
 
enum  AnimationMode {
  AnimateAll, AnimateNone, AnimateSingleProperty, AnimateAll,
  AnimateNone, AnimateSingleProperty
}
 
enum  AnimationDirection {
  AnimationDirectionNormal, AnimationDirectionAlternate, AnimationDirectionReverse, AnimationDirectionAlternateReverse,
  AnimationDirectionNormal, AnimationDirectionAlternate, AnimationDirectionReverse, AnimationDirectionAlternateReverse
}
 
enum  { IterationCountInfinite = -1 }
 

Public Member Functions

WEBCORE_EXPORT ~Animation ()
 
bool isDelaySet () const
 
bool isDirectionSet () const
 
bool isDurationSet () const
 
bool isFillModeSet () const
 
bool isIterationCountSet () const
 
bool isNameSet () const
 
bool isPlayStateSet () const
 
bool isPropertySet () const
 
bool isTimingFunctionSet () const
 
bool isNoneAnimation () const
 
bool isValidAnimation () const
 
bool isEmpty () const
 
bool isEmptyOrZeroDuration () const
 
void clearDelay ()
 
void clearDirection ()
 
void clearDuration ()
 
void clearFillMode ()
 
void clearIterationCount ()
 
void clearName ()
 
void clearPlayState ()
 
void clearProperty ()
 
void clearTimingFunction ()
 
void clearAll ()
 
double delay () const
 
AnimationDirection direction () const
 
bool directionIsForwards () const
 
unsigned fillMode () const
 
double duration () const
 
double iterationCount () const
 
const Stringname () const
 
Style::ScopeOrdinal nameStyleScopeOrdinal () const
 
EAnimPlayState playState () const
 
CSSPropertyID property () const
 
TimingFunctiontimingFunction () const
 
AnimationMode animationMode () const
 
void setDelay (double c)
 
void setDirection (AnimationDirection d)
 
void setDuration (double d)
 
void setFillMode (unsigned f)
 
void setIterationCount (double c)
 
void setName (const String &name, Style::ScopeOrdinal scope=Style::ScopeOrdinal::Element)
 
void setPlayState (EAnimPlayState d)
 
void setProperty (CSSPropertyID t)
 
void setTimingFunction (RefPtr< TimingFunction > &&function)
 
void setAnimationMode (AnimationMode mode)
 
void setIsNoneAnimation (bool n)
 
Animationoperator= (const Animation &o)
 
bool animationsMatch (const Animation &, bool matchPlayStates=true) const
 
bool operator== (const Animation &o) const
 
bool operator!= (const Animation &o) const
 
bool fillsBackwards () const
 
bool fillsForwards () const
 
WEBCORE_EXPORT ~Animation ()
 
bool isDelaySet () const
 
bool isDirectionSet () const
 
bool isDurationSet () const
 
bool isFillModeSet () const
 
bool isIterationCountSet () const
 
bool isNameSet () const
 
bool isPlayStateSet () const
 
bool isPropertySet () const
 
bool isTimingFunctionSet () const
 
bool isNoneAnimation () const
 
bool isValidAnimation () const
 
bool isEmpty () const
 
bool isEmptyOrZeroDuration () const
 
void clearDelay ()
 
void clearDirection ()
 
void clearDuration ()
 
void clearFillMode ()
 
void clearIterationCount ()
 
void clearName ()
 
void clearPlayState ()
 
void clearProperty ()
 
void clearTimingFunction ()
 
void clearAll ()
 
double delay () const
 
AnimationDirection direction () const
 
bool directionIsForwards () const
 
unsigned fillMode () const
 
double duration () const
 
double iterationCount () const
 
const Stringname () const
 
Style::ScopeOrdinal nameStyleScopeOrdinal () const
 
EAnimPlayState playState () const
 
CSSPropertyID property () const
 
TimingFunctiontimingFunction () const
 
AnimationMode animationMode () const
 
void setDelay (double c)
 
void setDirection (AnimationDirection d)
 
void setDuration (double d)
 
void setFillMode (unsigned f)
 
void setIterationCount (double c)
 
void setName (const String &name, Style::ScopeOrdinal scope=Style::ScopeOrdinal::Element)
 
void setPlayState (EAnimPlayState d)
 
void setProperty (CSSPropertyID t)
 
void setTimingFunction (RefPtr< TimingFunction > &&function)
 
void setAnimationMode (AnimationMode mode)
 
void setIsNoneAnimation (bool n)
 
Animationoperator= (const Animation &o)
 
bool animationsMatch (const Animation &, bool matchPlayStates=true) const
 
bool operator== (const Animation &o) const
 
bool operator!= (const Animation &o) const
 
bool fillsBackwards () const
 
bool fillsForwards () const
 
- Public Member Functions inherited from WTF::RefCounted< Animation >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 

Static Public Member Functions

static Ref< Animationcreate ()
 
static Ref< Animationcreate (const Animation &other)
 
static double initialDelay ()
 
static AnimationDirection initialDirection ()
 
static double initialDuration ()
 
static unsigned initialFillMode ()
 
static double initialIterationCount ()
 
static const StringinitialName ()
 
static EAnimPlayState initialPlayState ()
 
static CSSPropertyID initialProperty ()
 
static Ref< TimingFunctioninitialTimingFunction ()
 
static Ref< Animationcreate ()
 
static Ref< Animationcreate (const Animation &other)
 
static double initialDelay ()
 
static AnimationDirection initialDirection ()
 
static double initialDuration ()
 
static unsigned initialFillMode ()
 
static double initialIterationCount ()
 
static const StringinitialName ()
 
static EAnimPlayState initialPlayState ()
 
static CSSPropertyID initialProperty ()
 
static Ref< TimingFunctioninitialTimingFunction ()
 

Additional Inherited Members

- Protected Member Functions inherited from WTF::RefCounted< Animation >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
IterationCountInfinite 

◆ anonymous enum

anonymous enum
Enumerator
IterationCountInfinite 

◆ AnimationDirection [1/2]

Enumerator
AnimationDirectionNormal 
AnimationDirectionAlternate 
AnimationDirectionReverse 
AnimationDirectionAlternateReverse 
AnimationDirectionNormal 
AnimationDirectionAlternate 
AnimationDirectionReverse 
AnimationDirectionAlternateReverse 

◆ AnimationDirection [2/2]

Enumerator
AnimationDirectionNormal 
AnimationDirectionAlternate 
AnimationDirectionReverse 
AnimationDirectionAlternateReverse 
AnimationDirectionNormal 
AnimationDirectionAlternate 
AnimationDirectionReverse 
AnimationDirectionAlternateReverse 

◆ AnimationMode [1/2]

Enumerator
AnimateAll 
AnimateNone 
AnimateSingleProperty 
AnimateAll 
AnimateNone 
AnimateSingleProperty 

◆ AnimationMode [2/2]

Enumerator
AnimateAll 
AnimateNone 
AnimateSingleProperty 
AnimateAll 
AnimateNone 
AnimateSingleProperty 

Constructor & Destructor Documentation

◆ ~Animation() [1/2]

WebCore::Animation::~Animation ( )

◆ ~Animation() [2/2]

WEBCORE_EXPORT WebCore::Animation::~Animation ( )

Member Function Documentation

◆ animationMode() [1/2]

AnimationMode WebCore::Animation::animationMode ( ) const
inline

◆ animationMode() [2/2]

AnimationMode WebCore::Animation::animationMode ( ) const
inline

◆ animationsMatch() [1/2]

bool WebCore::Animation::animationsMatch ( const Animation other,
bool  matchPlayStates = true 
) const

◆ animationsMatch() [2/2]

bool WebCore::Animation::animationsMatch ( const Animation ,
bool  matchPlayStates = true 
) const

◆ clearAll() [1/2]

void WebCore::Animation::clearAll ( )
inline

◆ clearAll() [2/2]

void WebCore::Animation::clearAll ( )
inline

◆ clearDelay() [1/2]

void WebCore::Animation::clearDelay ( )
inline

◆ clearDelay() [2/2]

void WebCore::Animation::clearDelay ( )
inline

◆ clearDirection() [1/2]

void WebCore::Animation::clearDirection ( )
inline

◆ clearDirection() [2/2]

void WebCore::Animation::clearDirection ( )
inline

◆ clearDuration() [1/2]

void WebCore::Animation::clearDuration ( )
inline

◆ clearDuration() [2/2]

void WebCore::Animation::clearDuration ( )
inline

◆ clearFillMode() [1/2]

void WebCore::Animation::clearFillMode ( )
inline

◆ clearFillMode() [2/2]

void WebCore::Animation::clearFillMode ( )
inline

◆ clearIterationCount() [1/2]

void WebCore::Animation::clearIterationCount ( )
inline

◆ clearIterationCount() [2/2]

void WebCore::Animation::clearIterationCount ( )
inline

◆ clearName() [1/2]

void WebCore::Animation::clearName ( )
inline

◆ clearName() [2/2]

void WebCore::Animation::clearName ( )
inline

◆ clearPlayState() [1/2]

void WebCore::Animation::clearPlayState ( )
inline

◆ clearPlayState() [2/2]

void WebCore::Animation::clearPlayState ( )
inline

◆ clearProperty() [1/2]

void WebCore::Animation::clearProperty ( )
inline

◆ clearProperty() [2/2]

void WebCore::Animation::clearProperty ( )
inline

◆ clearTimingFunction() [1/2]

void WebCore::Animation::clearTimingFunction ( )
inline

◆ clearTimingFunction() [2/2]

void WebCore::Animation::clearTimingFunction ( )
inline

◆ create() [1/4]

static Ref<Animation> WebCore::Animation::create ( )
inlinestatic

◆ create() [2/4]

static Ref<Animation> WebCore::Animation::create ( )
inlinestatic

◆ create() [3/4]

static Ref<Animation> WebCore::Animation::create ( const Animation other)
inlinestatic

◆ create() [4/4]

static Ref<Animation> WebCore::Animation::create ( const Animation other)
inlinestatic

◆ delay() [1/2]

double WebCore::Animation::delay ( ) const
inline

◆ delay() [2/2]

double WebCore::Animation::delay ( ) const
inline

◆ direction() [1/2]

AnimationDirection WebCore::Animation::direction ( ) const
inline

◆ direction() [2/2]

AnimationDirection WebCore::Animation::direction ( ) const
inline

◆ directionIsForwards() [1/2]

bool WebCore::Animation::directionIsForwards ( ) const
inline

◆ directionIsForwards() [2/2]

bool WebCore::Animation::directionIsForwards ( ) const
inline

◆ duration() [1/2]

double WebCore::Animation::duration ( ) const
inline

◆ duration() [2/2]

double WebCore::Animation::duration ( ) const
inline

◆ fillMode() [1/2]

unsigned WebCore::Animation::fillMode ( ) const
inline

◆ fillMode() [2/2]

unsigned WebCore::Animation::fillMode ( ) const
inline

◆ fillsBackwards() [1/2]

bool WebCore::Animation::fillsBackwards ( ) const
inline

◆ fillsBackwards() [2/2]

bool WebCore::Animation::fillsBackwards ( ) const
inline

◆ fillsForwards() [1/2]

bool WebCore::Animation::fillsForwards ( ) const
inline

◆ fillsForwards() [2/2]

bool WebCore::Animation::fillsForwards ( ) const
inline

◆ initialDelay() [1/2]

static double WebCore::Animation::initialDelay ( )
inlinestatic

◆ initialDelay() [2/2]

static double WebCore::Animation::initialDelay ( )
inlinestatic

◆ initialDirection() [1/2]

static AnimationDirection WebCore::Animation::initialDirection ( )
inlinestatic

◆ initialDirection() [2/2]

static AnimationDirection WebCore::Animation::initialDirection ( )
inlinestatic

◆ initialDuration() [1/2]

static double WebCore::Animation::initialDuration ( )
inlinestatic

◆ initialDuration() [2/2]

static double WebCore::Animation::initialDuration ( )
inlinestatic

◆ initialFillMode() [1/2]

static unsigned WebCore::Animation::initialFillMode ( )
inlinestatic

◆ initialFillMode() [2/2]

static unsigned WebCore::Animation::initialFillMode ( )
inlinestatic

◆ initialIterationCount() [1/2]

static double WebCore::Animation::initialIterationCount ( )
inlinestatic

◆ initialIterationCount() [2/2]

static double WebCore::Animation::initialIterationCount ( )
inlinestatic

◆ initialName() [1/2]

const String & WebCore::Animation::initialName ( )
static

◆ initialName() [2/2]

static const String& WebCore::Animation::initialName ( )
static

◆ initialPlayState() [1/2]

static EAnimPlayState WebCore::Animation::initialPlayState ( )
inlinestatic

◆ initialPlayState() [2/2]

static EAnimPlayState WebCore::Animation::initialPlayState ( )
inlinestatic

◆ initialProperty() [1/2]

static CSSPropertyID WebCore::Animation::initialProperty ( )
inlinestatic

◆ initialProperty() [2/2]

static CSSPropertyID WebCore::Animation::initialProperty ( )
inlinestatic

◆ initialTimingFunction() [1/2]

static Ref<TimingFunction> WebCore::Animation::initialTimingFunction ( )
inlinestatic

◆ initialTimingFunction() [2/2]

static Ref<TimingFunction> WebCore::Animation::initialTimingFunction ( )
inlinestatic

◆ isDelaySet() [1/2]

bool WebCore::Animation::isDelaySet ( ) const
inline

◆ isDelaySet() [2/2]

bool WebCore::Animation::isDelaySet ( ) const
inline

◆ isDirectionSet() [1/2]

bool WebCore::Animation::isDirectionSet ( ) const
inline

◆ isDirectionSet() [2/2]

bool WebCore::Animation::isDirectionSet ( ) const
inline

◆ isDurationSet() [1/2]

bool WebCore::Animation::isDurationSet ( ) const
inline

◆ isDurationSet() [2/2]

bool WebCore::Animation::isDurationSet ( ) const
inline

◆ isEmpty() [1/2]

bool WebCore::Animation::isEmpty ( ) const
inline

◆ isEmpty() [2/2]

bool WebCore::Animation::isEmpty ( void  ) const
inline

◆ isEmptyOrZeroDuration() [1/2]

bool WebCore::Animation::isEmptyOrZeroDuration ( ) const
inline

◆ isEmptyOrZeroDuration() [2/2]

bool WebCore::Animation::isEmptyOrZeroDuration ( ) const
inline

◆ isFillModeSet() [1/2]

bool WebCore::Animation::isFillModeSet ( ) const
inline

◆ isFillModeSet() [2/2]

bool WebCore::Animation::isFillModeSet ( ) const
inline

◆ isIterationCountSet() [1/2]

bool WebCore::Animation::isIterationCountSet ( ) const
inline

◆ isIterationCountSet() [2/2]

bool WebCore::Animation::isIterationCountSet ( ) const
inline

◆ isNameSet() [1/2]

bool WebCore::Animation::isNameSet ( ) const
inline

◆ isNameSet() [2/2]

bool WebCore::Animation::isNameSet ( ) const
inline

◆ isNoneAnimation() [1/2]

bool WebCore::Animation::isNoneAnimation ( ) const
inline

◆ isNoneAnimation() [2/2]

bool WebCore::Animation::isNoneAnimation ( ) const
inline

◆ isPlayStateSet() [1/2]

bool WebCore::Animation::isPlayStateSet ( ) const
inline

◆ isPlayStateSet() [2/2]

bool WebCore::Animation::isPlayStateSet ( ) const
inline

◆ isPropertySet() [1/2]

bool WebCore::Animation::isPropertySet ( ) const
inline

◆ isPropertySet() [2/2]

bool WebCore::Animation::isPropertySet ( ) const
inline

◆ isTimingFunctionSet() [1/2]

bool WebCore::Animation::isTimingFunctionSet ( ) const
inline

◆ isTimingFunctionSet() [2/2]

bool WebCore::Animation::isTimingFunctionSet ( ) const
inline

◆ isValidAnimation() [1/2]

bool WebCore::Animation::isValidAnimation ( ) const
inline

◆ isValidAnimation() [2/2]

bool WebCore::Animation::isValidAnimation ( ) const
inline

◆ iterationCount() [1/2]

double WebCore::Animation::iterationCount ( ) const
inline

◆ iterationCount() [2/2]

double WebCore::Animation::iterationCount ( ) const
inline

◆ name() [1/2]

const String& WebCore::Animation::name ( ) const
inline

◆ name() [2/2]

const String& WebCore::Animation::name ( ) const
inline

◆ nameStyleScopeOrdinal() [1/2]

Style::ScopeOrdinal WebCore::Animation::nameStyleScopeOrdinal ( ) const
inline

◆ nameStyleScopeOrdinal() [2/2]

Style::ScopeOrdinal WebCore::Animation::nameStyleScopeOrdinal ( ) const
inline

◆ operator!=() [1/2]

bool WebCore::Animation::operator!= ( const Animation o) const
inline

◆ operator!=() [2/2]

bool WebCore::Animation::operator!= ( const Animation o) const
inline

◆ operator=() [1/2]

Animation& WebCore::Animation::operator= ( const Animation o)

◆ operator=() [2/2]

Animation & WebCore::Animation::operator= ( const Animation o)

◆ operator==() [1/2]

bool WebCore::Animation::operator== ( const Animation o) const
inline

◆ operator==() [2/2]

bool WebCore::Animation::operator== ( const Animation o) const
inline

◆ playState() [1/2]

EAnimPlayState WebCore::Animation::playState ( ) const
inline

◆ playState() [2/2]

EAnimPlayState WebCore::Animation::playState ( ) const
inline

◆ property() [1/2]

CSSPropertyID WebCore::Animation::property ( ) const
inline

◆ property() [2/2]

CSSPropertyID WebCore::Animation::property ( ) const
inline

◆ setAnimationMode() [1/2]

void WebCore::Animation::setAnimationMode ( AnimationMode  mode)
inline

◆ setAnimationMode() [2/2]

void WebCore::Animation::setAnimationMode ( AnimationMode  mode)
inline

◆ setDelay() [1/2]

void WebCore::Animation::setDelay ( double  c)
inline

◆ setDelay() [2/2]

void WebCore::Animation::setDelay ( double  c)
inline

◆ setDirection() [1/2]

void WebCore::Animation::setDirection ( AnimationDirection  d)
inline

◆ setDirection() [2/2]

void WebCore::Animation::setDirection ( AnimationDirection  d)
inline

◆ setDuration() [1/2]

void WebCore::Animation::setDuration ( double  d)
inline

◆ setDuration() [2/2]

void WebCore::Animation::setDuration ( double  d)
inline

◆ setFillMode() [1/2]

void WebCore::Animation::setFillMode ( unsigned  f)
inline

◆ setFillMode() [2/2]

void WebCore::Animation::setFillMode ( unsigned  f)
inline

◆ setIsNoneAnimation() [1/2]

void WebCore::Animation::setIsNoneAnimation ( bool  n)
inline

◆ setIsNoneAnimation() [2/2]

void WebCore::Animation::setIsNoneAnimation ( bool  n)
inline

◆ setIterationCount() [1/2]

void WebCore::Animation::setIterationCount ( double  c)
inline

◆ setIterationCount() [2/2]

void WebCore::Animation::setIterationCount ( double  c)
inline

◆ setName() [1/2]

void WebCore::Animation::setName ( const String name,
Style::ScopeOrdinal  scope = Style::ScopeOrdinal::Element 
)
inline

◆ setName() [2/2]

void WebCore::Animation::setName ( const String name,
Style::ScopeOrdinal  scope = Style::ScopeOrdinal::Element 
)
inline

◆ setPlayState() [1/2]

void WebCore::Animation::setPlayState ( EAnimPlayState  d)
inline

◆ setPlayState() [2/2]

void WebCore::Animation::setPlayState ( EAnimPlayState  d)
inline

◆ setProperty() [1/2]

void WebCore::Animation::setProperty ( CSSPropertyID  t)
inline

◆ setProperty() [2/2]

void WebCore::Animation::setProperty ( CSSPropertyID  t)
inline

◆ setTimingFunction() [1/2]

void WebCore::Animation::setTimingFunction ( RefPtr< TimingFunction > &&  function)
inline

◆ setTimingFunction() [2/2]

void WebCore::Animation::setTimingFunction ( RefPtr< TimingFunction > &&  function)
inline

◆ timingFunction() [1/2]

TimingFunction* WebCore::Animation::timingFunction ( ) const
inline

◆ timingFunction() [2/2]

TimingFunction* WebCore::Animation::timingFunction ( ) const
inline

The documentation for this class was generated from the following files: