Dali 3D User Interface Engine
Classes | Functions
Dali::Toolkit::Internal::anonymous_namespace{scroll-view-impl.cpp} Namespace Reference

Classes

struct  InternalPrePositionConstraint
 Internal Pre-Position Property Constraint. More...
 
struct  InternalPositionConstraint
 Internal Position Property Constraint. More...
 
struct  OvershootXConstraint
 This constraint updates the X overshoot property using the difference SCROLL_PRE_POSITION.x and SCROLL_POSITION.x, returning a relative value between 0.0f and 1.0f. More...
 
struct  OvershootYConstraint
 This constraint updates the Y overshoot property using the difference SCROLL_PRE_POSITION.y and SCROLL_POSITION.y, returning a relative value between 0.0f and 1.0f. More...
 
struct  InternalFinalConstraint
 Internal Final Position Constraint The position of content is: of scroll-position + f(scroll-overshoot) where f(...) function defines how overshoot should affect final-position. More...
 

Functions

BaseHandle Create ()
 
ScrollView::LockAxis GetLockAxis (const Vector2 &panDelta, ScrollView::LockAxis currentLockAxis, float lockGradient)
 Returns whether to lock scrolling to a particular axis. More...
 
void InternalPositionDeltaConstraint (Vector2 &current, const PropertyInputContainer &inputs)
 Internal Position-Delta Property Constraint. More...
 

Function Documentation

BaseHandle Dali::Toolkit::Internal::anonymous_namespace{scroll-view-impl.cpp}::Create ( )

Definition at line 239 of file scroll-view-impl.cpp.

References Dali::Toolkit::ScrollView::New().

Here is the call graph for this function:

ScrollView::LockAxis Dali::Toolkit::Internal::anonymous_namespace{scroll-view-impl.cpp}::GetLockAxis ( const Vector2 panDelta,
ScrollView::LockAxis  currentLockAxis,
float  lockGradient 
)

Returns whether to lock scrolling to a particular axis.

Parameters
[in]panDeltaDistance panned since gesture started
[in]currentLockAxisThe current lock axis value
[in]lockGradientHow quickly to lock to a particular axis
Returns
The new axis lock state

Definition at line 287 of file scroll-view-impl.cpp.

References anonymous_namespace{scroll-view-impl.cpp}::AUTOLOCK_AXIS_MINIMUM_DISTANCE2.

Referenced by Dali::Toolkit::Internal::ScrollView::GestureContinuing(), and Dali::Toolkit::Internal::anonymous_namespace{scroll-view-impl.cpp}::InternalPrePositionConstraint::operator()().

Here is the caller graph for this function:

void Dali::Toolkit::Internal::anonymous_namespace{scroll-view-impl.cpp}::InternalPositionDeltaConstraint ( Vector2 current,
const PropertyInputContainer inputs 
)

Internal Position-Delta Property Constraint.

Generates position-delta property based on scroll-position + scroll-offset properties.

Definition at line 566 of file scroll-view-impl.cpp.

Referenced by Dali::Toolkit::Internal::ScrollView::UpdateMainInternalConstraint().

Here is the caller graph for this function:

Dali Docs Home
Read more about Dali