X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=base%2Fdali-toolkit%2Finternal%2Fcontrols%2Fscrollable%2Fscroll-view%2Fscroll-view-impl.cpp;h=e2df7a5f60b7f7f6793a4cf9533c35ce5a64f411;hp=792f33a2478bcabdf10f9bfcd83dc1e495535aec;hb=421b1cb023ab3a51842d1c7dab553e241c2301d0;hpb=e4f49b8fbc36be9bceb2b227cf784a9d6b4cba2d diff --git a/base/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.cpp b/base/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.cpp index 792f33a..e2df7a5 100644 --- a/base/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.cpp +++ b/base/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.cpp @@ -61,8 +61,6 @@ const float FLICK_ORTHO_ANGLE_RANGE = 75.0f; const unsigned int MAXIMUM_NUMBER_OF_VALUES = 5; ///< Number of values to use for weighted pan calculation. const Vector2 DEFAULT_MOUSE_WHEEL_SCROLL_DISTANCE_STEP_PROPORTION = Vector2(0.17f, 0.1f); ///< The step of horizontal scroll distance in the proportion of stage size for each mouse wheel event received. const unsigned long MINIMUM_TIME_BETWEEN_DOWN_AND_UP_FOR_RESET( 150u ); -const float DEFAULT_OVERSHOOT_ANIMATION_DURATION = 0.35f; // time in seconds -const Vector2 OVERSCROLL_CLAMP(1.0f, 1.0f); // maximum overscroll allowed in pixels when overshoot indicator is being used const float TOUCH_DOWN_TIMER_INTERVAL = 100.0f; const float DEFAULT_SCROLL_UPDATE_DISTANCE( 30.0f ); ///< Default distance to travel in pixels for scroll update signal @@ -1308,7 +1306,7 @@ void ScrollView::ScrollTo(const Vector3& position, float duration, void ScrollView::ScrollTo(const Vector3& position, float duration, AlphaFunction alpha, DirectionBias horizontalBias, DirectionBias verticalBias) { - DALI_LOG_SCROLL_STATE("[0x%X] position[%.2f, %.2f] duration[%.2f]", this, position.x, position.y, duration, int(horizontalBias), int(verticalBias)); + DALI_LOG_SCROLL_STATE("[0x%X] position[%.2f, %.2f] duration[%.2f], bias[%d, %d]", this, position.x, position.y, duration, int(horizontalBias), int(verticalBias)); TransformTo(position, duration, alpha, horizontalBias, verticalBias); } @@ -1776,7 +1774,6 @@ void ScrollView::SetOvershootEnabled(bool enabled) } if( enabled ) { - mMaxOvershoot = OVERSCROLL_CLAMP; mOvershootIndicator->AttachToScrollable(*this); } else