Dali 3D User Interface Engine
Classes | Functions | Variables
anonymous_namespace{item-view-impl.cpp} Namespace Reference

Classes

struct  OvershootOverlaySizeConstraint
 

Functions

float CalculateScrollDistance (Vector2 panDistance, Toolkit::ItemLayout &layout)
 Local helper to convert pan distance (in actor coordinates) to the layout-specific scrolling direction. More...
 
void OvershootOverlayRotationConstraint (Quaternion &current, const PropertyInputContainer &inputs)
 
void OvershootOverlayPositionConstraint (Vector3 &current, const PropertyInputContainer &inputs)
 
void OvershootOverlayVisibilityConstraint (bool &current, const PropertyInputContainer &inputs)
 

Variables

const float DEFAULT_MINIMUM_SWIPE_SPEED = 1.0f
 
const float DEFAULT_MINIMUM_SWIPE_DISTANCE = 3.0f
 
const float DEFAULT_WHEEL_SCROLL_DISTANCE_STEP_PROPORTION = 0.1f
 
const float DEFAULT_MINIMUM_SWIPE_DURATION = 0.45f
 
const float DEFAULT_MAXIMUM_SWIPE_DURATION = 2.6f
 
const float DEFAULT_REFRESH_INTERVAL_LAYOUT_POSITIONS = 20.0f
 
const int WHEEL_EVENT_FINISHED_TIME_OUT = 500
 
const float DEFAULT_ANCHORING_DURATION = 1.0f
 
const float MILLISECONDS_PER_SECONDS = 1000.0f
 
const float OVERSHOOT_BOUNCE_ACTOR_RESIZE_THRESHOLD = 180.0f
 
const Vector4 OVERSHOOT_OVERLAY_NINE_PATCH_BORDER (0.0f, 0.0f, 1.0f, 12.0f)
 
const float DEFAULT_KEYBOARD_FOCUS_SCROLL_DURATION = 0.2f
 

Function Documentation

float anonymous_namespace{item-view-impl.cpp}::CalculateScrollDistance ( Vector2  panDistance,
Toolkit::ItemLayout layout 
)

Local helper to convert pan distance (in actor coordinates) to the layout-specific scrolling direction.

Definition at line 66 of file item-view-impl.cpp.

References Dali::Toolkit::ItemLayout::GetScrollDirection(), Dali::Vector2::x, and Dali::Vector2::y.

Referenced by Dali::Toolkit::Internal::ItemView::CalculateScrollOvershoot(), and Dali::Toolkit::Internal::ItemView::OnPan().

Here is the call graph for this function:

Here is the caller graph for this function:

void anonymous_namespace{item-view-impl.cpp}::OvershootOverlayPositionConstraint ( Vector3 current,
const PropertyInputContainer inputs 
)
void anonymous_namespace{item-view-impl.cpp}::OvershootOverlayRotationConstraint ( Quaternion current,
const PropertyInputContainer inputs 
)
void anonymous_namespace{item-view-impl.cpp}::OvershootOverlayVisibilityConstraint ( bool &  current,
const PropertyInputContainer inputs 
)

Definition at line 225 of file item-view-impl.cpp.

Referenced by Dali::Toolkit::Internal::ItemView::EnableScrollOvershoot().

Here is the caller graph for this function:

Variable Documentation

const float anonymous_namespace{item-view-impl.cpp}::DEFAULT_ANCHORING_DURATION = 1.0f

Definition at line 55 of file item-view-impl.cpp.

const float anonymous_namespace{item-view-impl.cpp}::DEFAULT_KEYBOARD_FOCUS_SCROLL_DURATION = 0.2f
const float anonymous_namespace{item-view-impl.cpp}::DEFAULT_MAXIMUM_SWIPE_DURATION = 2.6f

Definition at line 50 of file item-view-impl.cpp.

Referenced by Dali::Toolkit::Internal::ItemView::OnPan().

const float anonymous_namespace{item-view-impl.cpp}::DEFAULT_MINIMUM_SWIPE_DISTANCE = 3.0f

Definition at line 46 of file item-view-impl.cpp.

const float anonymous_namespace{item-view-impl.cpp}::DEFAULT_MINIMUM_SWIPE_DURATION = 0.45f

Definition at line 49 of file item-view-impl.cpp.

Referenced by Dali::Toolkit::Internal::ItemView::OnPan().

const float anonymous_namespace{item-view-impl.cpp}::DEFAULT_MINIMUM_SWIPE_SPEED = 1.0f

Definition at line 45 of file item-view-impl.cpp.

const float anonymous_namespace{item-view-impl.cpp}::DEFAULT_REFRESH_INTERVAL_LAYOUT_POSITIONS = 20.0f

Definition at line 52 of file item-view-impl.cpp.

Referenced by Dali::Toolkit::Internal::ItemView::OnInitialize().

const float anonymous_namespace{item-view-impl.cpp}::DEFAULT_WHEEL_SCROLL_DISTANCE_STEP_PROPORTION = 0.1f
const float anonymous_namespace{item-view-impl.cpp}::MILLISECONDS_PER_SECONDS = 1000.0f

Definition at line 57 of file item-view-impl.cpp.

Referenced by Dali::Toolkit::Internal::ItemView::OnPan().

const float anonymous_namespace{item-view-impl.cpp}::OVERSHOOT_BOUNCE_ACTOR_RESIZE_THRESHOLD = 180.0f
const Vector4 anonymous_namespace{item-view-impl.cpp}::OVERSHOOT_OVERLAY_NINE_PATCH_BORDER(0.0f, 0.0f, 1.0f, 12.0f)
const int anonymous_namespace{item-view-impl.cpp}::WHEEL_EVENT_FINISHED_TIME_OUT = 500

Definition at line 53 of file item-view-impl.cpp.

Referenced by Dali::Toolkit::Internal::ItemView::OnInitialize().

Dali Docs Home
Read more about Dali