Dali 3D User Interface Engine
Classes | Namespaces | Functions | Variables
utc-Dali-ScrollView.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/touch-event-integ.h>
#include <dali/integration-api/events/pan-gesture-event.h>
Include dependency graph for utc-Dali-ScrollView.cpp:

Go to the source code of this file.

Classes

struct  anonymous_namespace{utc-Dali-ScrollView.cpp}::TestSumConstraint
 TestSumConstraint. More...
 

Namespaces

namespace  anonymous_namespace{utc-Dali-ScrollView.cpp}
 

Functions

void scroll_view_startup (void)
 
void scroll_view_cleanup (void)
 
static void anonymous_namespace{utc-Dali-ScrollView.cpp}::TestCallback (BaseHandle handle)
 
const float anonymous_namespace{utc-Dali-ScrollView.cpp}::DEFAULT_SNAP_OVERSHOOT_DURATION (0.5f)
 Default overshoot snapping animation time. More...
 
const float anonymous_namespace{utc-Dali-ScrollView.cpp}::DEFAULT_MAX_OVERSHOOT (100.0f)
 Default maximum allowed overshoot in pixels. More...
 
const float anonymous_namespace{utc-Dali-ScrollView.cpp}::SCROLL_ANIMATION_DURATION (0.33f)
 Duration of scroll animation in Overshoot tests (i.e. 100 pixels of overshoot in the speed of 500 pixels per 100 frames, 100/(500/(100/60)) = 0.33) More...
 
Integration::PanGestureEvent anonymous_namespace{utc-Dali-ScrollView.cpp}::GeneratePan (Gesture::State state, const Vector2 &previousPosition, const Vector2 &currentPosition, unsigned long timeDelta, unsigned int numberOfTouches=1)
 
static void anonymous_namespace{utc-Dali-ScrollView.cpp}::SendPan (ToolkitTestApplication &application, Gesture::State state, const Vector2 &pos)
 Helper to generate PanGestureEvent. More...
 
int anonymous_namespace{utc-Dali-ScrollView.cpp}::Wait (ToolkitTestApplication &application, int duration=0)
 
static void anonymous_namespace{utc-Dali-ScrollView.cpp}::OnScrollStart (const Vector2 &position)
 Invoked when scrolling starts. More...
 
static void anonymous_namespace{utc-Dali-ScrollView.cpp}::OnScrollUpdate (const Vector2 &position)
 Invoked when scrolling updates (via dragging) More...
 
static void anonymous_namespace{utc-Dali-ScrollView.cpp}::OnScrollComplete (const Vector2 &position)
 Invoked when scrolling finishes. More...
 
static void anonymous_namespace{utc-Dali-ScrollView.cpp}::OnSnapStart (const ScrollView::SnapEvent &event)
 Invoked when a snap or flick started. More...
 
static float anonymous_namespace{utc-Dali-ScrollView.cpp}::TestOvershootSnapDuration (ToolkitTestApplication &application, ScrollView scrollView)
 
float anonymous_namespace{utc-Dali-ScrollView.cpp}::TestAlphaFunction (float progress)
 y = 2x alpha function, which is clamped between 0.0f - 1.0f More...
 
int UtcDaliToolkitScrollViewConstructorP (void)
 
int UtcDaliToolkitScrollViewCopyConstructorP (void)
 
int UtcDaliToolkitScrollViewAssignmentOperatorP (void)
 
int UtcDaliScrollViewDestructorP (void)
 
int UtcDaliToolkitScrollViewNewP (void)
 
int UtcDaliToolkitScrollViewDownCastP (void)
 
int UtcDaliToolkitScrollViewScrollToPositionP (void)
 
int UtcDaliToolkitScrollViewScrollToPositionWithDirectionBiasP (void)
 
int UtcDaliToolkitScrollViewScrollToPositionWithAlphaFunctionP (void)
 
int UtcDaliToolkitScrollViewScrollToPositionWithAlphaFunctionAndDirectionBiasP (void)
 
int UtcDaliToolkitScrollViewScrollToPageP (void)
 
int UtcDaliToolkitScrollViewScrollToPageWithDirectionBiasP (void)
 
int UtcDaliToolkitScrollViewScrollToActorP (void)
 
int UtcDaliToolkitScrollViewScrollToSnapPointP (void)
 
int UtcDaliToolkitScrollViewSetScrollUpdateDistanceP (void)
 
int UtcDaliToolkitScrollViewSetWrapModeP (void)
 
int UtcDaliToolkitScrollViewActorAutoSnap (void)
 
int UtcDaliToolkitScrollViewSignalsStartComplete (void)
 
int UtcDaliToolkitScrollViewSignalsUpdate (void)
 
static Vector2 PerformGestureDiagonalSwipe (ToolkitTestApplication &application, Vector2 start, Vector2 direction, int frames, bool finish=true)
 
int UtcDaliToolkitScrollViewScrollSensitive (void)
 
int UtcDaliToolkitScrollViewAxisAutoLock (void)
 
int UtcDaliToolkitScrollViewAxisAutoLockGradient (void)
 
int UtcDaliToolkitScrollViewConstraints (void)
 
int UtcDaliToolkitScrollViewBind (void)
 
int UtcDaliToolkitScrollViewOvershoot (void)
 
int UtcDaliToolkitScrollViewSnapAlphaFunction (void)
 
int UtcDaliToolkitScrollViewSnapDuration (void)
 
int UtcDaliToolkitScrollViewSnapStartedSignalP (void)
 
int UtcDaliToolkitScrollViewGetCurrentPageP (void)
 
int UtcDaliToolkitScrollViewSetMaxOvershootP (void)
 
int UtcDaliToolkitScrollViewSetScrollingDirectionP (void)
 
int UtcDaliToolkitScrollViewRemoveScrollingDirectionP (void)
 
int UtcDaliToolkitScrollViewSetRulerXP (void)
 
int UtcDaliToolkitScrollViewSetRulerYP (void)
 
int UtcDaliToolkitScrollViewSetMinimumSpeedForFlickP (void)
 
int UtcDaliToolkitScrollViewSetMinimumDistanceForFlickP (void)
 
int UtcDaliToolkitScrollViewSetWheelScrollDistanceStepP (void)
 
int UtcDaliToolkitScrollViewApplyEffectP (void)
 
int UtcDaliToolkitScrollViewApplyEffectN (void)
 
int UtcDaliToolkitScrollViewRemoveEffectP (void)
 
int UtcDaliToolkitScrollViewRemoveEffectN (void)
 
int UtcDaliToolkitScrollViewRemoveAllEffectsP (void)
 
int UtcDaliToolkitScrollViewRemoveAllEffectsN (void)
 
int UtcDaliToolkitScrollViewSetOvershootEnabledP (void)
 
int UtcDaliToolkitScrollViewSetOvershootEffectColorP (void)
 
int UtcDaliToolkitScrollViewSetOvershootAnimationSpeedP (void)
 
int UtcDaliToolkitScrollViewGetSet (void)
 
int UtcDaliToolkitScrollViewRulerDomainConstructorP (void)
 
int UtcDaliToolkitScrollViewRulerDomainGetSizeP (void)
 
int UtcDaliToolkitScrollViewRulerDomainClampP (void)
 
int UtcDaliToolkitScrollViewRulerDomainClampWithStateP (void)
 
int UtcDaliToolkitScrollViewDefaultRulerConstructorP (void)
 
int UtcDaliToolkitScrollViewDefaultRulerDestructorP (void)
 
int UtcDaliToolkitScrollViewFixedRulerConstructorP (void)
 
int UtcDaliToolkitScrollViewFixedRulerDestructorP (void)
 
int UtcDaliToolkitScrollViewRulerGetTypeP (void)
 
int UtcDaliToolkitScrollViewRulerGetExtensionP (void)
 
int UtcDaliToolkitScrollViewRulerEnableDisable (void)
 
int UtcDaliToolkitScrollViewRulerDomainEnableDisable (void)
 
int UtcDaliToolkitScrollViewRulerSnapAndClamp (void)
 
int UtcDaliToolkitScrollViewFixedRulerGetPositionFromPageP (void)
 
int UtcDaliToolkitScrollViewDefaultRulerGetTotalPagesP (void)
 
int UtcDaliToolkitScrollViewDefaultRulerGetPageFromPositionP (void)
 
int UtcDaliToolkitScrollViewDefaultRulerGetPositionFromPageP (void)
 
int UtcDaliToolkitScrollViewDefaultRulerSnapP (void)
 
int UtcDaliToolkitScrollViewFixedRulerGetTotalPagesP (void)
 
int UtcDaliToolkitScrollViewFixedRulerGetPageFromPositionP (void)
 
int UtcDaliToolkitScrollViewFixedRulerSnapP (void)
 
int UtcDaliToolkitScrollViewConstraintsMove (void)
 
int UtcDaliToolkitScrollViewConstraintsWrap (void)
 
int UtcDaliToolkitScrollViewGesturePageLimit (void)
 
int UtcDaliScrollViewSetGetProperty (void)
 

Variables

static bool anonymous_namespace{utc-Dali-ScrollView.cpp}::gObjectCreatedCallBackCalled
 
const int anonymous_namespace{utc-Dali-ScrollView.cpp}::MILLISECONDS_PER_SECOND = 1000
 
const int anonymous_namespace{utc-Dali-ScrollView.cpp}::RENDER_FRAME_INTERVAL = 16
 Duration of each frame in ms. (at approx 60FPS) More...
 
const int anonymous_namespace{utc-Dali-ScrollView.cpp}::RENDER_ANIMATION_TEST_DURATION_MS = 1000
 1000ms to test animation More...
 
const int anonymous_namespace{utc-Dali-ScrollView.cpp}::RENDER_DELAY_SCROLL = 1000
 duration to wait for any scroll to complete. More...
 
const float anonymous_namespace{utc-Dali-ScrollView.cpp}::CLAMP_EXCESS_WIDTH = 200.0f
 Amount of width that can be panned outside scrollview. More...
 
const float anonymous_namespace{utc-Dali-ScrollView.cpp}::CLAMP_EXCESS_HEIGHT = 200.0f
 Amount of height that can be panned outside scrollview. More...
 
const int anonymous_namespace{utc-Dali-ScrollView.cpp}::CLAMP_STEP_0_CHECK_NOTCLAMPED = 0
 FSM: "First check that scrollview isn't clamped". More...
 
const int anonymous_namespace{utc-Dali-ScrollView.cpp}::CLAMP_STEP_1_CHECK_CLAMPED_WEST = 1
 FSM: "Next check that scrollview clamps against left side". More...
 
const int anonymous_namespace{utc-Dali-ScrollView.cpp}::CLAMP_STEP_2_CHECK_CLAMPED_SOUTH_WEST = 2
 FSM: "Then check that scrollview clamps against bottom-left side". More...
 
const int anonymous_namespace{utc-Dali-ScrollView.cpp}::CLAMP_STEP_3_SUCCESS = 3
 FSM: "Finished (Success)". More...
 
const Vector2 anonymous_namespace{utc-Dali-ScrollView.cpp}::CLAMP_START_SCROLL_POSITION (30.0f, 100.0f)
 Scroll start position for the Clamping tests. More...
 
const Vector2 anonymous_namespace{utc-Dali-ScrollView.cpp}::CLAMP_TOUCH_START (100.0f, 100.0f)
 Start point to touch from for the Clamping tests. More...
 
const Vector2 anonymous_namespace{utc-Dali-ScrollView.cpp}::CLAMP_TOUCH_MOVEMENT (5.0f,-5.0f)
 Amount to move touch for each frame for the Clamping tests. More...
 
const int anonymous_namespace{utc-Dali-ScrollView.cpp}::CLAMP_GESTURE_FRAMES = 100
 Number of Frames to synthesize a gesture for the Clamping tests. More...
 
const Vector3 anonymous_namespace{utc-Dali-ScrollView.cpp}::TEST_ACTOR_POSITION (100.0f, 100.0f, 0.0f)
 A Test actor position offset (arbitrary value) More...
 
const Vector3 anonymous_namespace{utc-Dali-ScrollView.cpp}::TEST_CONSTRAINT_OFFSET (1.0f, 2.0f, 0.0f)
 A Test constraint offset (arbitrary value to test effects) More...
 
const float anonymous_namespace{utc-Dali-ScrollView.cpp}::TEST_RATIO_TOLERANCE = 0.05
 +/-5% tolerance for ratio comparisons. More...
 
const int anonymous_namespace{utc-Dali-ScrollView.cpp}::MAX_FRAMES_TO_TEST_OVERSHOOT = 600
 10 seconds (at 60 frames per second). More...
 
const Vector2 anonymous_namespace{utc-Dali-ScrollView.cpp}::OVERSHOOT_START_SCROLL_POSITION (100.0f, 100.0f)
 Scroll start position for the Overshoot tests. More...
 
const Vector2 anonymous_namespace{utc-Dali-ScrollView.cpp}::SNAP_POSITION_WITH_DECELERATED_VELOCITY (74.0f, 74.0f)
 the snap position for Overshoot tests with the decelerated velocity (i.e. Decelerated from 500 pixels per 100 frames). More...
 
const float anonymous_namespace{utc-Dali-ScrollView.cpp}::TEST_CUSTOM1_SNAP_OVERSHOOT_DURATION = 0.05f
 a Test duration More...
 
const float anonymous_namespace{utc-Dali-ScrollView.cpp}::TEST_CUSTOM2_SNAP_OVERSHOOT_DURATION = 1.5f
 another Test duration More...
 
const float anonymous_namespace{utc-Dali-ScrollView.cpp}::TEST_CUSTOM3_SNAP_OVERSHOOT_DURATION = TEST_CUSTOM2_SNAP_OVERSHOOT_DURATION * 0.5f
 
const float anonymous_namespace{utc-Dali-ScrollView.cpp}::TIME_TOLERANCE = 0.05f
 Allow testing tolerance between a 10th of second (+/- 3 frames) More...
 
static bool anonymous_namespace{utc-Dali-ScrollView.cpp}::gOnScrollStartCalled
 Whether the OnScrollStart signal was invoked. More...
 
static bool anonymous_namespace{utc-Dali-ScrollView.cpp}::gOnScrollUpdateCalled
 Whether the OnScrollUpdate signal was invoked. More...
 
static bool anonymous_namespace{utc-Dali-ScrollView.cpp}::gOnScrollCompleteCalled
 Whether the OnScrollComplete signal was invoked. More...
 
static bool anonymous_namespace{utc-Dali-ScrollView.cpp}::gOnSnapStartCalled
 Whether the OnSnapStart signal was invoked. More...
 
static SnapType anonymous_namespace{utc-Dali-ScrollView.cpp}::gLastSnapType
 Snaping information from SnapEvent. More...
 
static Vector3 anonymous_namespace{utc-Dali-ScrollView.cpp}::gConstraintResult
 Result from constraint. More...
 

Function Documentation

static Vector2 PerformGestureDiagonalSwipe ( ToolkitTestApplication application,
Vector2  start,
Vector2  direction,
int  frames,
bool  finish = true 
)
static
void scroll_view_cleanup ( void  )

Definition at line 33 of file utc-Dali-ScrollView.cpp.

References test_return_value, and TET_PASS.

void scroll_view_startup ( void  )

Definition at line 28 of file utc-Dali-ScrollView.cpp.

References test_return_value, and TET_UNDEF.

int UtcDaliScrollViewDestructorP ( void  )

Definition at line 303 of file utc-Dali-ScrollView.cpp.

References DALI_TEST_CHECK, and END_TEST.

int UtcDaliScrollViewSetGetProperty ( void  )

Definition at line 2351 of file utc-Dali-ScrollView.cpp.

References Dali::Toolkit::ScrollView::Property::AXIS_AUTO_LOCK_ENABLED, DALI_TEST_CHECK, DALI_TEST_EQUALS(), END_TEST, Dali::Handle::GetProperty(), Dali::Handle::GetPropertyIndex(), Dali::Toolkit::Scrollable::IsOvershootEnabled(), Dali::Toolkit::ScrollView::New(), Dali::Toolkit::Scrollable::Property::OVERSHOOT_ENABLED, Dali::Toolkit::ScrollView::Property::OVERSHOOT_X, Dali::Toolkit::ScrollView::Property::OVERSHOOT_Y, Dali::Toolkit::ScrollView::Property::PANNING, Dali::Toolkit::ScrollView::Property::PANNING_ENABLED, Dali::Toolkit::ScrollView::Property::SCROLL_DOMAIN_OFFSET, Dali::Toolkit::ScrollView::Property::SCROLL_DOMAIN_SIZE, Dali::Toolkit::ScrollView::Property::SCROLL_DOMAIN_SIZE_X, Dali::Toolkit::ScrollView::Property::SCROLL_DOMAIN_SIZE_Y, Dali::Toolkit::ScrollView::Property::SCROLL_FINAL, Dali::Toolkit::ScrollView::Property::SCROLL_FINAL_X, Dali::Toolkit::ScrollView::Property::SCROLL_FINAL_Y, Dali::Toolkit::ScrollView::Property::SCROLL_POSITION, Dali::Toolkit::ScrollView::Property::SCROLL_POSITION_DELTA, Dali::Toolkit::ScrollView::Property::SCROLL_PRE_POSITION, Dali::Toolkit::ScrollView::Property::SCROLL_PRE_POSITION_MAX, Dali::Toolkit::ScrollView::Property::SCROLL_PRE_POSITION_MAX_X, Dali::Toolkit::ScrollView::Property::SCROLL_PRE_POSITION_MAX_Y, Dali::Toolkit::ScrollView::Property::SCROLL_PRE_POSITION_X, Dali::Toolkit::ScrollView::Property::SCROLL_PRE_POSITION_Y, Dali::Toolkit::ScrollView::Property::SCROLLING, Dali::Handle::SetProperty(), Dali::Toolkit::ScrollView::Property::START_PAGE_POSITION, TEST_LOCATION, anonymous_namespace{utc-Dali-PropertyNotification.cpp}::Wait(), Dali::Toolkit::ScrollView::Property::WHEEL_SCROLL_DISTANCE_STEP, Dali::Toolkit::ScrollView::Property::WRAP, and Dali::Toolkit::ScrollView::Property::WRAP_ENABLED.

Here is the call graph for this function:

int UtcDaliToolkitScrollViewActorAutoSnap ( void  )
int UtcDaliToolkitScrollViewApplyEffectN ( void  )
int UtcDaliToolkitScrollViewApplyEffectP ( void  )
int UtcDaliToolkitScrollViewAssignmentOperatorP ( void  )
int UtcDaliToolkitScrollViewAxisAutoLock ( void  )
int UtcDaliToolkitScrollViewAxisAutoLockGradient ( void  )
int UtcDaliToolkitScrollViewBind ( void  )
int UtcDaliToolkitScrollViewConstraints ( void  )
int UtcDaliToolkitScrollViewConstraintsMove ( void  )
int UtcDaliToolkitScrollViewConstraintsWrap ( void  )
int UtcDaliToolkitScrollViewConstructorP ( void  )

Definition at line 268 of file utc-Dali-ScrollView.cpp.

References DALI_TEST_CHECK, and END_TEST.

int UtcDaliToolkitScrollViewCopyConstructorP ( void  )
int UtcDaliToolkitScrollViewDefaultRulerConstructorP ( void  )

Definition at line 1835 of file utc-Dali-ScrollView.cpp.

References DALI_TEST_CHECK, END_TEST, and tet_infoline().

Here is the call graph for this function:

int UtcDaliToolkitScrollViewDefaultRulerDestructorP ( void  )

Definition at line 1846 of file utc-Dali-ScrollView.cpp.

References DALI_TEST_CHECK, END_TEST, and tet_infoline().

Here is the call graph for this function:

int UtcDaliToolkitScrollViewDefaultRulerGetPageFromPositionP ( void  )

Definition at line 2049 of file utc-Dali-ScrollView.cpp.

References DALI_TEST_CHECK, DALI_TEST_EQUALS(), END_TEST, Dali::Toolkit::Ruler::GetPageFromPosition(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliToolkitScrollViewDefaultRulerGetPositionFromPageP ( void  )

Definition at line 2062 of file utc-Dali-ScrollView.cpp.

References DALI_TEST_CHECK, DALI_TEST_EQUALS(), END_TEST, Dali::Toolkit::Ruler::GetPositionFromPage(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliToolkitScrollViewDefaultRulerGetTotalPagesP ( void  )

Definition at line 2037 of file utc-Dali-ScrollView.cpp.

References DALI_TEST_CHECK, DALI_TEST_EQUALS(), END_TEST, Dali::Toolkit::Ruler::GetTotalPages(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliToolkitScrollViewDefaultRulerSnapP ( void  )

Definition at line 2080 of file utc-Dali-ScrollView.cpp.

References DALI_TEST_CHECK, DALI_TEST_EQUALS(), END_TEST, Dali::Toolkit::Ruler::Snap(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliToolkitScrollViewDownCastP ( void  )

Definition at line 344 of file utc-Dali-ScrollView.cpp.

References DALI_TEST_CHECK, Dali::Toolkit::ScrollView::DownCast(), END_TEST, Dali::Toolkit::ScrollView::New(), and tet_infoline().

Here is the call graph for this function:

int UtcDaliToolkitScrollViewFixedRulerConstructorP ( void  )

Definition at line 1857 of file utc-Dali-ScrollView.cpp.

References DALI_TEST_CHECK, END_TEST, and tet_infoline().

Here is the call graph for this function:

int UtcDaliToolkitScrollViewFixedRulerDestructorP ( void  )

Definition at line 1871 of file utc-Dali-ScrollView.cpp.

References DALI_TEST_CHECK, END_TEST, and tet_infoline().

Here is the call graph for this function:

int UtcDaliToolkitScrollViewFixedRulerGetPageFromPositionP ( void  )
int UtcDaliToolkitScrollViewFixedRulerGetPositionFromPageP ( void  )
int UtcDaliToolkitScrollViewFixedRulerGetTotalPagesP ( void  )
int UtcDaliToolkitScrollViewFixedRulerSnapP ( void  )

Definition at line 2149 of file utc-Dali-ScrollView.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::Toolkit::Ruler::SetDomain(), Dali::Toolkit::Ruler::Snap(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliToolkitScrollViewGesturePageLimit ( void  )
int UtcDaliToolkitScrollViewGetCurrentPageP ( void  )
int UtcDaliToolkitScrollViewGetSet ( void  )
int UtcDaliToolkitScrollViewNewP ( void  )
int UtcDaliToolkitScrollViewOvershoot ( void  )

Definition at line 1090 of file utc-Dali-ScrollView.cpp.

References Dali::Stage::Add(), anonymous_namespace{utc-Dali-ScrollView.cpp}::CLAMP_EXCESS_HEIGHT, anonymous_namespace{utc-Dali-ScrollView.cpp}::CLAMP_EXCESS_WIDTH, DALI_TEST_CHECK, DALI_TEST_EQUALS(), anonymous_namespace{scroll-view-impl.cpp}::DEFAULT_MAX_OVERSHOOT(), anonymous_namespace{scroll-view-impl.cpp}::DEFAULT_SNAP_OVERSHOOT_DURATION(), END_TEST, Dali::Gesture::Finished, Dali::Stage::GetCurrent(), Dali::Handle::GetProperty(), Dali::Stage::GetSize(), Dali::Vector2::height, Dali::Toolkit::ScrollView::New(), anonymous_namespace{utc-Dali-ScrollView.cpp}::OnScrollComplete(), anonymous_namespace{utc-Dali-ScrollView.cpp}::OnScrollStart(), anonymous_namespace{utc-Dali-ScrollView.cpp}::OnScrollUpdate(), anonymous_namespace{utc-Dali-ScrollView.cpp}::OVERSHOOT_START_SCROLL_POSITION, Dali::Toolkit::ScrollView::Property::OVERSHOOT_X, Dali::Toolkit::ScrollView::Property::OVERSHOOT_Y, PerformGestureDiagonalSwipe(), anonymous_namespace{utc-Dali-ScrollView.cpp}::SCROLL_ANIMATION_DURATION(), Dali::Toolkit::ScrollView::Property::SCROLL_POSITION, Dali::Toolkit::Scrollable::ScrollCompletedSignal(), Dali::Toolkit::Scrollable::ScrollStartedSignal(), Dali::Toolkit::ScrollView::ScrollTo(), Dali::Toolkit::Scrollable::ScrollUpdatedSignal(), anonymous_namespace{utc-Dali-PanGestureDetector.cpp}::SendPan(), Dali::Actor::SetAnchorPoint(), Dali::Toolkit::Ruler::SetDomain(), Dali::Toolkit::Scrollable::SetOvershootEnabled(), Dali::Actor::SetParentOrigin(), Dali::Toolkit::ScrollView::SetRulerX(), Dali::Toolkit::ScrollView::SetRulerY(), Dali::Actor::SetSize(), Dali::Toolkit::ScrollView::SetSnapOvershootAlphaFunction(), Dali::Toolkit::ScrollView::SetSnapOvershootDuration(), anonymous_namespace{utc-Dali-ScrollView.cpp}::SNAP_POSITION_WITH_DECELERATED_VELOCITY, anonymous_namespace{utc-Dali-ScrollView.cpp}::TEST_CUSTOM1_SNAP_OVERSHOOT_DURATION, anonymous_namespace{utc-Dali-ScrollView.cpp}::TEST_CUSTOM2_SNAP_OVERSHOOT_DURATION, anonymous_namespace{utc-Dali-ScrollView.cpp}::TEST_CUSTOM3_SNAP_OVERSHOOT_DURATION, TEST_LOCATION, anonymous_namespace{utc-Dali-ScrollView.cpp}::TestAlphaFunction(), anonymous_namespace{utc-Dali-ScrollView.cpp}::TestOvershootSnapDuration(), tet_infoline(), anonymous_namespace{utc-Dali-ScrollView.cpp}::TIME_TOLERANCE, Dali::ParentOrigin::TOP_LEFT, Dali::AnchorPoint::TOP_LEFT, anonymous_namespace{utc-Dali-PropertyNotification.cpp}::Wait(), Dali::Vector2::width, Dali::Vector2::x, and Dali::Vector2::ZERO.

Here is the call graph for this function:

int UtcDaliToolkitScrollViewRemoveAllEffectsN ( void  )

Definition at line 1684 of file utc-Dali-ScrollView.cpp.

References DALI_TEST_CHECK, END_TEST, Dali::Toolkit::ScrollView::New(), Dali::Toolkit::ScrollView::RemoveAllEffects(), and tet_infoline().

Here is the call graph for this function:

int UtcDaliToolkitScrollViewRemoveAllEffectsP ( void  )
int UtcDaliToolkitScrollViewRemoveEffectN ( void  )
int UtcDaliToolkitScrollViewRemoveEffectP ( void  )
int UtcDaliToolkitScrollViewRemoveScrollingDirectionP ( void  )
int UtcDaliToolkitScrollViewRulerDomainClampP ( void  )

Definition at line 1792 of file utc-Dali-ScrollView.cpp.

References Dali::Toolkit::RulerDomain::Clamp(), DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliToolkitScrollViewRulerDomainClampWithStateP ( void  )
int UtcDaliToolkitScrollViewRulerDomainConstructorP ( void  )
int UtcDaliToolkitScrollViewRulerDomainEnableDisable ( void  )
int UtcDaliToolkitScrollViewRulerDomainGetSizeP ( void  )

Definition at line 1779 of file utc-Dali-ScrollView.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::Toolkit::RulerDomain::GetSize(), and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliToolkitScrollViewRulerEnableDisable ( void  )
int UtcDaliToolkitScrollViewRulerGetExtensionP ( void  )

Definition at line 1898 of file utc-Dali-ScrollView.cpp.

References DALI_TEST_CHECK, END_TEST, Dali::Toolkit::Ruler::GetExtension(), and tet_infoline().

Here is the call graph for this function:

int UtcDaliToolkitScrollViewRulerGetTypeP ( void  )
int UtcDaliToolkitScrollViewRulerSnapAndClamp ( void  )
int UtcDaliToolkitScrollViewScrollSensitive ( void  )

Definition at line 878 of file utc-Dali-ScrollView.cpp.

References Dali::Stage::Add(), anonymous_namespace{utc-Dali-ScrollView.cpp}::CLAMP_EXCESS_HEIGHT, anonymous_namespace{utc-Dali-ScrollView.cpp}::CLAMP_EXCESS_WIDTH, anonymous_namespace{utc-Dali-ScrollView.cpp}::CLAMP_GESTURE_FRAMES, anonymous_namespace{utc-Dali-ScrollView.cpp}::CLAMP_START_SCROLL_POSITION, anonymous_namespace{utc-Dali-ScrollView.cpp}::CLAMP_TOUCH_MOVEMENT, anonymous_namespace{utc-Dali-ScrollView.cpp}::CLAMP_TOUCH_START, DALI_TEST_CHECK, END_TEST, Dali::Stage::GetCurrent(), Dali::Stage::GetSize(), anonymous_namespace{utc-Dali-ScrollView.cpp}::gOnScrollCompleteCalled, anonymous_namespace{utc-Dali-ScrollView.cpp}::gOnScrollStartCalled, anonymous_namespace{utc-Dali-ScrollView.cpp}::gOnSnapStartCalled, Dali::Vector2::height, Dali::Toolkit::ScrollView::New(), anonymous_namespace{utc-Dali-ScrollView.cpp}::OnScrollComplete(), anonymous_namespace{utc-Dali-ScrollView.cpp}::OnScrollStart(), anonymous_namespace{utc-Dali-ScrollView.cpp}::OnScrollUpdate(), anonymous_namespace{utc-Dali-ScrollView.cpp}::OnSnapStart(), PerformGestureDiagonalSwipe(), Dali::Toolkit::Scrollable::ScrollCompletedSignal(), Dali::Toolkit::Scrollable::ScrollStartedSignal(), Dali::Toolkit::ScrollView::ScrollTo(), Dali::Toolkit::Scrollable::ScrollUpdatedSignal(), Dali::Actor::SetAnchorPoint(), Dali::Toolkit::Ruler::SetDomain(), Dali::Toolkit::Scrollable::SetOvershootEnabled(), Dali::Actor::SetParentOrigin(), Dali::Toolkit::ScrollView::SetRulerX(), Dali::Toolkit::ScrollView::SetRulerY(), Dali::Toolkit::ScrollView::SetScrollSensitive(), Dali::Actor::SetSize(), Dali::Toolkit::ScrollView::SnapStartedSignal(), tet_infoline(), Dali::ParentOrigin::TOP_LEFT, Dali::AnchorPoint::TOP_LEFT, anonymous_namespace{utc-Dali-PropertyNotification.cpp}::Wait(), and Dali::Vector2::width.

Here is the call graph for this function:

int UtcDaliToolkitScrollViewScrollToActorP ( void  )
int UtcDaliToolkitScrollViewScrollToPageP ( void  )
int UtcDaliToolkitScrollViewScrollToPageWithDirectionBiasP ( void  )
int UtcDaliToolkitScrollViewScrollToPositionP ( void  )
int UtcDaliToolkitScrollViewScrollToPositionWithAlphaFunctionAndDirectionBiasP ( void  )
int UtcDaliToolkitScrollViewScrollToPositionWithAlphaFunctionP ( void  )
int UtcDaliToolkitScrollViewScrollToPositionWithDirectionBiasP ( void  )
int UtcDaliToolkitScrollViewScrollToSnapPointP ( void  )
int UtcDaliToolkitScrollViewSetMaxOvershootP ( void  )
int UtcDaliToolkitScrollViewSetMinimumDistanceForFlickP ( void  )
int UtcDaliToolkitScrollViewSetMinimumSpeedForFlickP ( void  )
int UtcDaliToolkitScrollViewSetOvershootAnimationSpeedP ( void  )
int UtcDaliToolkitScrollViewSetOvershootEffectColorP ( void  )
int UtcDaliToolkitScrollViewSetOvershootEnabledP ( void  )
int UtcDaliToolkitScrollViewSetRulerXP ( void  )
int UtcDaliToolkitScrollViewSetRulerYP ( void  )
int UtcDaliToolkitScrollViewSetScrollingDirectionP ( void  )
int UtcDaliToolkitScrollViewSetScrollUpdateDistanceP ( void  )
int UtcDaliToolkitScrollViewSetWheelScrollDistanceStepP ( void  )
int UtcDaliToolkitScrollViewSetWrapModeP ( void  )
int UtcDaliToolkitScrollViewSignalsStartComplete ( void  )
int UtcDaliToolkitScrollViewSignalsUpdate ( void  )
int UtcDaliToolkitScrollViewSnapAlphaFunction ( void  )
int UtcDaliToolkitScrollViewSnapDuration ( void  )
int UtcDaliToolkitScrollViewSnapStartedSignalP ( void  )
Dali Docs Home
Read more about Dali