Dali 3D User Interface Engine
Classes | Functions | Variables
anonymous_namespace{utc-Dali-CubeTransitionEffect.cpp} Namespace Reference

Classes

class  TransitionCompletedCallback
 

Functions

const Vector2 PAN_DISPLACEMENT1 (-5.f, 5.f)
 
const Vector2 PAN_DISPLACEMENT2 (5.f, 5.f)
 
const Vector4 FULL_BRIGHTNESS (1.f, 1.f, 1.f, 1.f)
 
static void TestCallback (BaseHandle handle)
 
void Wait (ToolkitTestApplication &application, float durationToPass)
 Simulate time passed by, waiting for certain process to finish. More...
 

Variables

const unsigned int NUM_ROWS = 16
 
const unsigned int NUM_COLUMNS = 10
 
const Vector2 VIEW_AREA_SIZE (480.0f, 800.0f)
 
const float TRANSITION_DURATION = 0.5f
 
const float CUBE_DISPLACEMENT = 55.f
 
const Vector2 PAN_POSITION1 (VIEW_AREA_SIZE.x *0.75f, VIEW_AREA_SIZE.y *0.25f)
 
const Vector2 PAN_POSITION2 (VIEW_AREA_SIZE.x *0.25f, VIEW_AREA_SIZE.y *0.75f)
 
const Vector4 HALF_BRIGHTNESS (0.5f, 0.5f, 0.5f, 1.f)
 
const int RENDER_FRAME_INTERVAL = 16
 
static const float FLT_EPISILON = 0.0001f
 
static const float EPISILON = 0.05f
 
const float TRANSITION_BEFORE_END_DURATION = TRANSITION_DURATION - 0.05f
 
static bool gObjectCreatedCallBackCalled
 

Function Documentation

const Vector4 anonymous_namespace{utc-Dali-CubeTransitionEffect.cpp}::FULL_BRIGHTNESS ( 1.  f,
1.  f,
1.  f,
1.  f 
)
const Vector2 anonymous_namespace{utc-Dali-CubeTransitionEffect.cpp}::PAN_DISPLACEMENT1 ( -5.  f,
5.  f 
)
const Vector2 anonymous_namespace{utc-Dali-CubeTransitionEffect.cpp}::PAN_DISPLACEMENT2 ( 5.  f,
5.  f 
)
static void anonymous_namespace{utc-Dali-CubeTransitionEffect.cpp}::TestCallback ( BaseHandle  handle)
static

Definition at line 53 of file utc-Dali-CubeTransitionEffect.cpp.

void anonymous_namespace{utc-Dali-CubeTransitionEffect.cpp}::Wait ( ToolkitTestApplication application,
float  durationToPass 
)

Simulate time passed by, waiting for certain process to finish.

Parameters
[in]applicationTest application instance
[in]durationToPassTime to pass in milliseconds.

Definition at line 63 of file utc-Dali-CubeTransitionEffect.cpp.

References Dali::TestApplication::Render(), and Dali::TestApplication::SendNotification().

Here is the call graph for this function:

Variable Documentation

const float anonymous_namespace{utc-Dali-CubeTransitionEffect.cpp}::CUBE_DISPLACEMENT = 55.f
const float anonymous_namespace{utc-Dali-CubeTransitionEffect.cpp}::EPISILON = 0.05f
static
const float anonymous_namespace{utc-Dali-CubeTransitionEffect.cpp}::FLT_EPISILON = 0.0001f
static
bool anonymous_namespace{utc-Dali-CubeTransitionEffect.cpp}::gObjectCreatedCallBackCalled
static

Definition at line 52 of file utc-Dali-CubeTransitionEffect.cpp.

const Vector4 anonymous_namespace{utc-Dali-CubeTransitionEffect.cpp}::HALF_BRIGHTNESS(0.5f, 0.5f, 0.5f, 1.f)
const unsigned int anonymous_namespace{utc-Dali-CubeTransitionEffect.cpp}::NUM_COLUMNS = 10
const unsigned int anonymous_namespace{utc-Dali-CubeTransitionEffect.cpp}::NUM_ROWS = 16
const Vector2 anonymous_namespace{utc-Dali-CubeTransitionEffect.cpp}::PAN_POSITION1(VIEW_AREA_SIZE.x *0.75f, VIEW_AREA_SIZE.y *0.25f)
const Vector2 anonymous_namespace{utc-Dali-CubeTransitionEffect.cpp}::PAN_POSITION2(VIEW_AREA_SIZE.x *0.25f, VIEW_AREA_SIZE.y *0.75f)
const int anonymous_namespace{utc-Dali-CubeTransitionEffect.cpp}::RENDER_FRAME_INTERVAL = 16

Definition at line 47 of file utc-Dali-CubeTransitionEffect.cpp.

const float anonymous_namespace{utc-Dali-CubeTransitionEffect.cpp}::TRANSITION_BEFORE_END_DURATION = TRANSITION_DURATION - 0.05f
const float anonymous_namespace{utc-Dali-CubeTransitionEffect.cpp}::TRANSITION_DURATION = 0.5f
const Vector2 anonymous_namespace{utc-Dali-CubeTransitionEffect.cpp}::VIEW_AREA_SIZE(480.0f, 800.0f)
Dali Docs Home
Read more about Dali