Dali 3D User Interface Engine
Classes | Namespaces | Functions | Variables
utc-Dali-PageTurnView.cpp File Reference
#include <iostream>
#include <stdlib.h>
#include <string.h>
#include <sstream>
#include <dali-toolkit-test-suite-utils.h>
#include <dali/integration-api/events/pan-gesture-event.h>
#include <dali-toolkit/public-api/controls/page-turn-view/page-factory.h>
#include <dali-toolkit/public-api/controls/page-turn-view/page-turn-landscape-view.h>
#include <dali-toolkit/public-api/controls/page-turn-view/page-turn-portrait-view.h>
#include <dali-toolkit/public-api/controls/page-turn-view/page-turn-view.h>
Include dependency graph for utc-Dali-PageTurnView.cpp:

Go to the source code of this file.

Classes

class  anonymous_namespace{utc-Dali-PageTurnView.cpp}::PageSignalCallback
 
class  anonymous_namespace{utc-Dali-PageTurnView.cpp}::TestPageFactory
 

Namespaces

namespace  anonymous_namespace{utc-Dali-PageTurnView.cpp}
 

Functions

const Vector2 anonymous_namespace{utc-Dali-PageTurnView.cpp}::PAGE_SIZE (300.f, 400.f)
 
static void anonymous_namespace{utc-Dali-PageTurnView.cpp}::TestCallback (BaseHandle handle)
 
void anonymous_namespace{utc-Dali-PageTurnView.cpp}::Wait (ToolkitTestApplication &application, int duration=0)
 
Integration::PanGestureEvent anonymous_namespace{utc-Dali-PageTurnView.cpp}::GeneratePan (Gesture::State state, const Vector2 &previousPosition, const Vector2 &currentPosition, unsigned long timeDelta, unsigned int numberOfTouches=1)
 
static void anonymous_namespace{utc-Dali-PageTurnView.cpp}::SendPan (ToolkitTestApplication &application, Gesture::State state, const Vector2 &pos)
 Helper to generate PanGestureEvent. More...
 
static Vector2 anonymous_namespace{utc-Dali-PageTurnView.cpp}::PerformGestureDiagonalSwipe (ToolkitTestApplication &application, Vector2 start, Vector2 direction, int frames, bool toStart=true, bool toFinish=true)
 
void dali_page_turn_view_startup (void)
 
void dali_page_turn_view_cleanup (void)
 
int UtcDaliPageTurnPortraitViewNew (void)
 
int UtcDaliPageTurnLandscapeViewNew (void)
 
int UtcDaliPageTurnPortraitViewCopyConstructorAndAssignment (void)
 
int UtcDaliPageTurnLandscapeViewCopyConstructorAndAssignment (void)
 
int UtcDaliPageTurnViewSetGetProperty (void)
 
int UtcDaliPageTurnPortraitViewSignals (void)
 
int UtcDaliPageTurnLanscapeViewSignals (void)
 

Variables

const int anonymous_namespace{utc-Dali-PageTurnView.cpp}::RENDER_FRAME_INTERVAL = 16
 Duration of each frame in ms. (at approx 60FPS) More...
 
const unsigned int anonymous_namespace{utc-Dali-PageTurnView.cpp}::TOTAL_PAGE_NUMBER = 20
 
const unsigned int anonymous_namespace{utc-Dali-PageTurnView.cpp}::IMAGE_WIDTH = 30
 
const unsigned int anonymous_namespace{utc-Dali-PageTurnView.cpp}::IMAGE_HEIGHT = 30
 
const Vector2 anonymous_namespace{utc-Dali-PageTurnView.cpp}::IMAGE_SIZE (static_cast< float >(IMAGE_WIDTH), static_cast< float >(IMAGE_HEIGHT))
 
const Vector2 anonymous_namespace{utc-Dali-PageTurnView.cpp}::SPINE_SHADOW_PARAMETER (60.0f, 30.0f)
 
static bool anonymous_namespace{utc-Dali-PageTurnView.cpp}::gObjectCreatedCallBackCalled
 

Function Documentation

void dali_page_turn_view_cleanup ( void  )

Definition at line 254 of file utc-Dali-PageTurnView.cpp.

References test_return_value, and TET_PASS.

void dali_page_turn_view_startup ( void  )

Definition at line 249 of file utc-Dali-PageTurnView.cpp.

References test_return_value, and TET_UNDEF.

int UtcDaliPageTurnLandscapeViewCopyConstructorAndAssignment ( void  )
int UtcDaliPageTurnLandscapeViewNew ( void  )
int UtcDaliPageTurnLanscapeViewSignals ( void  )
int UtcDaliPageTurnPortraitViewCopyConstructorAndAssignment ( void  )
int UtcDaliPageTurnPortraitViewNew ( void  )
int UtcDaliPageTurnPortraitViewSignals ( void  )
int UtcDaliPageTurnViewSetGetProperty ( void  )
Dali Docs Home
Read more about Dali