Dali 3D User Interface Engine
Namespaces | Functions | Variables
utc-Dali-ScrollBar.cpp File Reference
#include <iostream>
#include <stdlib.h>
#include <dali-toolkit-test-suite-utils.h>
#include <dali-toolkit/dali-toolkit.h>
#include <dali/integration-api/events/pan-gesture-event.h>
Include dependency graph for utc-Dali-ScrollBar.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{utc-Dali-ScrollBar.cpp}
 

Functions

void dali_scrollbar_startup (void)
 
void dali_scrollbar_cleanup (void)
 
Integration::PanGestureEvent anonymous_namespace{utc-Dali-ScrollBar.cpp}::GeneratePan (Gesture::State state, const Vector2 &previousPosition, const Vector2 &currentPosition, unsigned long timeDelta, unsigned int numberOfTouches=1)
 
static void anonymous_namespace{utc-Dali-ScrollBar.cpp}::SendPan (ToolkitTestApplication &application, Gesture::State state, const Vector2 &pos)
 Helper to generate PanGestureEvent. More...
 
int anonymous_namespace{utc-Dali-ScrollBar.cpp}::Wait (ToolkitTestApplication &application, int duration=0)
 
static void anonymous_namespace{utc-Dali-ScrollBar.cpp}::OnPanFinished ()
 Invoked when pan gesture is finished on the scroll indicator. More...
 
static void anonymous_namespace{utc-Dali-ScrollBar.cpp}::OnScrollPositionIntervalReached (float position)
 Invoked when the current scroll position of the scrollable content goes above or below the values specified by SCROLL_POSITION_INTERVALS property. More...
 
static Vector2 anonymous_namespace{utc-Dali-ScrollBar.cpp}::PerformGestureSwipe (ToolkitTestApplication &application, Vector2 start, Vector2 direction, int frames)
 
int UtcDaliToolkitScrollBarConstructorP (void)
 
int UtcDaliToolkitScrollBarCopyConstructorP (void)
 
int UtcDaliToolkitScrollBarAssignmentOperatorP (void)
 
int UtcDaliScrollBarDestructorP (void)
 
int UtcDaliToolkitScrollBarNewP (void)
 
int UtcDaliToolkitScrollBarDownCastP (void)
 
int UtcDaliToolkitScrollBarDownCastN (void)
 
int UtcDaliToolkitScrollBarSetScrollPropertySourceP (void)
 
int UtcDaliToolkitScrollBarSetScrollPropertySourceN (void)
 
int UtcDaliToolkitScrollBarSetScrollIndicatorP (void)
 
int UtcDaliToolkitScrollBarSetScrollIndicatorN (void)
 
int UtcDaliToolkitScrollBarGetScrollIndicatorP (void)
 
int UtcDaliToolkitScrollBarGetScrollIndicatorN (void)
 
int UtcDaliToolkitScrollBarSetScrollPositionIntervalsP (void)
 
int UtcDaliToolkitScrollBarGetScrollPositionIntervalsP (void)
 
int UtcDaliToolkitScrollBarGetScrollDirectionP (void)
 
int UtcDaliToolkitScrollBarSetIndicatorHeightPolicyP (void)
 
int UtcDaliToolkitScrollBarGetIndicatorHeightPolicyP (void)
 
int UtcDaliToolkitScrollBarSetIndicatorFixedHeightP (void)
 
int UtcDaliToolkitScrollBarGetIndicatorFixedHeightP (void)
 
int UtcDaliToolkitScrollBarSetIndicatorShowDurationP (void)
 
int UtcDaliToolkitScrollBarSetIndicatorShowDurationN (void)
 
int UtcDaliToolkitScrollBarGetIndicatorShowDurationP (void)
 
int UtcDaliToolkitScrollBarSetIndicatorHideDurationP (void)
 
int UtcDaliToolkitScrollBarSetIndicatorHideDurationN (void)
 
int UtcDaliToolkitScrollBarGetIndicatorHideDurationP (void)
 
int UtcDaliToolkitScrollBarShowIndicatorP (void)
 
int UtcDaliToolkitScrollBarShowIndicatorN (void)
 
int UtcDaliToolkitScrollBarHideIndicatorP (void)
 
int UtcDaliToolkitScrollBarHideIndicatorN (void)
 
int UtcDaliToolkitScrollBarPanFinishedSignalP (void)
 
int UtcDaliToolkitScrollBarPanFinishedSignalN (void)
 
int UtcDaliToolkitScrollBarScrollPositionIntervalReachedSignalP (void)
 
int UtcDaliToolkitScrollBarScrollPositionIntervalReachedSignalN (void)
 

Variables

const int anonymous_namespace{utc-Dali-ScrollBar.cpp}::RENDER_FRAME_INTERVAL = 16
 Duration of each frame in ms. (at approx 60FPS) More...
 
static bool anonymous_namespace{utc-Dali-ScrollBar.cpp}::gOnPanFinishedCalled
 Whether the PanFinished signal was invoked. More...
 
static bool anonymous_namespace{utc-Dali-ScrollBar.cpp}::gOnScrollPositionIntervalReachedSignalCalled
 Whether the ScrollPositionIntervalReached signal was invoked. More...
 

Function Documentation

void dali_scrollbar_cleanup ( void  )

Definition at line 32 of file utc-Dali-ScrollBar.cpp.

References test_return_value, and TET_PASS.

void dali_scrollbar_startup ( void  )

Definition at line 27 of file utc-Dali-ScrollBar.cpp.

References test_return_value, and TET_UNDEF.

int UtcDaliScrollBarDestructorP ( void  )

Definition at line 192 of file utc-Dali-ScrollBar.cpp.

References DALI_TEST_CHECK, and END_TEST.

int UtcDaliToolkitScrollBarAssignmentOperatorP ( void  )
int UtcDaliToolkitScrollBarConstructorP ( void  )

Definition at line 157 of file utc-Dali-ScrollBar.cpp.

References DALI_TEST_CHECK, and END_TEST.

int UtcDaliToolkitScrollBarCopyConstructorP ( void  )
int UtcDaliToolkitScrollBarDownCastN ( void  )

Definition at line 237 of file utc-Dali-ScrollBar.cpp.

References DALI_TEST_CHECK, Dali::Toolkit::ScrollBar::DownCast(), and END_TEST.

Here is the call graph for this function:

int UtcDaliToolkitScrollBarDownCastP ( void  )

Definition at line 222 of file utc-Dali-ScrollBar.cpp.

References DALI_TEST_CHECK, Dali::Toolkit::ScrollBar::DownCast(), END_TEST, and Dali::Toolkit::Control::New().

Here is the call graph for this function:

int UtcDaliToolkitScrollBarGetIndicatorFixedHeightP ( void  )
int UtcDaliToolkitScrollBarGetIndicatorHeightPolicyP ( void  )
int UtcDaliToolkitScrollBarGetIndicatorHideDurationP ( void  )
int UtcDaliToolkitScrollBarGetIndicatorShowDurationP ( void  )
int UtcDaliToolkitScrollBarGetScrollDirectionP ( void  )
int UtcDaliToolkitScrollBarGetScrollIndicatorN ( void  )
int UtcDaliToolkitScrollBarGetScrollIndicatorP ( void  )
int UtcDaliToolkitScrollBarGetScrollPositionIntervalsP ( void  )
int UtcDaliToolkitScrollBarHideIndicatorN ( void  )
int UtcDaliToolkitScrollBarHideIndicatorP ( void  )
int UtcDaliToolkitScrollBarNewP ( void  )
int UtcDaliToolkitScrollBarPanFinishedSignalN ( void  )
int UtcDaliToolkitScrollBarPanFinishedSignalP ( void  )
int UtcDaliToolkitScrollBarScrollPositionIntervalReachedSignalN ( void  )
int UtcDaliToolkitScrollBarScrollPositionIntervalReachedSignalP ( void  )
int UtcDaliToolkitScrollBarSetIndicatorFixedHeightP ( void  )
int UtcDaliToolkitScrollBarSetIndicatorHeightPolicyP ( void  )
int UtcDaliToolkitScrollBarSetIndicatorHideDurationN ( void  )
int UtcDaliToolkitScrollBarSetIndicatorHideDurationP ( void  )
int UtcDaliToolkitScrollBarSetIndicatorShowDurationN ( void  )
int UtcDaliToolkitScrollBarSetIndicatorShowDurationP ( void  )
int UtcDaliToolkitScrollBarSetScrollIndicatorN ( void  )
int UtcDaliToolkitScrollBarSetScrollIndicatorP ( void  )
int UtcDaliToolkitScrollBarSetScrollPositionIntervalsP ( void  )
int UtcDaliToolkitScrollBarSetScrollPropertySourceN ( void  )
int UtcDaliToolkitScrollBarSetScrollPropertySourceP ( void  )
int UtcDaliToolkitScrollBarShowIndicatorN ( void  )
int UtcDaliToolkitScrollBarShowIndicatorP ( void  )
Dali Docs Home
Read more about Dali