Dali 3D User Interface Engine
List of all members | Public Types | Public Member Functions | Static Public Member Functions
Dali::Animation Class Reference

Dali::Animation can be used to animate the properties of any number of objects, typically Actors. More...

#include <animation.h>

Inheritance diagram for Dali::Animation:
Inheritance graph
[legend]
Collaboration diagram for Dali::Animation:
Collaboration graph
[legend]

Public Types

enum  EndAction { Bake, Discard, BakeFinal }
 What to do when the animation ends, is stopped or is destroyed .0. More...
 
enum  Interpolation { Linear, Cubic }
 What interpolation method to use on key-frame animations .0. More...
 
enum  State { STOPPED, PLAYING, PAUSED }
 What state the animation is in. More...
 
typedef Signal< void(Animation &) > AnimationSignalType
 Animation finished signal type .0. More...
 
typedef Any AnyFunction
 Interpolation function .0. More...
 
- Public Types inherited from Dali::BaseHandle
typedef void(BaseHandle::* BooleanType )() const
 Pointer-to-member type. More...
 

Public Member Functions

 Animation ()
 Create an uninitialized Animation; this can be initialized with Animation::New(). More...
 
 ~Animation ()
 Destructor. More...
 
 Animation (const Animation &handle)
 This copy constructor is required for (smart) pointer semantics. More...
 
Animationoperator= (const Animation &rhs)
 This assignment operator is required for (smart) pointer semantics. More...
 
void SetDuration (float seconds)
 Set the duration of an animation. More...
 
float GetDuration () const
 Retrieve the duration of an animation. More...
 
void SetLooping (bool looping)
 Set whether the animation will loop. More...
 
void SetLoopCount (int count)
 Enable looping for 'count' repeats. More...
 
int GetLoopCount ()
 Get the loop count. More...
 
int GetCurrentLoop ()
 Get the current loop count. More...
 
bool IsLooping () const
 Query whether the animation will loop. More...
 
void SetEndAction (EndAction action)
 Set the end action of the animation. More...
 
EndAction GetEndAction () const
 Returns the end action of the animation. More...
 
void SetDisconnectAction (EndAction disconnectAction)
 Set the disconnect action. More...
 
EndAction GetDisconnectAction () const
 Returns the disconnect action. More...
 
void SetDefaultAlphaFunction (AlphaFunction alpha)
 Set the default alpha function for an animation. More...
 
AlphaFunction GetDefaultAlphaFunction () const
 Retrieve the default alpha function for an animation. More...
 
void SetCurrentProgress (float progress)
 
float GetCurrentProgress ()
 Retrieve the current progress of the animation. More...
 
void SetSpeedFactor (float factor)
 Specifies an speed factor for the animation. More...
 
float GetSpeedFactor () const
 Retrieve the speed factor of the animation. More...
 
void SetPlayRange (const Vector2 &range)
 Set the playing range. More...
 
Vector2 GetPlayRange () const
 Get the playing range. More...
 
void Play ()
 Play the animation. More...
 
void PlayFrom (float progress)
 Play the animation from a given point. More...
 
void Pause ()
 Pause the animation. More...
 
State GetState () const
 Query the state of the animation. More...
 
void Stop ()
 Stop the animation. More...
 
void Clear ()
 Clear the animation. More...
 
AnimationSignalTypeFinishedSignal ()
 Connect to this signal to be notified when an Animation's animations have finished. More...
 
void AnimateBy (Property target, Property::Value relativeValue)
 Animate a property value by a relative amount. More...
 
void AnimateBy (Property target, Property::Value relativeValue, AlphaFunction alpha)
 Animate a property value by a relative amount. More...
 
void AnimateBy (Property target, Property::Value relativeValue, TimePeriod period)
 Animate a property value by a relative amount. More...
 
void AnimateBy (Property target, Property::Value relativeValue, AlphaFunction alpha, TimePeriod period)
 Animate a property value by a relative amount. More...
 
void AnimateTo (Property target, Property::Value destinationValue)
 Animate a property to a destination value. More...
 
void AnimateTo (Property target, Property::Value destinationValue, AlphaFunction alpha)
 Animate a property to a destination value. More...
 
void AnimateTo (Property target, Property::Value destinationValue, TimePeriod period)
 Animate a property to a destination value. More...
 
void AnimateTo (Property target, Property::Value destinationValue, AlphaFunction alpha, TimePeriod period)
 Animate a property to a destination value. More...
 
void AnimateBetween (Property target, KeyFrames &keyFrames)
 Animate a property between keyframes. More...
 
void AnimateBetween (Property target, KeyFrames &keyFrames, Interpolation interpolation)
 Animate a property between keyframes. More...
 
void AnimateBetween (Property target, KeyFrames &keyFrames, AlphaFunction alpha)
 Animate a property between keyframes. More...
 
void AnimateBetween (Property target, KeyFrames &keyFrames, AlphaFunction alpha, Interpolation interpolation)
 Animate a property between keyframes. More...
 
void AnimateBetween (Property target, KeyFrames &keyFrames, TimePeriod period)
 Animate a property between keyframes. More...
 
void AnimateBetween (Property target, KeyFrames &keyFrames, TimePeriod period, Interpolation interpolation)
 Animate a property between keyframes. More...
 
void AnimateBetween (Property target, KeyFrames &keyFrames, AlphaFunction alpha, TimePeriod period)
 Animate a property between keyframes. More...
 
void AnimateBetween (Property target, KeyFrames &keyFrames, AlphaFunction alpha, TimePeriod period, Interpolation interpolation)
 Animate a property between keyframes. More...
 
void Animate (Actor actor, Path path, const Vector3 &forward)
 Animate an actor's position and orientation through a predefined path. More...
 
void Animate (Actor actor, Path path, const Vector3 &forward, AlphaFunction alpha)
 Animate an actor's position and orientation through a predefined path. More...
 
void Animate (Actor actor, Path path, const Vector3 &forward, TimePeriod period)
 Animate an actor's position and orientation through a predefined path. More...
 
void Animate (Actor actor, Path path, const Vector3 &forward, AlphaFunction alpha, TimePeriod period)
 Animate an actor's position and orientation through a predefined path. More...
 
void Show (Actor actor, float delaySeconds)
 Show an actor during the animation. More...
 
void Hide (Actor actor, float delaySeconds)
 Hide an actor during the animation. More...
 
DALI_INTERNAL Animation (Internal::Animation *animation)
 This constructor is used by Animation::New() methods .0. More...
 
- Public Member Functions inherited from Dali::BaseHandle
 BaseHandle (Dali::BaseObject *handle)
 This constructor is used by Dali New() methods. More...
 
 BaseHandle ()
 This constructor provides an uninitialized Dali::BaseHandle. More...
 
 ~BaseHandle ()
 Dali::BaseHandle is intended as a base class. More...
 
 BaseHandle (const BaseHandle &handle)
 This copy constructor is required for (smart) pointer semantics. More...
 
BaseHandleoperator= (const BaseHandle &rhs)
 This assignment operator is required for (smart) pointer semantics. More...
 
template<class T >
bool ConnectSignal (ConnectionTrackerInterface *connectionTracker, const std::string &signalName, const T &functor)
 Connects a void() functor to a specified signal. More...
 
bool DoAction (const std::string &actionName, const Property::Map &attributes)
 Perform action on this object with the given action name and attributes. More...
 
const std::string & GetTypeName () const
 Returns the type name for the Handle. More...
 
bool GetTypeInfo (Dali::TypeInfo &info) const
 Returns the type info for the Handle. More...
 
BaseObjectGetBaseObject ()
 Retrieve the internal Dali resource. More...
 
const BaseObjectGetBaseObject () const
 Retrieve the internal Dali resource. More...
 
void Reset ()
 Resets the handle. More...
 
 operator BooleanType () const
 Converts an handle to a BooleanType. More...
 
bool operator== (const BaseHandle &rhs) const
 Equality operator overload. More...
 
bool operator!= (const BaseHandle &rhs) const
 Inequality operator overload. More...
 
Dali::RefObjectGetObjectPtr () const
 Get the reference counted object pointer. More...
 

Static Public Member Functions

static Animation New (float durationSeconds)
 Create an initialized Animation. More...
 
static Animation DownCast (BaseHandle handle)
 Downcast a handle to Animation handle. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Dali::BaseHandle
void ThisIsSaferThanReturningVoidStar () const
 Used by the safe bool idiom. More...
 

Detailed Description

Dali::Animation can be used to animate the properties of any number of objects, typically Actors.

An example animation setup is shown below:

struct MyProgram
{
Actor mActor; // The object we wish to animate
Animation mAnimation; // Keep this to control the animation
}
// ...To play the animation
mAnimation = Animation::New(3.0f); // duration 3 seconds
mAnimation.AnimateTo(Property(mActor, Actor::Property::POSITION), Vector3(10.0f, 50.0f, 0.0f));
mAnimation.Play();

Dali::Animation supports "fire and forget" behaviour i.e. an animation continues to play if the handle is discarded. Note that in the following example, the "Finish" signal will be emitted:

void ExampleCallback( Animation& source )
{
std::cout << "Animation has finished" << std::endl;
}
void ExampleAnimation( Actor actor )
{
Animation animation = Animation::New(2.0f); // duration 2 seconds
animation.AnimateTo(Property(actor, Actor::Property::POSITION), 10.0f, 50.0f, 0.0f);
animation.FinishedSignal().Connect( ExampleCallback );
animation.Play();
} // At this point the animation handle has gone out of scope
Actor actor = Actor::New();
// Fire animation and forget about it
ExampleAnimation( actor );
// However the animation will continue, and "Animation has finished" will be printed after 2 seconds.

If the "Finish" signal is connected to a member function of an object, it must be disconnected before the object is destroyed. This is typically done in the object destructor, and requires either the Dali::Connection object or Dali::Animation handle to be stored.

Signals

Signal Name Method
finished FinishedSignal()

Actions

Action Name Animation method called
play Play()
stop Stop()
pause Pause()

.0

Definition at line 113 of file animation.h.

Member Typedef Documentation

Animation finished signal type .0.

Definition at line 117 of file animation.h.

Interpolation function .0.

Definition at line 119 of file animation.h.

Member Enumeration Documentation

What to do when the animation ends, is stopped or is destroyed .0.

Enumerator
Bake 

When the animation ends, the animated property values are saved. .0.

Discard 

When the animation ends, the animated property values are forgotten. .0.

BakeFinal 

If the animation is stopped, the animated property values are saved as if the animation had run to completion, otherwise behaves like Bake. .0.

Definition at line 125 of file animation.h.

What interpolation method to use on key-frame animations .0.

Enumerator
Linear 

Values in between key frames are interpolated using a linear polynomial. (Default) .0.

Cubic 

Values in between key frames are interpolated using a cubic polynomial. .0.

Definition at line 136 of file animation.h.

What state the animation is in.

Note: Calling Reset() on this class will NOT reset the animation. It will call BaseHandle::Reset() which drops the object handle.

.21

Enumerator
STOPPED 

Animation has stopped .21.

PLAYING 

The animation is playing .21.

PAUSED 

The animation is paused .21.

Definition at line 149 of file animation.h.

Constructor & Destructor Documentation

Dali::Animation::Animation ( )

Create an uninitialized Animation; this can be initialized with Animation::New().

Calling member functions with an uninitialized Animation handle is not allowed. .0

Definition at line 31 of file animation.cpp.

Referenced by DownCast(), and New().

Here is the caller graph for this function:

Dali::Animation::~Animation ( )

Destructor.

This is non-virtual since derived Handle types must not contain data or virtual methods. .0

Definition at line 52 of file animation.cpp.

Dali::Animation::Animation ( const Animation handle)

This copy constructor is required for (smart) pointer semantics.

.0

Parameters
[in]handleA reference to the copied handle

Definition at line 56 of file animation.cpp.

Dali::Animation::Animation ( Internal::Animation animation)
explicit

This constructor is used by Animation::New() methods .0.

Parameters
[in]animationA pointer to a newly allocated Dali resource

Definition at line 35 of file animation.cpp.

Member Function Documentation

void Dali::Animation::Animate ( Actor  actor,
Path  path,
const Vector3 forward 
)

Animate an actor's position and orientation through a predefined path.

The actor will rotate to orient the supplied forward vector with the path's tangent. If forward is the zero vector then no rotation will happen.

.0

Parameters
[in]actorThe actor to animate
[in]pathThe path. It defines position and orientation
[in]forwardThe vector (in local space coordinate system) that will be oriented with the path's tangent direction

Definition at line 252 of file animation.cpp.

References Dali::GetImplementation().

Referenced by Dali::Toolkit::Internal::CreateAnimation(), UtcDaliAnimationAnimateAlphaFunctionP(), UtcDaliAnimationAnimateAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateP(), and UtcDaliAnimationAnimateTimePeriodP().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Animation::Animate ( Actor  actor,
Path  path,
const Vector3 forward,
AlphaFunction  alpha 
)

Animate an actor's position and orientation through a predefined path.

The actor will rotate to orient the supplied forward vector with the path's tangent. If forward is the zero vector then no rotation will happen.

.0

Parameters
[in]actorThe actor to animate
[in]pathThe path. It defines position and orientation
[in]forwardThe vector (in local space coordinate system) that will be oriented with the path's tangent direction
[in]alphaThe alpha function to apply.

Definition at line 257 of file animation.cpp.

References Dali::GetImplementation().

Here is the call graph for this function:

void Dali::Animation::Animate ( Actor  actor,
Path  path,
const Vector3 forward,
TimePeriod  period 
)

Animate an actor's position and orientation through a predefined path.

The actor will rotate to orient the supplied forward vector with the path's tangent. If forward is the zero vector then no rotation will happen.

.0

Parameters
[in]actorThe actor to animate
[in]pathThe path. It defines position and orientation
[in]forwardThe vector (in local space coordinate system) that will be oriented with the path's tangent direction
[in]periodThe effect will occur during this time period.

Definition at line 262 of file animation.cpp.

References Dali::GetImplementation().

Here is the call graph for this function:

void Dali::Animation::Animate ( Actor  actor,
Path  path,
const Vector3 forward,
AlphaFunction  alpha,
TimePeriod  period 
)

Animate an actor's position and orientation through a predefined path.

The actor will rotate to orient the supplied forward vector with the path's tangent. If forward is the zero vector then no rotation will happen.

.0

Parameters
[in]actorThe actor to animate
[in]pathThe path. It defines position and orientation
[in]forwardThe vector (in local space coordinate system) that will be oriented with the path's tangent direction
[in]alphaThe alpha function to apply.
[in]periodThe effect will occur during this time period.

Definition at line 267 of file animation.cpp.

References Dali::GetImplementation().

Here is the call graph for this function:

void Dali::Animation::AnimateBetween ( Property  target,
KeyFrames keyFrames 
)

Animate a property between keyframes.

.0

Parameters
[in]targetThe target object property to animate.
[in]keyFramesThe set of time/value pairs between which to animate.

Definition at line 208 of file animation.cpp.

References Dali::GetImplementation().

Referenced by Dali::Toolkit::Internal::CreateAnimation(), UtcDaliAnimationAnimateBetweenActorColorAlphaCubicP(), UtcDaliAnimationAnimateBetweenActorColorAlphaFunctionCubicP(), UtcDaliAnimationAnimateBetweenActorColorAlphaFunctionP(), UtcDaliAnimationAnimateBetweenActorColorAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateBetweenActorColorAlphaP(), UtcDaliAnimationAnimateBetweenActorColorCubicP(), UtcDaliAnimationAnimateBetweenActorColorCubicWithDelayP(), UtcDaliAnimationAnimateBetweenActorColorP(), UtcDaliAnimationAnimateBetweenActorColorTimePeriodCubicP(), UtcDaliAnimationAnimateBetweenActorColorTimePeriodP(), UtcDaliAnimationAnimateBetweenActorOrientation01CubicP(), UtcDaliAnimationAnimateBetweenActorOrientation01P(), UtcDaliAnimationAnimateBetweenActorOrientation02CubicP(), UtcDaliAnimationAnimateBetweenActorOrientation02P(), UtcDaliAnimationAnimateBetweenActorVisibleCubicP(), UtcDaliAnimationAnimateBetweenActorVisibleP(), UtcDaliAnimationPlayRangeP(), UtcDaliAnimationSetSpeedFactorAndRange(), UtcDaliAnimationSetSpeedFactorP1(), UtcDaliAnimationSetSpeedFactorP2(), UtcDaliAnimationSetSpeedFactorP3(), UtcDaliAnimationSetSpeedFactorP4(), UtcDaliAnimationSetSpeedFactorRangeAndLoopCount01(), UtcDaliAnimationSetSpeedFactorRangeAndLoopCount02(), UtcDaliGeometryAnimatedProperty01(), UtcDaliGeometryAnimatedProperty02(), UtcDaliMaterialAnimatedProperty01(), UtcDaliMaterialAnimatedProperty02(), UtcDaliRendererAnimatedProperty01(), UtcDaliRendererAnimatedProperty02(), UtcDaliRendererUniformMapPrecendence01(), UtcDaliRendererUniformMapPrecendence02(), UtcDaliRendererUniformMapPrecendence03(), UtcDaliRendererUniformMapPrecendence04(), UtcDaliRendererUniformMapPrecendence05(), UtcDaliShaderAnimatedProperty01(), and UtcDaliShaderAnimatedProperty02().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Animation::AnimateBetween ( Property  target,
KeyFrames keyFrames,
Interpolation  interpolation 
)

Animate a property between keyframes.

.0

Parameters
[in]targetThe target object property to animate
[in]keyFramesThe set of time/value pairs between which to animate.
[in]interpolationThe method used to interpolate between values.

Definition at line 213 of file animation.cpp.

References Dali::GetImplementation().

Here is the call graph for this function:

void Dali::Animation::AnimateBetween ( Property  target,
KeyFrames keyFrames,
AlphaFunction  alpha 
)

Animate a property between keyframes.

.0

Parameters
[in]targetThe target object property to animate.
[in]keyFramesThe set of time/value pairs between which to animate.
[in]alphaThe alpha function to apply.

Definition at line 228 of file animation.cpp.

References Dali::GetImplementation().

Here is the call graph for this function:

void Dali::Animation::AnimateBetween ( Property  target,
KeyFrames keyFrames,
AlphaFunction  alpha,
Interpolation  interpolation 
)

Animate a property between keyframes.

.0

Parameters
[in]targetThe target object property to animate
[in]keyFramesThe set of time/value pairs between which to animate.
[in]alphaThe alpha function to apply.
[in]interpolationThe method used to interpolate between values.

Definition at line 233 of file animation.cpp.

References Dali::GetImplementation().

Here is the call graph for this function:

void Dali::Animation::AnimateBetween ( Property  target,
KeyFrames keyFrames,
TimePeriod  period 
)

Animate a property between keyframes.

.0

Parameters
[in]targetThe target object property to animate.
[in]keyFramesThe set of time/value pairs between which to animate.
[in]periodThe effect will occur during this time period.

Definition at line 218 of file animation.cpp.

References Dali::GetImplementation().

Here is the call graph for this function:

void Dali::Animation::AnimateBetween ( Property  target,
KeyFrames keyFrames,
TimePeriod  period,
Interpolation  interpolation 
)

Animate a property between keyframes.

.0

Parameters
[in]targetThe target object property to animate
[in]keyFramesThe set of time/value pairs between which to animate.
[in]periodThe effect will occur duing this time period.
[in]interpolationThe method used to interpolate between values.

Definition at line 223 of file animation.cpp.

References Dali::GetImplementation().

Here is the call graph for this function:

void Dali::Animation::AnimateBetween ( Property  target,
KeyFrames keyFrames,
AlphaFunction  alpha,
TimePeriod  period 
)

Animate a property between keyframes.

.0

Parameters
[in]targetThe target object property to animate.
[in]keyFramesThe set of time/value pairs between which to animate.
[in]alphaThe alpha function to apply.
[in]periodThe effect will occur during this time period.

Definition at line 239 of file animation.cpp.

References Dali::GetImplementation().

Here is the call graph for this function:

void Dali::Animation::AnimateBetween ( Property  target,
KeyFrames keyFrames,
AlphaFunction  alpha,
TimePeriod  period,
Interpolation  interpolation 
)

Animate a property between keyframes.

.0

Parameters
[in]targetThe target object property to animate
[in]keyFramesThe set of time/value pairs between which to animate.
[in]alphaThe alpha function to apply to the overall progress.
[in]periodThe effect will occur duing this time period.
[in]interpolationThe method used to interpolate between values.

Definition at line 244 of file animation.cpp.

References Dali::GetImplementation().

Here is the call graph for this function:

void Dali::Animation::AnimateBy ( Property  target,
Property::Value  relativeValue 
)

Animate a property value by a relative amount.

The default alpha function will be used. The effect will start & end when the animation begins & ends. .0

Parameters
[in]targetThe target object/property to animate.
[in]relativeValueThe property value will change by this amount.

Definition at line 168 of file animation.cpp.

References Dali::GetImplementation().

Referenced by Dali::Toolkit::Internal::CreateAnimation(), Dali::Toolkit::Internal::PageTurnPortraitView::OnPossibleOutwardsFlick(), Dali::Toolkit::Internal::CubeTransitionWaveEffect::OnStartTransition(), UtcDaliAnimationAnimateByActorOrientationAlphaFunctionP(), UtcDaliAnimationAnimateByActorOrientationAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByActorOrientationP(), UtcDaliAnimationAnimateByActorPositionAlphaFunctionP(), UtcDaliAnimationAnimateByActorPositionAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByActorPositionP(), UtcDaliAnimationAnimateByActorPositionTimePeriodP(), UtcDaliAnimationAnimateByActorScaleP(), UtcDaliAnimationAnimateByBooleanAlphaFunctionP(), UtcDaliAnimationAnimateByBooleanAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByBooleanP(), UtcDaliAnimationAnimateByBooleanTimePeriodP(), UtcDaliAnimationAnimateByFloatAlphaFunctionP(), UtcDaliAnimationAnimateByFloatAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByFloatP(), UtcDaliAnimationAnimateByFloatTimePeriodP(), UtcDaliAnimationAnimateByIntegerAlphaFunctionP(), UtcDaliAnimationAnimateByIntegerAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByIntegerP(), UtcDaliAnimationAnimateByIntegerTimePeriodP(), UtcDaliAnimationAnimateByVector2AlphaFunctionP(), UtcDaliAnimationAnimateByVector2AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByVector2P(), UtcDaliAnimationAnimateByVector2TimePeriodP(), UtcDaliAnimationAnimateByVector3AlphaFunctionP(), UtcDaliAnimationAnimateByVector3AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByVector3P(), UtcDaliAnimationAnimateByVector3TimePeriodP(), UtcDaliAnimationAnimateByVector4AlphaFunctionP(), UtcDaliAnimationAnimateByVector4AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByVector4P(), UtcDaliAnimationAnimateByVector4TimePeriodP(), and UtcDaliHandleNonAnimtableProperties().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Animation::AnimateBy ( Property  target,
Property::Value  relativeValue,
AlphaFunction  alpha 
)

Animate a property value by a relative amount.

The effect will start & end when the animation begins & ends. .0

Parameters
[in]targetThe target object/property to animate.
[in]relativeValueThe property value will change by this amount.
[in]alphaThe alpha function to apply.

Definition at line 173 of file animation.cpp.

References Dali::GetImplementation().

Here is the call graph for this function:

void Dali::Animation::AnimateBy ( Property  target,
Property::Value  relativeValue,
TimePeriod  period 
)

Animate a property value by a relative amount.

The default alpha function will be used. .0

Parameters
[in]targetThe target object/property to animate.
[in]relativeValueThe property value will increase/decrease by this amount.
[in]periodThe effect will occur during this time period.

Definition at line 178 of file animation.cpp.

References Dali::GetImplementation().

Here is the call graph for this function:

void Dali::Animation::AnimateBy ( Property  target,
Property::Value  relativeValue,
AlphaFunction  alpha,
TimePeriod  period 
)

Animate a property value by a relative amount.

.0

Parameters
[in]targetThe target object/property to animate.
[in]relativeValueThe property value will increase/decrease by this amount.
[in]alphaThe alpha function to apply.
[in]periodThe effect will occur during this time period.

Definition at line 183 of file animation.cpp.

References Dali::GetImplementation().

Here is the call graph for this function:

void Dali::Animation::AnimateTo ( Property  target,
Property::Value  destinationValue 
)

Animate a property to a destination value.

The default alpha function will be used. The effect will start & end when the animation begins & ends. .0

Parameters
[in]targetThe target object/property to animate.
[in]destinationValueThe destination value.

Definition at line 188 of file animation.cpp.

References Dali::GetImplementation().

Referenced by Dali::Toolkit::Internal::ItemView::ActivateLayout(), Dali::Toolkit::Internal::ScrollView::AnimateInternalXTo(), Dali::Toolkit::Internal::ScrollView::AnimateInternalYTo(), Dali::Toolkit::Internal::ItemView::AnimateScrollOvershoot(), Dali::AnimationData::CreateAnimation(), Dali::Toolkit::Internal::CreateAnimation(), Dali::Toolkit::Internal::ItemView::DoAnchoring(), Dali::Toolkit::Internal::BubbleEmitter::EmitBubble(), Dali::Toolkit::Internal::PushButton::FadeImageTo(), Dali::Toolkit::Internal::ScrollBar::HideIndicator(), Dali::Toolkit::Internal::TextSelectionPopup::HidePopup(), Dali::Toolkit::Internal::PageTurnPortraitView::OnPossibleOutwardsFlick(), Dali::Toolkit::Internal::CubeTransitionWaveEffect::OnStartTransition(), Dali::Toolkit::Internal::CheckBoxButton::OnTransitionIn(), Dali::Toolkit::Internal::PageTurnView::PanFinished(), Dali::Toolkit::Internal::ItemView::ScrollTo(), Dali::Toolkit::Internal::ItemView::ScrollToItem(), Dali::Toolkit::Internal::ScrollOvershootEffectRipple::SetOvershoot(), Dali::Toolkit::Internal::CubeTransitionFoldEffect::SetupAnimation(), Dali::Toolkit::Internal::CubeTransitionCrossEffect::SetupAnimation(), Dali::Toolkit::Internal::ScrollBar::ShowIndicator(), Dali::Toolkit::Internal::TextSelectionPopup::ShowPopup(), Dali::Toolkit::Internal::ScrollView::SnapInternalXTo(), Dali::Toolkit::Internal::ScrollView::SnapInternalYTo(), Dali::Toolkit::Internal::Popup::StartTransitionAnimation(), UtcDaliActorGetCurrentSizeImmediate(), UtcDaliAlignmentOnSizeAnimation(), UtcDaliAlphaFunctionBezier(), UtcDaliAnimationAnimateToActorAnchorPointP(), UtcDaliAnimationAnimateToActorAnchorPointXP(), UtcDaliAnimationAnimateToActorAnchorPointYP(), UtcDaliAnimationAnimateToActorAnchorPointZP(), UtcDaliAnimationAnimateToActorColorAlphaP(), UtcDaliAnimationAnimateToActorColorBlueP(), UtcDaliAnimationAnimateToActorColorGreenP(), UtcDaliAnimationAnimateToActorColorP(), UtcDaliAnimationAnimateToActorColorRedP(), UtcDaliAnimationAnimateToActorOrientationAlphaFunctionP(), UtcDaliAnimationAnimateToActorOrientationAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToActorOrientationAngleAxisP(), UtcDaliAnimationAnimateToActorOrientationQuaternionP(), UtcDaliAnimationAnimateToActorOrientationTimePeriodP(), UtcDaliAnimationAnimateToActorParentOriginP(), UtcDaliAnimationAnimateToActorParentOriginXP(), UtcDaliAnimationAnimateToActorParentOriginYP(), UtcDaliAnimationAnimateToActorParentOriginZP(), UtcDaliAnimationAnimateToActorPositionAlphaFunctionP(), UtcDaliAnimationAnimateToActorPositionAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToActorPositionP(), UtcDaliAnimationAnimateToActorPositionTimePeriodP(), UtcDaliAnimationAnimateToActorPositionXP(), UtcDaliAnimationAnimateToActorPositionYP(), UtcDaliAnimationAnimateToActorPositionZP(), UtcDaliAnimationAnimateToActorScaleP(), UtcDaliAnimationAnimateToActorScaleXP(), UtcDaliAnimationAnimateToActorScaleYP(), UtcDaliAnimationAnimateToActorScaleZP(), UtcDaliAnimationAnimateToActorSizeDepthP(), UtcDaliAnimationAnimateToActorSizeHeightP(), UtcDaliAnimationAnimateToActorSizeP(), UtcDaliAnimationAnimateToActorSizeWidthHeightP(), UtcDaliAnimationAnimateToActorSizeWidthP(), UtcDaliAnimationAnimateToBooleanAlphaFunctionP(), UtcDaliAnimationAnimateToBooleanAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToBooleanP(), UtcDaliAnimationAnimateToBooleanTimePeriodP(), UtcDaliAnimationAnimateToFloatAlphaFunctionP(), UtcDaliAnimationAnimateToFloatAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToFloatP(), UtcDaliAnimationAnimateToFloatTimePeriodP(), UtcDaliAnimationAnimateToIntegerAlphaFunctionP(), UtcDaliAnimationAnimateToIntegerAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToIntegerP(), UtcDaliAnimationAnimateToIntegerTimePeriodP(), UtcDaliAnimationAnimateToVector2AlphaFunctionP(), UtcDaliAnimationAnimateToVector2AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToVector2P(), UtcDaliAnimationAnimateToVector2TimePeriodP(), UtcDaliAnimationAnimateToVector3AlphaFunctionP(), UtcDaliAnimationAnimateToVector3AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToVector3ComponentP(), UtcDaliAnimationAnimateToVector3P(), UtcDaliAnimationAnimateToVector3TimePeriodP(), UtcDaliAnimationAnimateToVector4AlphaFunctionP(), UtcDaliAnimationAnimateToVector4AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToVector4P(), UtcDaliAnimationAnimateToVector4TimePeriodP(), UtcDaliAnimationClearP(), UtcDaliAnimationCustomIntProperty(), UtcDaliAnimationExtendDurationP(), UtcDaliAnimationGetCurrentLoopP(), UtcDaliAnimationGetCurrentProgressP(), UtcDaliAnimationGetLoopCountP(), UtcDaliAnimationGetStateP(), UtcDaliAnimationPauseP(), UtcDaliAnimationPlayDiscardHandleP(), UtcDaliAnimationPlayFromN(), UtcDaliAnimationPlayFromP(), UtcDaliAnimationPlayOffStageP(), UtcDaliAnimationPlayP(), UtcDaliAnimationPlayStopDiscardHandleP(), UtcDaliAnimationSetCurrentProgressN(), UtcDaliAnimationSetCurrentProgressP(), UtcDaliAnimationSetDisconnectActionP(), UtcDaliAnimationSetDurationP(), UtcDaliAnimationSetEndActioN(), UtcDaliAnimationSetLoopCountP(), UtcDaliAnimationSetLoopCountP2(), UtcDaliAnimationSetLoopCountP3(), UtcDaliAnimationSetLoopCountP4(), UtcDaliAnimationSetLoopingP(), UtcDaliAnimationSetPlayRangeP(), UtcDaliAnimationSetSpeedFactorAndRange(), UtcDaliAnimationSignalOrderP(), UtcDaliAnimationStopP(), UtcDaliAnimationStopSetPositionP(), UtcDaliAnimationUpdateManagerP(), UtcDaliBaseHandleDoAction(), UtcDaliControlImplSizeAnimation(), UtcDaliCustomActorOnSizeAnimation(), UtcDaliPropertyNotificationOrder(), UtcDaliRenderTaskSetViewportPosition(), UtcDaliRenderTaskSetViewportSize(), UtcDaliToolkitScrollBarScrollPositionIntervalReachedSignalN(), UtcDaliToolkitScrollBarScrollPositionIntervalReachedSignalP(), UtcDaliToolkitScrollBarSetScrollPositionIntervalsP(), UtcDaliTypeRegistryAnimatablePropertyRegistrationP(), UtcDaliTypeRegistryAnimatablePropertyRegistrationWithDefaultP(), UtcLinearConstrainerApply(), UtcLinearConstrainerApplyRange(), UtcPathConstrainerApply(), and UtcPathConstrainerApplyRange().

Here is the call graph for this function:

void Dali::Animation::AnimateTo ( Property  target,
Property::Value  destinationValue,
AlphaFunction  alpha 
)

Animate a property to a destination value.

The effect will start & end when the animation begins & ends. .0

Parameters
[in]targetThe target object/property to animate.
[in]destinationValueThe destination value.
[in]alphaThe alpha function to apply.

Definition at line 193 of file animation.cpp.

References Dali::GetImplementation().

Here is the call graph for this function:

void Dali::Animation::AnimateTo ( Property  target,
Property::Value  destinationValue,
TimePeriod  period 
)

Animate a property to a destination value.

The default alpha function will be used. .0

Parameters
[in]targetThe target object/property to animate.
[in]destinationValueThe destination value.
[in]periodThe effect will occur during this time period.

Definition at line 198 of file animation.cpp.

References Dali::GetImplementation().

Here is the call graph for this function:

void Dali::Animation::AnimateTo ( Property  target,
Property::Value  destinationValue,
AlphaFunction  alpha,
TimePeriod  period 
)

Animate a property to a destination value.

.0

Parameters
[in]targetThe target object/property to animate.
[in]destinationValueThe destination value.
[in]alphaThe alpha function to apply.
[in]periodThe effect will occur during this time period.

Definition at line 203 of file animation.cpp.

References Dali::GetImplementation().

Here is the call graph for this function:

void Dali::Animation::Clear ( )
Animation Dali::Animation::DownCast ( BaseHandle  handle)
static

Downcast a handle to Animation handle.

If handle points to an Animation object the downcast produces valid handle. If not the returned handle is left uninitialized.

.0

Parameters
[in]handleHandle to an object
Returns
Handle to a Animation object or an uninitialized handle

Definition at line 47 of file animation.cpp.

References Animation(), and Dali::BaseHandle::GetObjectPtr().

Referenced by anonymous_namespace{utc-Dali-ObjectRegistry.cpp}::TestAnimationCallback::operator()(), UtcDaliAnimationDownCastN(), UtcDaliAnimationDownCastP(), and UtcDaliTypeRegistryGetTypeInfoFromTypeNameP().

Here is the call graph for this function:

Here is the caller graph for this function:

Animation::AnimationSignalType & Dali::Animation::FinishedSignal ( )

Connect to this signal to be notified when an Animation's animations have finished.

.0

Returns
A signal object to connect with.

Definition at line 163 of file animation.cpp.

References Dali::GetImplementation().

Referenced by Dali::Toolkit::Internal::ItemView::ActivateLayout(), Dali::Toolkit::Internal::ScrollView::AnimateInternalXTo(), Dali::Toolkit::Internal::ScrollView::AnimateInternalYTo(), Dali::Toolkit::Internal::ItemView::AnimateScrollOvershoot(), Dali::Toolkit::Internal::Button::GetTransitionAnimation(), Dali::Toolkit::Internal::TextSelectionPopup::HidePopup(), Dali::Toolkit::Internal::ScrollOvershootEffectRipple::OnOvershootAnimFinished(), Dali::Toolkit::Internal::ItemView::OnOvershootOnFinished(), Dali::Toolkit::Internal::ItemView::OnPan(), Dali::Toolkit::Internal::PageTurnPortraitView::OnPossibleOutwardsFlick(), Dali::Toolkit::Internal::ItemView::OnWheelEventFinished(), Dali::Toolkit::Internal::PageTurnView::PanFinished(), Dali::Toolkit::Internal::ItemView::ScrollTo(), Dali::Toolkit::Internal::ItemView::ScrollToItem(), Dali::Toolkit::Internal::ScrollOvershootEffectRipple::SetOvershoot(), Dali::Toolkit::Internal::ScrollView::SnapInternalXTo(), Dali::Toolkit::Internal::ScrollView::SnapInternalYTo(), Dali::Toolkit::Internal::CubeTransitionEffect::StartTransition(), Dali::Toolkit::Internal::Popup::StartTransitionAnimation(), UtcDaliAnimationAnimateAlphaFunctionP(), UtcDaliAnimationAnimateAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateBetweenActorColorAlphaCubicP(), UtcDaliAnimationAnimateBetweenActorColorAlphaFunctionCubicP(), UtcDaliAnimationAnimateBetweenActorColorAlphaFunctionP(), UtcDaliAnimationAnimateBetweenActorColorAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateBetweenActorColorAlphaP(), UtcDaliAnimationAnimateBetweenActorColorCubicP(), UtcDaliAnimationAnimateBetweenActorColorCubicWithDelayP(), UtcDaliAnimationAnimateBetweenActorColorP(), UtcDaliAnimationAnimateBetweenActorColorTimePeriodCubicP(), UtcDaliAnimationAnimateBetweenActorColorTimePeriodP(), UtcDaliAnimationAnimateBetweenActorOrientation01CubicP(), UtcDaliAnimationAnimateBetweenActorOrientation01P(), UtcDaliAnimationAnimateBetweenActorOrientation02CubicP(), UtcDaliAnimationAnimateBetweenActorOrientation02P(), UtcDaliAnimationAnimateBetweenActorVisibleCubicP(), UtcDaliAnimationAnimateBetweenActorVisibleP(), UtcDaliAnimationAnimateByActorOrientationAlphaFunctionP(), UtcDaliAnimationAnimateByActorOrientationAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByActorOrientationP(), UtcDaliAnimationAnimateByActorPositionAlphaFunctionP(), UtcDaliAnimationAnimateByActorPositionAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByActorPositionP(), UtcDaliAnimationAnimateByActorPositionTimePeriodP(), UtcDaliAnimationAnimateByActorScaleP(), UtcDaliAnimationAnimateByBooleanAlphaFunctionP(), UtcDaliAnimationAnimateByBooleanAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByBooleanP(), UtcDaliAnimationAnimateByBooleanTimePeriodP(), UtcDaliAnimationAnimateByFloatAlphaFunctionP(), UtcDaliAnimationAnimateByFloatAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByFloatP(), UtcDaliAnimationAnimateByFloatTimePeriodP(), UtcDaliAnimationAnimateByIntegerAlphaFunctionP(), UtcDaliAnimationAnimateByIntegerAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByIntegerP(), UtcDaliAnimationAnimateByIntegerTimePeriodP(), UtcDaliAnimationAnimateByVector2AlphaFunctionP(), UtcDaliAnimationAnimateByVector2AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByVector2P(), UtcDaliAnimationAnimateByVector2TimePeriodP(), UtcDaliAnimationAnimateByVector3AlphaFunctionP(), UtcDaliAnimationAnimateByVector3AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByVector3P(), UtcDaliAnimationAnimateByVector3TimePeriodP(), UtcDaliAnimationAnimateByVector4AlphaFunctionP(), UtcDaliAnimationAnimateByVector4AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByVector4P(), UtcDaliAnimationAnimateByVector4TimePeriodP(), UtcDaliAnimationAnimateP(), UtcDaliAnimationAnimateTimePeriodP(), UtcDaliAnimationAnimateToActorColorAlphaP(), UtcDaliAnimationAnimateToActorColorBlueP(), UtcDaliAnimationAnimateToActorColorGreenP(), UtcDaliAnimationAnimateToActorColorP(), UtcDaliAnimationAnimateToActorColorRedP(), UtcDaliAnimationAnimateToActorOrientationAlphaFunctionP(), UtcDaliAnimationAnimateToActorOrientationAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToActorOrientationAngleAxisP(), UtcDaliAnimationAnimateToActorOrientationQuaternionP(), UtcDaliAnimationAnimateToActorOrientationTimePeriodP(), UtcDaliAnimationAnimateToActorPositionAlphaFunctionP(), UtcDaliAnimationAnimateToActorPositionAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToActorPositionP(), UtcDaliAnimationAnimateToActorPositionTimePeriodP(), UtcDaliAnimationAnimateToActorPositionXP(), UtcDaliAnimationAnimateToActorPositionYP(), UtcDaliAnimationAnimateToActorPositionZP(), UtcDaliAnimationAnimateToActorScaleP(), UtcDaliAnimationAnimateToActorScaleXP(), UtcDaliAnimationAnimateToActorScaleYP(), UtcDaliAnimationAnimateToActorScaleZP(), UtcDaliAnimationAnimateToActorSizeDepthP(), UtcDaliAnimationAnimateToActorSizeHeightP(), UtcDaliAnimationAnimateToActorSizeP(), UtcDaliAnimationAnimateToActorSizeWidthHeightP(), UtcDaliAnimationAnimateToActorSizeWidthP(), UtcDaliAnimationAnimateToBooleanAlphaFunctionP(), UtcDaliAnimationAnimateToBooleanAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToBooleanP(), UtcDaliAnimationAnimateToBooleanTimePeriodP(), UtcDaliAnimationAnimateToFloatAlphaFunctionP(), UtcDaliAnimationAnimateToFloatAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToFloatP(), UtcDaliAnimationAnimateToFloatTimePeriodP(), UtcDaliAnimationAnimateToIntegerAlphaFunctionP(), UtcDaliAnimationAnimateToIntegerAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToIntegerP(), UtcDaliAnimationAnimateToIntegerTimePeriodP(), UtcDaliAnimationAnimateToVector2AlphaFunctionP(), UtcDaliAnimationAnimateToVector2AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToVector2P(), UtcDaliAnimationAnimateToVector2TimePeriodP(), UtcDaliAnimationAnimateToVector3AlphaFunctionP(), UtcDaliAnimationAnimateToVector3AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToVector3ComponentP(), UtcDaliAnimationAnimateToVector3P(), UtcDaliAnimationAnimateToVector3TimePeriodP(), UtcDaliAnimationAnimateToVector4AlphaFunctionP(), UtcDaliAnimationAnimateToVector4AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToVector4P(), UtcDaliAnimationAnimateToVector4TimePeriodP(), UtcDaliAnimationClearP(), UtcDaliAnimationCustomIntProperty(), UtcDaliAnimationExtendDurationP(), UtcDaliAnimationFinishedSignalP(), UtcDaliAnimationGetCurrentLoopP(), UtcDaliAnimationGetCurrentProgressP(), UtcDaliAnimationGetStateP(), UtcDaliAnimationHideP(), UtcDaliAnimationPauseP(), UtcDaliAnimationPlayDiscardHandleP(), UtcDaliAnimationPlayFromP(), UtcDaliAnimationPlayOffStageP(), UtcDaliAnimationPlayP(), UtcDaliAnimationPlayRangeP(), UtcDaliAnimationPlayStopDiscardHandleP(), UtcDaliAnimationSetCurrentProgressN(), UtcDaliAnimationSetCurrentProgressP(), UtcDaliAnimationSetDurationP(), UtcDaliAnimationSetEndActioN(), UtcDaliAnimationSetLoopCountP(), UtcDaliAnimationSetLoopCountP2(), UtcDaliAnimationSetLoopCountP3(), UtcDaliAnimationSetLoopCountP4(), UtcDaliAnimationSetLoopingP(), UtcDaliAnimationSetPlayRangeP(), UtcDaliAnimationSetSpeedFactorAndRange(), UtcDaliAnimationSetSpeedFactorP1(), UtcDaliAnimationSetSpeedFactorP2(), UtcDaliAnimationSetSpeedFactorP3(), UtcDaliAnimationSetSpeedFactorP4(), UtcDaliAnimationSetSpeedFactorRangeAndLoopCount01(), UtcDaliAnimationSetSpeedFactorRangeAndLoopCount02(), UtcDaliAnimationShowHideAtEndP(), UtcDaliAnimationShowP(), UtcDaliAnimationSignalOrderP(), UtcDaliAnimationStopP(), UtcDaliAnimationStopSetPositionP(), UtcDaliAnimationUpdateManagerP(), and UtcDaliBaseHandleDoAction().

Here is the call graph for this function:

int Dali::Animation::GetCurrentLoop ( )

Get the current loop count.

A value 0 to GetLoopCount() indicating the current loop count when looping.

.20

Returns
The current number of loops that have occured.

Definition at line 92 of file animation.cpp.

References Dali::GetImplementation().

Referenced by UtcDaliAnimationGetCurrentLoopP().

Here is the call graph for this function:

Here is the caller graph for this function:

float Dali::Animation::GetCurrentProgress ( )

Retrieve the current progress of the animation.

.0

Returns
The current progress as a normalized value between [0,1].

Definition at line 287 of file animation.cpp.

References Dali::GetImplementation().

Referenced by UtcDaliAnimationGetCurrentProgressP(), UtcDaliAnimationPlayFromN(), UtcDaliAnimationPlayRangeP(), UtcDaliAnimationSetCurrentProgressN(), UtcDaliAnimationSetCurrentProgressP(), UtcDaliTypeRegistryAnimatablePropertyRegistrationP(), and UtcDaliTypeRegistryAnimatablePropertyRegistrationWithDefaultP().

Here is the call graph for this function:

Here is the caller graph for this function:

AlphaFunction Dali::Animation::GetDefaultAlphaFunction ( ) const

Retrieve the default alpha function for an animation.

.0

Returns
The default alpha function.

Definition at line 127 of file animation.cpp.

References Dali::GetImplementation().

Referenced by UtcDaliAnimationGetDefaultAlphaFunctionP(), and UtcDaliAnimationSetDefaultAlphaFunctionP().

Here is the call graph for this function:

Here is the caller graph for this function:

Animation::EndAction Dali::Animation::GetDisconnectAction ( ) const

Returns the disconnect action.

.0

Returns
The disconnect action.

Definition at line 117 of file animation.cpp.

References Dali::GetImplementation().

Referenced by UtcDaliAnimationGetDisconnectActionP(), and UtcDaliAnimationSetDisconnectActionP().

Here is the call graph for this function:

Here is the caller graph for this function:

float Dali::Animation::GetDuration ( ) const

Retrieve the duration of an animation.

.0

Returns
The duration in seconds.

Definition at line 72 of file animation.cpp.

References Dali::GetImplementation().

Referenced by UtcDaliAnimationAssignmentOperatorP(), UtcDaliAnimationCopyConstructorP(), UtcDaliAnimationExtendDurationP(), UtcDaliAnimationGetDurationP(), UtcDaliAnimationNewN(), UtcDaliAnimationSetDurationN(), UtcDaliAnimationSetDurationP(), and UtcDaliBaseHandleDoAction().

Here is the call graph for this function:

Here is the caller graph for this function:

Dali::Animation::EndAction Dali::Animation::GetEndAction ( ) const

Returns the end action of the animation.

.0

Returns
The end action.

Definition at line 107 of file animation.cpp.

References Dali::GetImplementation().

Referenced by UtcDaliAnimationGetEndActionP(), and UtcDaliAnimationSetEndActioN().

Here is the call graph for this function:

Here is the caller graph for this function:

int Dali::Animation::GetLoopCount ( )

Get the loop count.

A zero is the same as SetLooping(true) ie repeat forever. The loop count is initially 1 for play once.

.20

Returns
The number of times to loop.

Definition at line 87 of file animation.cpp.

References Dali::GetImplementation().

Referenced by UtcDaliAnimationGetCurrentLoopP(), and UtcDaliAnimationGetLoopCountP().

Here is the call graph for this function:

Here is the caller graph for this function:

Vector2 Dali::Animation::GetPlayRange ( ) const

Get the playing range.

.0

Returns
The play range defined for the animation.

Definition at line 307 of file animation.cpp.

References Dali::GetImplementation().

Referenced by UtcDaliAnimationGetPlayRangeP(), UtcDaliAnimationSetPlayRangeN(), and UtcDaliAnimationSetPlayRangeP().

Here is the call graph for this function:

Here is the caller graph for this function:

float Dali::Animation::GetSpeedFactor ( ) const

Retrieve the speed factor of the animation.

.0

Returns
Speed factor

Definition at line 297 of file animation.cpp.

References Dali::GetImplementation().

Referenced by UtcDaliAnimationGetSpeedFactorP().

Here is the call graph for this function:

Here is the caller graph for this function:

Dali::Animation::State Dali::Animation::GetState ( ) const

Query the state of the animation.

.21

Returns
The Animation::State

Definition at line 148 of file animation.cpp.

References Dali::GetImplementation().

Referenced by Dali::Internal::SceneGraph::UpdateManager::IsAnimationRunning(), and UtcDaliAnimationGetStateP().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Animation::Hide ( Actor  actor,
float  delaySeconds 
)

Hide an actor during the animation.

.0

Parameters
[in]actorThe actor to animate.
[in]delaySecondsThe initial delay from the start of the animation.

Definition at line 277 of file animation.cpp.

References Dali::GetImplementation().

Referenced by UtcDaliAnimationHideP(), and UtcDaliAnimationShowHideAtEndP().

Here is the call graph for this function:

Here is the caller graph for this function:

bool Dali::Animation::IsLooping ( ) const

Query whether the animation will loop.

.0

Returns
True if the animation will loop.

Definition at line 97 of file animation.cpp.

References Dali::GetImplementation().

Referenced by UtcDaliAnimationGetCurrentLoopP(), UtcDaliAnimationGetLoopCountP(), UtcDaliAnimationIsLoopingP(), UtcDaliAnimationSetLoopCountP(), UtcDaliAnimationSetLoopCountP2(), UtcDaliAnimationSetLoopCountP3(), UtcDaliAnimationSetLoopCountP4(), and UtcDaliAnimationSetLoopingP().

Here is the call graph for this function:

Here is the caller graph for this function:

Animation Dali::Animation::New ( float  durationSeconds)
static

Create an initialized Animation.

The animation will not loop. The default end action is "Bake". The default alpha function is linear. .0

Parameters
[in]durationSecondsThe duration in seconds.
Returns
A handle to a newly allocated Dali resource.
Precondition
DurationSeconds must be greater than zero.

Definition at line 40 of file animation.cpp.

References Animation(), Dali::PropertyTypes::Get(), and Dali::Internal::Animation::New().

Referenced by Dali::Toolkit::Internal::ItemView::ActivateLayout(), Dali::Toolkit::Internal::ScrollView::AnimateInternalXTo(), Dali::Toolkit::Internal::ScrollView::AnimateInternalYTo(), Dali::Toolkit::Internal::ItemView::AnimateScrollOvershoot(), Dali::Internal::anonymous_namespace{animation-impl.cpp}::Create(), Dali::AnimationData::CreateAnimation(), Dali::Toolkit::Internal::CreateAnimation(), Dali::Toolkit::Internal::ItemView::DoAnchoring(), Dali::Toolkit::Internal::Button::GetTransitionAnimation(), Dali::Toolkit::Internal::ScrollBar::HideIndicator(), Dali::Toolkit::Internal::TextSelectionPopup::HidePopup(), Dali::Toolkit::Internal::ItemView::OnPan(), Dali::Toolkit::Internal::PageTurnPortraitView::OnPossibleOutwardsFlick(), Dali::Toolkit::Internal::PageTurnView::PanFinished(), Dali::Toolkit::Internal::ItemView::ScrollTo(), Dali::Toolkit::Internal::ItemView::ScrollToItem(), Dali::Toolkit::Internal::ScrollOvershootEffectRipple::SetOvershoot(), Dali::Toolkit::Internal::ScrollBar::ShowIndicator(), Dali::Toolkit::Internal::TextSelectionPopup::ShowPopup(), Dali::Toolkit::Internal::ScrollView::SnapInternalXTo(), Dali::Toolkit::Internal::ScrollView::SnapInternalYTo(), Dali::Toolkit::Internal::CubeTransitionEffect::StartTransition(), Dali::Toolkit::Internal::Popup::StartTransitionAnimation(), UtcDaliActorGetCurrentSizeImmediate(), UtcDaliAlignmentOnSizeAnimation(), UtcDaliAlphaFunctionBezier(), UtcDaliAnimationAnimateAlphaFunctionP(), UtcDaliAnimationAnimateAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateBetweenActorColorAlphaCubicP(), UtcDaliAnimationAnimateBetweenActorColorAlphaFunctionCubicP(), UtcDaliAnimationAnimateBetweenActorColorAlphaFunctionP(), UtcDaliAnimationAnimateBetweenActorColorAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateBetweenActorColorAlphaP(), UtcDaliAnimationAnimateBetweenActorColorCubicP(), UtcDaliAnimationAnimateBetweenActorColorCubicWithDelayP(), UtcDaliAnimationAnimateBetweenActorColorP(), UtcDaliAnimationAnimateBetweenActorColorTimePeriodCubicP(), UtcDaliAnimationAnimateBetweenActorColorTimePeriodP(), UtcDaliAnimationAnimateBetweenActorOrientation01CubicP(), UtcDaliAnimationAnimateBetweenActorOrientation01P(), UtcDaliAnimationAnimateBetweenActorOrientation02CubicP(), UtcDaliAnimationAnimateBetweenActorOrientation02P(), UtcDaliAnimationAnimateBetweenActorVisibleCubicP(), UtcDaliAnimationAnimateBetweenActorVisibleP(), UtcDaliAnimationAnimateByActorOrientationAlphaFunctionP(), UtcDaliAnimationAnimateByActorOrientationAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByActorOrientationP(), UtcDaliAnimationAnimateByActorPositionAlphaFunctionP(), UtcDaliAnimationAnimateByActorPositionAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByActorPositionP(), UtcDaliAnimationAnimateByActorPositionTimePeriodP(), UtcDaliAnimationAnimateByActorScaleP(), UtcDaliAnimationAnimateByBooleanAlphaFunctionP(), UtcDaliAnimationAnimateByBooleanAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByBooleanP(), UtcDaliAnimationAnimateByBooleanTimePeriodP(), UtcDaliAnimationAnimateByFloatAlphaFunctionP(), UtcDaliAnimationAnimateByFloatAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByFloatP(), UtcDaliAnimationAnimateByFloatTimePeriodP(), UtcDaliAnimationAnimateByIntegerAlphaFunctionP(), UtcDaliAnimationAnimateByIntegerAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByIntegerP(), UtcDaliAnimationAnimateByIntegerTimePeriodP(), UtcDaliAnimationAnimateByVector2AlphaFunctionP(), UtcDaliAnimationAnimateByVector2AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByVector2P(), UtcDaliAnimationAnimateByVector2TimePeriodP(), UtcDaliAnimationAnimateByVector3AlphaFunctionP(), UtcDaliAnimationAnimateByVector3AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByVector3P(), UtcDaliAnimationAnimateByVector3TimePeriodP(), UtcDaliAnimationAnimateByVector4AlphaFunctionP(), UtcDaliAnimationAnimateByVector4AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByVector4P(), UtcDaliAnimationAnimateByVector4TimePeriodP(), UtcDaliAnimationAnimateP(), UtcDaliAnimationAnimateTimePeriodP(), UtcDaliAnimationAnimateToActorAnchorPointP(), UtcDaliAnimationAnimateToActorAnchorPointXP(), UtcDaliAnimationAnimateToActorAnchorPointYP(), UtcDaliAnimationAnimateToActorAnchorPointZP(), UtcDaliAnimationAnimateToActorColorAlphaP(), UtcDaliAnimationAnimateToActorColorBlueP(), UtcDaliAnimationAnimateToActorColorGreenP(), UtcDaliAnimationAnimateToActorColorP(), UtcDaliAnimationAnimateToActorColorRedP(), UtcDaliAnimationAnimateToActorOrientationAlphaFunctionP(), UtcDaliAnimationAnimateToActorOrientationAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToActorOrientationAngleAxisP(), UtcDaliAnimationAnimateToActorOrientationQuaternionP(), UtcDaliAnimationAnimateToActorOrientationTimePeriodP(), UtcDaliAnimationAnimateToActorParentOriginP(), UtcDaliAnimationAnimateToActorParentOriginXP(), UtcDaliAnimationAnimateToActorParentOriginYP(), UtcDaliAnimationAnimateToActorParentOriginZP(), UtcDaliAnimationAnimateToActorPositionAlphaFunctionP(), UtcDaliAnimationAnimateToActorPositionAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToActorPositionP(), UtcDaliAnimationAnimateToActorPositionTimePeriodP(), UtcDaliAnimationAnimateToActorPositionXP(), UtcDaliAnimationAnimateToActorPositionYP(), UtcDaliAnimationAnimateToActorPositionZP(), UtcDaliAnimationAnimateToActorScaleP(), UtcDaliAnimationAnimateToActorScaleXP(), UtcDaliAnimationAnimateToActorScaleYP(), UtcDaliAnimationAnimateToActorScaleZP(), UtcDaliAnimationAnimateToActorSizeDepthP(), UtcDaliAnimationAnimateToActorSizeHeightP(), UtcDaliAnimationAnimateToActorSizeP(), UtcDaliAnimationAnimateToActorSizeWidthHeightP(), UtcDaliAnimationAnimateToActorSizeWidthP(), UtcDaliAnimationAnimateToBooleanAlphaFunctionP(), UtcDaliAnimationAnimateToBooleanAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToBooleanP(), UtcDaliAnimationAnimateToBooleanTimePeriodP(), UtcDaliAnimationAnimateToFloatAlphaFunctionP(), UtcDaliAnimationAnimateToFloatAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToFloatP(), UtcDaliAnimationAnimateToFloatTimePeriodP(), UtcDaliAnimationAnimateToIntegerAlphaFunctionP(), UtcDaliAnimationAnimateToIntegerAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToIntegerP(), UtcDaliAnimationAnimateToIntegerTimePeriodP(), UtcDaliAnimationAnimateToVector2AlphaFunctionP(), UtcDaliAnimationAnimateToVector2AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToVector2P(), UtcDaliAnimationAnimateToVector2TimePeriodP(), UtcDaliAnimationAnimateToVector3AlphaFunctionP(), UtcDaliAnimationAnimateToVector3AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToVector3ComponentP(), UtcDaliAnimationAnimateToVector3P(), UtcDaliAnimationAnimateToVector3TimePeriodP(), UtcDaliAnimationAnimateToVector4AlphaFunctionP(), UtcDaliAnimationAnimateToVector4AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToVector4P(), UtcDaliAnimationAnimateToVector4TimePeriodP(), UtcDaliAnimationAssignmentOperatorP(), UtcDaliAnimationClearP(), UtcDaliAnimationCopyConstructorP(), UtcDaliAnimationCustomIntProperty(), UtcDaliAnimationDownCastP(), UtcDaliAnimationExtendDurationP(), UtcDaliAnimationFinishedSignalP(), UtcDaliAnimationGetCurrentLoopP(), UtcDaliAnimationGetCurrentProgressP(), UtcDaliAnimationGetDefaultAlphaFunctionP(), UtcDaliAnimationGetDisconnectActionP(), UtcDaliAnimationGetDurationP(), UtcDaliAnimationGetEndActionP(), UtcDaliAnimationGetLoopCountP(), UtcDaliAnimationGetPlayRangeP(), UtcDaliAnimationGetSpeedFactorP(), UtcDaliAnimationGetStateP(), UtcDaliAnimationHideP(), UtcDaliAnimationIsLoopingP(), UtcDaliAnimationNewN(), UtcDaliAnimationNewP(), UtcDaliAnimationPauseP(), UtcDaliAnimationPlayDiscardHandleP(), UtcDaliAnimationPlayFromN(), UtcDaliAnimationPlayFromP(), UtcDaliAnimationPlayOffStageP(), UtcDaliAnimationPlayP(), UtcDaliAnimationPlayRangeP(), UtcDaliAnimationPlayStopDiscardHandleP(), UtcDaliAnimationSetCurrentProgressN(), UtcDaliAnimationSetCurrentProgressP(), UtcDaliAnimationSetDefaultAlphaFunctionP(), UtcDaliAnimationSetDisconnectActionP(), UtcDaliAnimationSetDurationN(), UtcDaliAnimationSetDurationP(), UtcDaliAnimationSetEndActioN(), UtcDaliAnimationSetLoopCountP(), UtcDaliAnimationSetLoopCountP2(), UtcDaliAnimationSetLoopCountP3(), UtcDaliAnimationSetLoopCountP4(), UtcDaliAnimationSetLoopingP(), UtcDaliAnimationSetPlayRangeN(), UtcDaliAnimationSetPlayRangeP(), UtcDaliAnimationSetSpeedFactorAndRange(), UtcDaliAnimationSetSpeedFactorP1(), UtcDaliAnimationSetSpeedFactorP2(), UtcDaliAnimationSetSpeedFactorP3(), UtcDaliAnimationSetSpeedFactorP4(), UtcDaliAnimationSetSpeedFactorRangeAndLoopCount01(), UtcDaliAnimationSetSpeedFactorRangeAndLoopCount02(), UtcDaliAnimationShowHideAtEndP(), UtcDaliAnimationShowP(), UtcDaliAnimationSignalOrderP(), UtcDaliAnimationStopP(), UtcDaliAnimationStopSetPositionP(), UtcDaliAnimationUpdateManagerP(), UtcDaliBaseHandleDoAction(), UtcDaliBubbleEmitterEmitBubble(), UtcDaliBubbleEmitterRestore(), UtcDaliControlImplSizeAnimation(), UtcDaliCustomActorOnSizeAnimation(), UtcDaliGeometryAnimatedProperty01(), UtcDaliGeometryAnimatedProperty02(), UtcDaliHandleNonAnimtableProperties(), UtcDaliMaterialAnimatedProperty01(), UtcDaliMaterialAnimatedProperty02(), UtcDaliObjectRegistrySignalAnimationCreated(), UtcDaliPropertyNotificationOrder(), UtcDaliRendererAnimatedProperty01(), UtcDaliRendererAnimatedProperty02(), UtcDaliRendererUniformMapPrecendence01(), UtcDaliRendererUniformMapPrecendence02(), UtcDaliRendererUniformMapPrecendence03(), UtcDaliRendererUniformMapPrecendence04(), UtcDaliRendererUniformMapPrecendence05(), UtcDaliRenderTaskSetViewportPosition(), UtcDaliRenderTaskSetViewportSize(), UtcDaliShaderAnimatedProperty01(), UtcDaliShaderAnimatedProperty02(), UtcDaliToolkitScrollBarScrollPositionIntervalReachedSignalN(), UtcDaliToolkitScrollBarScrollPositionIntervalReachedSignalP(), UtcDaliToolkitScrollBarSetScrollPositionIntervalsP(), UtcDaliTypeRegistryAnimatablePropertyRegistrationP(), UtcDaliTypeRegistryAnimatablePropertyRegistrationWithDefaultP(), UtcLinearConstrainerApply(), UtcLinearConstrainerApplyRange(), UtcPathConstrainerApply(), and UtcPathConstrainerApplyRange().

Here is the call graph for this function:

Animation & Dali::Animation::operator= ( const Animation rhs)

This assignment operator is required for (smart) pointer semantics.

.0

Parameters
[in]rhsA reference to the copied handle
Returns
A reference to this

Definition at line 61 of file animation.cpp.

References Dali::BaseHandle::operator=().

Here is the call graph for this function:

void Dali::Animation::Pause ( )

Pause the animation.

.0

Definition at line 143 of file animation.cpp.

References Dali::GetImplementation().

Referenced by Dali::Toolkit::Internal::CubeTransitionEffect::PauseTransition(), UtcDaliAnimationGetStateP(), and UtcDaliAnimationPauseP().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Animation::Play ( )

Play the animation.

.0

Definition at line 132 of file animation.cpp.

References Dali::GetImplementation().

Referenced by Dali::Toolkit::Internal::ItemView::ActivateLayout(), Dali::Toolkit::Internal::ScrollView::AnimateInternalXTo(), Dali::Toolkit::Internal::ScrollView::AnimateInternalYTo(), Dali::Toolkit::Internal::ItemView::AnimateScrollOvershoot(), Dali::Toolkit::Internal::ScrollBar::HideIndicator(), Dali::Toolkit::Internal::TextSelectionPopup::HidePopup(), Dali::Toolkit::Internal::ItemView::OnPan(), Dali::Toolkit::Internal::PageTurnPortraitView::OnPossibleOutwardsFlick(), Dali::Toolkit::Internal::CubeTransitionCrossEffect::OnStartTransition(), Dali::Toolkit::Internal::CubeTransitionFoldEffect::OnStartTransition(), Dali::Toolkit::Internal::CubeTransitionWaveEffect::OnStartTransition(), Dali::Toolkit::Internal::ItemView::OnWheelEventFinished(), anonymous_namespace{builder-signals.cpp}::DelayedAnimationPlay::operator()(), Dali::Toolkit::Internal::PageTurnView::PanFinished(), Dali::Toolkit::Internal::CubeTransitionEffect::ResumeTransition(), Dali::Toolkit::Internal::ItemView::ScrollTo(), Dali::Toolkit::Internal::ItemView::ScrollToItem(), Dali::Toolkit::Internal::ScrollOvershootEffectRipple::SetOvershoot(), Dali::Toolkit::Internal::ScrollBar::ShowIndicator(), Dali::Toolkit::Internal::TextSelectionPopup::ShowPopup(), Dali::Toolkit::Internal::ScrollView::SnapInternalXTo(), Dali::Toolkit::Internal::ScrollView::SnapInternalYTo(), Dali::Toolkit::Internal::Popup::StartTransitionAnimation(), Dali::Toolkit::Internal::Button::StartTransitionAnimation(), UtcDaliActorGetCurrentSizeImmediate(), UtcDaliAlignmentOnSizeAnimation(), UtcDaliAlphaFunctionBezier(), UtcDaliAnimationAnimateAlphaFunctionP(), UtcDaliAnimationAnimateAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateBetweenActorColorAlphaCubicP(), UtcDaliAnimationAnimateBetweenActorColorAlphaFunctionCubicP(), UtcDaliAnimationAnimateBetweenActorColorAlphaFunctionP(), UtcDaliAnimationAnimateBetweenActorColorAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateBetweenActorColorAlphaP(), UtcDaliAnimationAnimateBetweenActorColorCubicP(), UtcDaliAnimationAnimateBetweenActorColorCubicWithDelayP(), UtcDaliAnimationAnimateBetweenActorColorP(), UtcDaliAnimationAnimateBetweenActorColorTimePeriodCubicP(), UtcDaliAnimationAnimateBetweenActorColorTimePeriodP(), UtcDaliAnimationAnimateBetweenActorOrientation01CubicP(), UtcDaliAnimationAnimateBetweenActorOrientation01P(), UtcDaliAnimationAnimateBetweenActorOrientation02CubicP(), UtcDaliAnimationAnimateBetweenActorOrientation02P(), UtcDaliAnimationAnimateBetweenActorVisibleCubicP(), UtcDaliAnimationAnimateBetweenActorVisibleP(), UtcDaliAnimationAnimateByActorOrientationAlphaFunctionP(), UtcDaliAnimationAnimateByActorOrientationAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByActorOrientationP(), UtcDaliAnimationAnimateByActorPositionAlphaFunctionP(), UtcDaliAnimationAnimateByActorPositionAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByActorPositionP(), UtcDaliAnimationAnimateByActorPositionTimePeriodP(), UtcDaliAnimationAnimateByActorScaleP(), UtcDaliAnimationAnimateByBooleanAlphaFunctionP(), UtcDaliAnimationAnimateByBooleanAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByBooleanP(), UtcDaliAnimationAnimateByBooleanTimePeriodP(), UtcDaliAnimationAnimateByFloatAlphaFunctionP(), UtcDaliAnimationAnimateByFloatAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByFloatP(), UtcDaliAnimationAnimateByFloatTimePeriodP(), UtcDaliAnimationAnimateByIntegerAlphaFunctionP(), UtcDaliAnimationAnimateByIntegerAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByIntegerP(), UtcDaliAnimationAnimateByIntegerTimePeriodP(), UtcDaliAnimationAnimateByVector2AlphaFunctionP(), UtcDaliAnimationAnimateByVector2AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByVector2P(), UtcDaliAnimationAnimateByVector2TimePeriodP(), UtcDaliAnimationAnimateByVector3AlphaFunctionP(), UtcDaliAnimationAnimateByVector3AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByVector3P(), UtcDaliAnimationAnimateByVector3TimePeriodP(), UtcDaliAnimationAnimateByVector4AlphaFunctionP(), UtcDaliAnimationAnimateByVector4AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByVector4P(), UtcDaliAnimationAnimateByVector4TimePeriodP(), UtcDaliAnimationAnimateP(), UtcDaliAnimationAnimateTimePeriodP(), UtcDaliAnimationAnimateToActorColorAlphaP(), UtcDaliAnimationAnimateToActorColorBlueP(), UtcDaliAnimationAnimateToActorColorGreenP(), UtcDaliAnimationAnimateToActorColorP(), UtcDaliAnimationAnimateToActorColorRedP(), UtcDaliAnimationAnimateToActorOrientationAlphaFunctionP(), UtcDaliAnimationAnimateToActorOrientationAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToActorOrientationAngleAxisP(), UtcDaliAnimationAnimateToActorOrientationQuaternionP(), UtcDaliAnimationAnimateToActorOrientationTimePeriodP(), UtcDaliAnimationAnimateToActorPositionAlphaFunctionP(), UtcDaliAnimationAnimateToActorPositionAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToActorPositionP(), UtcDaliAnimationAnimateToActorPositionTimePeriodP(), UtcDaliAnimationAnimateToActorPositionXP(), UtcDaliAnimationAnimateToActorPositionYP(), UtcDaliAnimationAnimateToActorPositionZP(), UtcDaliAnimationAnimateToActorScaleP(), UtcDaliAnimationAnimateToActorScaleXP(), UtcDaliAnimationAnimateToActorScaleYP(), UtcDaliAnimationAnimateToActorScaleZP(), UtcDaliAnimationAnimateToActorSizeDepthP(), UtcDaliAnimationAnimateToActorSizeHeightP(), UtcDaliAnimationAnimateToActorSizeP(), UtcDaliAnimationAnimateToActorSizeWidthHeightP(), UtcDaliAnimationAnimateToActorSizeWidthP(), UtcDaliAnimationAnimateToBooleanAlphaFunctionP(), UtcDaliAnimationAnimateToBooleanAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToBooleanP(), UtcDaliAnimationAnimateToBooleanTimePeriodP(), UtcDaliAnimationAnimateToFloatAlphaFunctionP(), UtcDaliAnimationAnimateToFloatAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToFloatP(), UtcDaliAnimationAnimateToFloatTimePeriodP(), UtcDaliAnimationAnimateToIntegerAlphaFunctionP(), UtcDaliAnimationAnimateToIntegerAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToIntegerP(), UtcDaliAnimationAnimateToIntegerTimePeriodP(), UtcDaliAnimationAnimateToVector2AlphaFunctionP(), UtcDaliAnimationAnimateToVector2AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToVector2P(), UtcDaliAnimationAnimateToVector2TimePeriodP(), UtcDaliAnimationAnimateToVector3AlphaFunctionP(), UtcDaliAnimationAnimateToVector3AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToVector3ComponentP(), UtcDaliAnimationAnimateToVector3P(), UtcDaliAnimationAnimateToVector3TimePeriodP(), UtcDaliAnimationAnimateToVector4AlphaFunctionP(), UtcDaliAnimationAnimateToVector4AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToVector4P(), UtcDaliAnimationAnimateToVector4TimePeriodP(), UtcDaliAnimationClearP(), UtcDaliAnimationCustomIntProperty(), UtcDaliAnimationExtendDurationP(), UtcDaliAnimationFinishedSignalP(), UtcDaliAnimationGetCurrentLoopP(), UtcDaliAnimationGetCurrentProgressP(), UtcDaliAnimationGetLoopCountP(), UtcDaliAnimationGetStateP(), UtcDaliAnimationHideP(), UtcDaliAnimationPauseP(), UtcDaliAnimationPlayDiscardHandleP(), UtcDaliAnimationPlayFromP(), UtcDaliAnimationPlayOffStageP(), UtcDaliAnimationPlayP(), UtcDaliAnimationPlayRangeP(), UtcDaliAnimationPlayStopDiscardHandleP(), UtcDaliAnimationSetCurrentProgressP(), UtcDaliAnimationSetDisconnectActionP(), UtcDaliAnimationSetDurationP(), UtcDaliAnimationSetEndActioN(), UtcDaliAnimationSetLoopCountP(), UtcDaliAnimationSetLoopCountP2(), UtcDaliAnimationSetLoopCountP4(), UtcDaliAnimationSetLoopingP(), UtcDaliAnimationSetPlayRangeP(), UtcDaliAnimationSetSpeedFactorAndRange(), UtcDaliAnimationSetSpeedFactorP1(), UtcDaliAnimationSetSpeedFactorP2(), UtcDaliAnimationSetSpeedFactorP3(), UtcDaliAnimationSetSpeedFactorP4(), UtcDaliAnimationSetSpeedFactorRangeAndLoopCount01(), UtcDaliAnimationSetSpeedFactorRangeAndLoopCount02(), UtcDaliAnimationShowHideAtEndP(), UtcDaliAnimationShowP(), UtcDaliAnimationSignalOrderP(), UtcDaliAnimationStopP(), UtcDaliAnimationStopSetPositionP(), UtcDaliAnimationUpdateManagerP(), UtcDaliBubbleEmitterEmitBubble(), UtcDaliBubbleEmitterRestore(), UtcDaliControlImplSizeAnimation(), UtcDaliGeometryAnimatedProperty01(), UtcDaliGeometryAnimatedProperty02(), UtcDaliHandleNonAnimtableProperties(), UtcDaliMaterialAnimatedProperty01(), UtcDaliMaterialAnimatedProperty02(), UtcDaliPropertyNotificationOrder(), UtcDaliRendererAnimatedProperty01(), UtcDaliRendererAnimatedProperty02(), UtcDaliRendererUniformMapPrecendence01(), UtcDaliRendererUniformMapPrecendence02(), UtcDaliRendererUniformMapPrecendence03(), UtcDaliRendererUniformMapPrecendence04(), UtcDaliRendererUniformMapPrecendence05(), UtcDaliRenderTaskSetViewportPosition(), UtcDaliRenderTaskSetViewportSize(), UtcDaliShaderAnimatedProperty01(), UtcDaliShaderAnimatedProperty02(), UtcDaliToolkitScrollBarScrollPositionIntervalReachedSignalN(), UtcDaliToolkitScrollBarScrollPositionIntervalReachedSignalP(), UtcDaliToolkitScrollBarSetScrollPositionIntervalsP(), UtcDaliTypeRegistryAnimatablePropertyRegistrationP(), UtcDaliTypeRegistryAnimatablePropertyRegistrationWithDefaultP(), UtcDaliTypeRegistryGetTypeInfoFromTypeNameP(), UtcLinearConstrainerApply(), UtcLinearConstrainerApplyRange(), UtcPathConstrainerApply(), and UtcPathConstrainerApplyRange().

Here is the call graph for this function:

void Dali::Animation::PlayFrom ( float  progress)

Play the animation from a given point.

The progress must be in the 0-1 interval or in the play range interval if defined ( See Animation::SetPlayRange ), otherwise, it will be ignored.

.0

Parameters
[in]progressA value between [0,1], or between the play range if specified, form where the animation should start playing

Definition at line 137 of file animation.cpp.

References Dali::GetImplementation().

Referenced by UtcDaliAnimationPlayFromN(), and UtcDaliAnimationPlayFromP().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Animation::SetCurrentProgress ( float  progress)
void Dali::Animation::SetDefaultAlphaFunction ( AlphaFunction  alpha)

Set the default alpha function for an animation.

This is applied to individual property animations, if no further alpha functions are supplied. .0

Parameters
[in]alphaThe default alpha function.

Definition at line 122 of file animation.cpp.

References Dali::GetImplementation().

Referenced by UtcDaliAnimationGetDefaultAlphaFunctionP(), and UtcDaliAnimationSetDefaultAlphaFunctionP().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Animation::SetDisconnectAction ( Animation::EndAction  disconnectAction)

Set the disconnect action.

If any of the animated property owners are disconnected from the stage while the animation is being played, then this action is performed. Default action is to BakeFinal. .0

Parameters
[in]disconnectActionThe disconnect action.

Definition at line 112 of file animation.cpp.

References Dali::GetImplementation().

Referenced by Dali::Toolkit::Internal::CreateAnimation(), UtcDaliAnimationGetDisconnectActionP(), UtcDaliAnimationPlayOffStageP(), and UtcDaliAnimationSetDisconnectActionP().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Animation::SetDuration ( float  seconds)

Set the duration of an animation.

.0

Parameters
[in]secondsThe duration in seconds.
Precondition
DurationSeconds must be greater than zero.

Definition at line 67 of file animation.cpp.

References Dali::GetImplementation().

Referenced by Dali::Toolkit::Internal::CreateAnimation(), Dali::Toolkit::Internal::Popup::StartTransitionAnimation(), UtcDaliAnimationGetCurrentProgressP(), UtcDaliAnimationGetDurationP(), UtcDaliAnimationSetCurrentProgressN(), UtcDaliAnimationSetCurrentProgressP(), UtcDaliAnimationSetDurationN(), and UtcDaliAnimationSetDurationP().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Animation::SetEndAction ( EndAction  action)

Set the end action of the animation.

This action is performed when the animation ends or if it is stopped. Default end action is bake .0

Parameters
[in]actionThe end action.

Definition at line 102 of file animation.cpp.

References Dali::GetImplementation().

Referenced by Dali::Toolkit::Internal::CreateAnimation(), UtcDaliAnimationGetEndActionP(), UtcDaliAnimationSetEndActioN(), UtcDaliAnimationSetLoopCountP2(), UtcDaliAnimationSetLoopCountP3(), and UtcDaliAnimationSetLoopCountP4().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Animation::SetLoopCount ( int  count)

Enable looping for 'count' repeats.

A zero is the same as SetLooping(true) ie repeat forever. If Play() Stop() or 'count' loops is reached, the loop counter will reset. Setting this parameter does not cause the animation to Play()

.20

Parameters
[in]countThe number of times to loop.

Definition at line 82 of file animation.cpp.

References Dali::GetImplementation().

Referenced by UtcDaliAnimationGetCurrentLoopP(), UtcDaliAnimationGetLoopCountP(), UtcDaliAnimationSetLoopCountP(), UtcDaliAnimationSetLoopCountP2(), UtcDaliAnimationSetLoopCountP3(), UtcDaliAnimationSetLoopCountP4(), UtcDaliAnimationSetSpeedFactorRangeAndLoopCount01(), and UtcDaliAnimationSetSpeedFactorRangeAndLoopCount02().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Animation::SetLooping ( bool  looping)

Set whether the animation will loop.

This function resets the loop count and should not be used with SetLoopCount(int). Setting this parameter does not cause the animation to Play()

.0

Parameters
[in]loopingTrue if the animation will loop.

Definition at line 77 of file animation.cpp.

References Dali::GetImplementation().

Referenced by Dali::Toolkit::Internal::CreateAnimation(), UtcDaliAnimationIsLoopingP(), UtcDaliAnimationPlayRangeP(), UtcDaliAnimationSetLoopCountP2(), UtcDaliAnimationSetLoopCountP3(), UtcDaliAnimationSetLoopingP(), and UtcDaliAnimationSetSpeedFactorAndRange().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Animation::SetPlayRange ( const Vector2 range)

Set the playing range.

Animation will play between the values specified. Both values ( range.x and range.y ) should be between 0-1, otherwise they will be ignored. If the range provided is not in proper order ( minimum,maximum ), it will be reordered.

.0

Parameters
[in]rangeTwo values between [0,1] to specify minimum and maximum progress. The animation will play between those values.

Definition at line 302 of file animation.cpp.

References Dali::GetImplementation().

Referenced by UtcDaliAnimationGetPlayRangeP(), UtcDaliAnimationPlayRangeP(), UtcDaliAnimationSetPlayRangeN(), UtcDaliAnimationSetPlayRangeP(), UtcDaliAnimationSetSpeedFactorAndRange(), UtcDaliAnimationSetSpeedFactorRangeAndLoopCount01(), and UtcDaliAnimationSetSpeedFactorRangeAndLoopCount02().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Animation::SetSpeedFactor ( float  factor)

Specifies an speed factor for the animation.

The speed factor is a multiplier of the normal velocity of the animation. Values between [0,1] will slow down the animation and values above one will speed up the animation. It is also possible to specify a negative multiplier to play the animation in reverse.

.0

Parameters
[in]factorA value which will multiply the velocity.

Definition at line 292 of file animation.cpp.

References Dali::GetImplementation().

Referenced by UtcDaliAnimationGetSpeedFactorP(), UtcDaliAnimationSetSpeedFactorAndRange(), UtcDaliAnimationSetSpeedFactorP1(), UtcDaliAnimationSetSpeedFactorP2(), UtcDaliAnimationSetSpeedFactorP3(), UtcDaliAnimationSetSpeedFactorP4(), UtcDaliAnimationSetSpeedFactorRangeAndLoopCount01(), and UtcDaliAnimationSetSpeedFactorRangeAndLoopCount02().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Animation::Show ( Actor  actor,
float  delaySeconds 
)

Show an actor during the animation.

.0

Parameters
[in]actorThe actor to animate.
[in]delaySecondsThe initial delay from the start of the animation.

Definition at line 272 of file animation.cpp.

References Dali::GetImplementation().

Referenced by UtcDaliAnimationShowP().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Animation::Stop ( )

The documentation for this class was generated from the following files:
Dali Docs Home
Read more about Dali