Merge base & optional Change-Id: Icd2bba5752711bb6f0b3932ede16ae2e274a0e6b
Fix ItemView insert/remove when outside the current visible range [problem] Items are not always repositioned correctly after an insert/remove [cause] Inserting/removing before the currently visible items is not supported [solution] Add additional logic to the InsertItem method Change-Id: I3754506048e1bfe1544cb24a2421e66e8052b37a
Updates after the use of const refs in gesture callbacks Change-Id: I40f12f4bff328bec75601bc4ba13920530e317e3
Include required header files directly rather than through dali.h Compilation is quicker as well as less is included at compile time. Change-Id: I0bfee15503759c578b9b6f4f5de093b1ceb7c61f
Remove Deprecated APIs Change-Id: Ie94adf60535ad27715d462b88ae9870e481865d8
Move the logic of constraint application from ItemView to the layout Change-Id: I1e8b8e86a8f5a6610bac207176347e68413e36f9 Signed-off-by: Richard Huang <r.huang@samsung.com>
Prevent fighting of setting scroll position property by ItemView and ScrollBar [problem] When ItemView is still scrolling, touch and drag the fast scroll bar, the fast scroll bar is not responsive for some time and ItemView scrolls to the wrong position sometimes. [cause] When scroll position property is being animated by ItemView, if something else (e.g. ScrollBar) tries to modify the scroll position property at the same time, there is a fighting of setting the same property between the two. [solution] Cancel scroll animation when it is in fast scroll mode. Change-Id: I3de03d7b21b929fe527b907e58464896b774c489 Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
Stop caching extra items while activating layout in ItemView [problem] While activating new layout, ItemView tries to cache extra items. But this can block the event thread if it takes very long time to create these extra items. [solution] Only create visible items while activating layout, and cache extra items only when scrolling. Change-Id: I04eba3ae0d1f05c470d330dac52bd602a406df56 Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
New Bouncing Effect Patch 1: Add API CreateBouncingEffectActor to creates a Dali::Actor to display the bouncing effect for overshoot Patch 5: Integrate with ScrollView, ItemView Patch 7: Add PROPERTY_OVERSHOOT_EFFECT_COLOR to allow the StyleManager to apply the theme color Reduce the height of the effect when the width of scrollable is less than 180px patch 9: Add the script for overshoot-effect-color patch 14: fix the size bug Change-Id: I2f979ff59ab78b4ce8931b36d0bc2dff48dc7901 Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
Notify ItemFactory when an item is removed from ItemView Change-Id: I0620a480d54d5fc78b7e032957f30829f5ae9feb Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
New API to get the range of items in the current ItemView cache Change-Id: I559963ec022f6bd2d4c607da6c2a0ce19190aacf Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
Remove animation while panning. Change-Id: Ic9fe7891e97908798e771ec1895013d09424c0f8 Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
Conversion to Apache 2.0 license Change-Id: Ieba1af3439cf87694a6893c684b78dc13de0ede9
Moved ControlImpl to Internal namespace & renamed to Control [problem] TypeRegistry does not have an entry for ControlImpl but that is what all ControlImpl objects are set to when using GetTypeName() etc. [cause] This means we cannot use control properly with the type-registry. Everywhere else, the namespaces are stripped from the typeid name so for Internal::ImageActor we just have ImageActor and this matches the entry for ImageActor in the type-registry. However, for Control, we only have an entry for Control, not ControlImpl so there is no match. [solution] By moving ControlImpl to Internal::Control we will have the match in the type-registry. Added typedef for ControlImpl so applications will only have to be recompiled. Change-Id: I50d63b27f0fc6af0e8de1c59757e0a9324354c63 Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
(OvershootIndicator) Enable new shader bounce effect for overshoot Change-Id: Ia1067b8c74296dc35d79d7fdd7084639c5727664 Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
Configurable anchor point and parent origin of the items in an ItemView control [Issue] N/A [Problem] ItemView set parent origin and anchor point of new items to the center [Cause] N/A [Solution] Added functions to set a different anchor point and parent origin
(ItemView) Implemented SetOvershootEnabled which is used by Scrollable::Enable/DisableScrollComponent Change-Id: I2c5fa803add707508884b022ae06956fc35c441a
Split dali-toolkit into Base & Optional Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>