Kimmo Hoikka [Thu, 12 Jun 2014 09:58:19 +0000 (10:58 +0100)]
Fix activate action on Control
Change-Id: Ia3d2c920984a2dc322a9a9765818835706f1bc6d
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
Adeel Kazmi [Thu, 12 Jun 2014 12:30:11 +0000 (13:30 +0100)]
(ScrollView) Disable ALWAYS-ON logging.
[problem] Logging is always on in scroll-view
[solution] Disable, comment out to enable it on local builds
Change-Id: I5780f0783182d77e6d6dbe330f890a47a1505810
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
Julien Heanley [Wed, 11 Jun 2014 12:37:11 +0000 (13:37 +0100)]
ScrollView - Fix for scroll effect issues found due to ruler disabling not updating min/max scroll positions
[problem] Scrolling could result in page disappearing during scrolling due to incorrect scroll domain (change homescreen scroll effect to outer cube/spiral)
[solution] Added code to deal with ruler being disabled, now the min/max values for that ruler are reset to 0
Change-Id: I34e95761fb58dfe4d2bc3580671415f1f6f2e707
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
jonghyun.ho [Thu, 12 Jun 2014 05:31:46 +0000 (14:31 +0900)]
Add some logs to find out cause of once happened scrollview issue #2
Change-Id: Ife0241d7258973eeaf59c3853e698b2a1c400949
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
Julien Heanley [Thu, 22 May 2014 16:10:27 +0000 (17:10 +0100)]
ScrollView - Stop Timer running in homescreen idle state
[problem] Load analyzer shows homescreen is running in idle state
[cause] ScrollView refresh timer is running continuously
[solution] Replaced Timer with PropertyNotification, added new API's for ScrollUpdateDistance instead of RefreshInterval
Change-Id: Id5a0dfa15752d805703d2d88845f1462d2b07030
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
jonghyun.ho [Tue, 10 Jun 2014 12:11:21 +0000 (21:11 +0900)]
Add some logs to find out cause of once happened scrollview issue
Change-Id: I80e242dc036b6191f74fee5acf4a3c02af1b6481
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
Julien Heanley [Tue, 10 Jun 2014 18:34:53 +0000 (19:34 +0100)]
ScrollView - Fix for incorrect min/max scroll property values
[problem] Scroll min/max property values would be incorrect
[cause] UpdatePropertyDomain attempts to avoid setting values if ones requested are the same as current properties. If SetRulerX/Y is called once with incorrect value and a second time with correct value, but same as value before first call, the property value retrieved will still be the old value and evaluate as the same, even though after next update frame this value is changed to same value as the first call
[solution] Store last set values locally and check against these instead of actual properties.
Change-Id: I62bc6fd3b5f9d8e9cbbb000b90b46fc90c0dd51a
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
Francisco Santos [Mon, 9 Jun 2014 02:17:16 +0000 (11:17 +0900)]
Remove animation while panning.
Change-Id: Ic9fe7891e97908798e771ec1895013d09424c0f8
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
David Steele [Wed, 11 Jun 2014 13:21:25 +0000 (14:21 +0100)]
Fixed RPM Lint errors
Change-Id: Ia9401138e54d403bc0c1a6048bd4d3ca50f5e74d
Signed-off-by: David Steele <david.steele@partner.samsung.com>
Agnelo Vaz [Fri, 30 May 2014 13:44:46 +0000 (14:44 +0100)]
TextInput uses style properties for PopUp and Highlight
[problem] Popup button order, colour of background, colour of pressed buttons and highlight predefined in internal code
[solution] Dali Properties now represent the above settings so can be defined in a JSON file or via the Public API.
Change-Id: Ia33d63d95cfdcbfb095a31c1cf514368f2683814
Julien Heanley [Tue, 10 Jun 2014 10:03:42 +0000 (11:03 +0100)]
ScrollView - Overshoot Fix
[problem] Overshoot would appear even when no scrolling is possible
[cause] Was not checking the 'can scroll' property
[solution] Check 'can scroll' property
Change-Id: I289986ae1fd16150641298cb33532114150749c5
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
Julien Heanley [Tue, 10 Jun 2014 07:53:24 +0000 (08:53 +0100)]
ScrollView - Fix for pixel value used as animation time
[problem] Animation from scroll view had large time preventing update thread from sleeping
[solution] Clamp animation time
Change-Id: I0d8a26aee100cedf6fb04f69724446dfe3f60354
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
Paul Wisbey [Tue, 10 Jun 2014 04:36:21 +0000 (13:36 +0900)]
Stop rendering during idle state
[problem] Sometimes rendering continues forever (even in idle state).
[cause] ScrollView AnimateInternalXTo is playing Animations with
invalid durations. It either uses a large duration which causes the
issue, otherwise it plays with duration zero (also incorrect).
[solution] Remove the redundant animation logic (since animating
mPropertyPrePosition to itself is a NOOP)
David Steele [Mon, 9 Jun 2014 16:08:18 +0000 (17:08 +0100)]
Updated test scripts to allow executing smaller numbers of tests
[problem] Executing test cases takes too long
[cause] Granularity is too high
[solution] Add option to run tests from a specific test case file
Change-Id: I1023fd50f65d903c16e36965370f3777293a1271
Signed-off-by: David Steele <david.steele@partner.samsung.com>
Agnelo Vaz [Mon, 9 Jun 2014 15:14:41 +0000 (16:14 +0100)]
Builder support for unsigned int property conversion
[problem] Builder was unable to convert property values to unsigned int
[cause] Used integer comparison
[solution] Added a property to unsigned int conversion
Change-Id: I6ccfac3561d016c197e18e518df35ccf9783c505
Julien Heanley [Fri, 21 Feb 2014 11:09:08 +0000 (11:09 +0000)]
(ScrollView) Updates to scroll view internals to improve responsiveness and smoothness of visual actions
[Problem] Overshoot indicator could occasionally remain on screen, overshoot would prevent panning in opposite direction until pan returned to point where overshoot started
[Solution] Replaced numerous constraints with property notifications.
Implemented the new vector component animation to remove need for separate internal x/y components.
First stage of constraint reduction on ScrollView, more to follow
Pre clamp scroll value is now snapped back to clamped position using animation and no longer needs a constraint to follow old internal x/y components
Made functionality of overshoot more solid by making it directly dependant on pre clamped scroll and post clamp scroll values now that animation is done elsewhere.
Overshoot no longer instantly flicks back to 0 if user releases and restarts a gesture before values have finished animating back
If a pan has locked to an axis it now remains locked if user releases and starts another pan before scrolling has completed, preventing issue where a vertical page scroll could be started in the middle of a horizontal page scroll, which brakes the appearance of all page scroll effects.
Change-Id: I73e8ca71f5ffd8eb3c8a1fbf91823881ac4bb2ce
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
Richard Huang [Thu, 5 Jun 2014 14:52:41 +0000 (15:52 +0100)]
Fixed wrong scroll direction for mouse wheel event in ItemView and ScrollView
[problem] ScrollView and ItemView are moving in the wrong direction for mouse wheel event.
[solution] Fixed the scroll direction for mouse wheel event in ItemView and ScrollView.
Taeyoon [Tue, 3 Jun 2014 10:02:53 +0000 (19:02 +0900)]
Conversion to Apache 2.0 license
Change-Id: Ieba1af3439cf87694a6893c684b78dc13de0ede9
jonghyun.ho [Thu, 5 Jun 2014 01:35:45 +0000 (10:35 +0900)]
Upload package dali-toolkit_0.9.21
Paul Wisbey [Tue, 3 Jun 2014 10:42:21 +0000 (19:42 +0900)]
ScrollView: Avoid animating in wrong direction during fast flick
[problem] When flicking pages quickly, it sometimes jumps backwards
[cause] Incorrect (infinite) velocity calculation in ScrollView::OnTouchEvent()
[solution] Don't interrupt snap-animation immediately during TouchPoint::Down i.e. allow
time for pan gesture to occur.
Kingsley Stephens [Thu, 29 May 2014 14:27:41 +0000 (15:27 +0100)]
(StyleManager) Add style monitor signal into StyleManager
[problem] The StyleManager was missing the StyleMonitor signal
[solution] Connect StyleManager to StyleMonitor style change signal
patch 2: combine ThemeChangeSignal and StyleChangeSignal into one
Change-Id: I8141b0b71091b42b6c0a2db047272ded6d21b273
Adeel Kazmi [Thu, 29 May 2014 13:13:50 +0000 (22:13 +0900)]
Revert "Revert "[SRUK] (StyleManager) Create a style manager""
Change-Id: I35a410e4a1b1979f2f1738b1457190f415fca43c
Agnelo Vaz [Fri, 30 May 2014 13:15:25 +0000 (14:15 +0100)]
TextInput Adding Highlight Class to be used by Decorator
[problem] Highlight class previously stubbed.
[cause] Part of incremental refactor
[solution] Implement Hightlight class, currently built but not used in existing TextInput. Will be used in future patch.
Change-Id: I6ab0e63fcfdd4f3ad667ce5a83fb708d751fd476
Francisco Santos [Thu, 29 May 2014 05:47:29 +0000 (14:47 +0900)]
Add new API to ScrollBar to set background and indicator images.
[problem] API forces application to provide a border even when using automatic 9 patch images.
[cause] API was designed for old nine patch.
[solution] Provide new API and deprecate old API.
Change-Id: Ie223643e8334f77e836ebcdd78cbf0b106a340c5
Signed-off-by: Francisco Santos <f1.santos@samsung.com>
jonghyun.ho [Mon, 2 Jun 2014 00:40:04 +0000 (09:40 +0900)]
Upload package dali-toolkit_0.9.20
Paul Wisbey [Sat, 31 May 2014 03:09:21 +0000 (12:09 +0900)]
ScrollView: Avoid unintentional contraints on X/Y properties
[problem] Snap animation is not working in homescreen ScrollView
[cause] Whilst the X/Y properties are animated, they are unintentionally
constrained to match the position from previous pan
[solution] More logic to ensure constraints are removed after pan finishes.
Sinjae Lee [Sat, 24 May 2014 07:24:40 +0000 (16:24 +0900)]
(FocusManager) Updated Accessibility features (Part2)
jonghyun.ho [Thu, 29 May 2014 01:47:02 +0000 (10:47 +0900)]
Upload package dali-toolkit_0.9.19
Francisco Santos [Wed, 28 May 2014 02:11:25 +0000 (11:11 +0900)]
Fix boost includes
Change-Id: Ib105bf32700dec8c5f70396c62970493303254df
Signed-off-by: Francisco Santos <f1.santos@samsung.com>
Jonghyun Ho [Tue, 27 May 2014 01:43:03 +0000 (10:43 +0900)]
Easier page switching with Accessibility pan
Allow a gentle left-right pan to switch homescreen pages.
Adeel Kazmi [Wed, 28 May 2014 17:38:58 +0000 (02:38 +0900)]
Revert "[SRUK] (StyleManager) Create a style manager"
Font change no longer delivered.
This reverts commit
9df291f3bec83cbbe26ae2d9b988e688d27a8b84.
Change-Id: I44fc0574eb11bac748437f8c78b1502d80effca8
Kingsley Stephens [Wed, 28 May 2014 14:32:00 +0000 (15:32 +0100)]
(StyleManager) Remove StyleManager header include form CAPI
[problem] Control-impl.h was including StyleManager.h
[solution] Remove the header file
Change-Id: I63d70842ed505516776b8e287aecf741018c16ad
David Steele [Tue, 27 May 2014 17:38:47 +0000 (18:38 +0100)]
Fixed dependencies for building on other architectures
[problem] Dali is exclusive to Arm architecture at the moment
[cause] Broken dependencies on i586/x86_64 builds
[solution] Fix the dependencies and remove exclusivity
Change-Id: I71ef589fb0591eaf3d5b40d1b1b2ae0515652417
Signed-off-by: David Steele <david.steele@partner.samsung.com>
David Steele [Tue, 27 May 2014 14:36:47 +0000 (15:36 +0100)]
Removing unnecessary boost dependency.
Change-Id: I446bb55b31f586972d918c8cefbce36cdbead922
Signed-off-by: David Steele <david.steele@partner.samsung.com>
Kingsley Stephens [Thu, 3 Apr 2014 16:08:51 +0000 (17:08 +0100)]
(StyleManager) Create a style manager
Change-Id: Ibb82ca3f21a77899cb14e6296bc245befe8928f6
Adeel Kazmi [Wed, 11 Jun 2014 07:46:30 +0000 (08:46 +0100)]
Merge branch 'master' into tizen
Adeel Kazmi [Wed, 11 Jun 2014 07:41:58 +0000 (00:41 -0700)]
Revert "License conversion from Flora to Apache 2.0"
This reverts commit
a881757839b7abb008873a68c67e17b3ba39669b.
Change-Id: Ic5cbf8f706245f7439b91ea22a3b116a8b9a1535
Sunhyun Kim [Mon, 26 May 2014 07:22:37 +0000 (16:22 +0900)]
Add comment to SetMarkupProcessingEnabled()
Application developer can confuse using SetMarkupProcessingEnabled().
i add one example.
1) TextView text = Toolkit::TextView::New( MarkupText[] );
2) text.SetMarkupProcessingEnabled(true);
developer can think MarkupText already enable markupProcessing.
but SetMarkupProcessingEnabled is adapted after SetText().
so i added simply comment to SetMarkupProcessingEnabled().
Paul Wisbey [Fri, 23 May 2014 14:54:39 +0000 (15:54 +0100)]
Partial fix for homescreen panning issue
[problem] When flicking left-right quickly, sometimes homescreen page does not move
[cause] In some cases this is caused by ScrollView using a value before the update
thread has had time to react.
[solution] Added guard logic in positionSnap calculation.
jonghyun.ho [Sat, 24 May 2014 02:36:57 +0000 (11:36 +0900)]
Upload package dali-toolkit_0.9.18.
Paul Wisbey [Thu, 22 May 2014 17:45:52 +0000 (18:45 +0100)]
Fix for flick gesture in Screen Reader mode
[problem] Flick gestures do not work with 2 fingers
[cause] Incorrect velocity calculation
[solution] Use correct 'previous position' in Gesture::Finished event
Victor Cebollada [Fri, 16 May 2014 16:33:58 +0000 (17:33 +0100)]
TextView - Update programming guide.
Change-Id: I3825f3aca4d0f1e2d52d119f2c5868e29ce14ad1
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Agnelo Vaz [Wed, 21 May 2014 13:46:29 +0000 (14:46 +0100)]
TextInput Ensure EmitTextModified occurs with special keys like BACKSPACE
Change-Id: I9ee79797fd33724c48f0c4521485c1a833cc6c37
Wang Qingli [Wed, 21 May 2014 07:27:38 +0000 (15:27 +0800)]
Remove the old constraint from indicator of scrollbar.
Change-Id: I1a65bd64e102c63dab1c11db926ab2aebdc276e0
jonghyun.ho [Wed, 21 May 2014 05:22:57 +0000 (14:22 +0900)]
Upload package dali-toolkit-0.9.17.
Agnelo Vaz [Tue, 20 May 2014 20:37:10 +0000 (21:37 +0100)]
TextInput Emit signal when text is modified.
TextInput emits signal when text is modified, developer can query number of characters on
receiving this signal and behaviour accordingly.
Change-Id: Ie4794493ec3d724e522475bc53ae43a5dbea8697
Sinjae Lee [Fri, 16 May 2014 06:02:32 +0000 (15:02 +0900)]
(FocusManager) Updated accessibility features
1. Shoot accessibility pan to hit-actor instead of currently focused actor (done)
2. Added sound resources (done)
Play sound for focus, end of focus list
3. Added Get/SetEndcapFeedbackEnabled api to handle the feedback
In case of evas-plugin usage, need to disable endcap feedback since EFL will do.
4. TODO: support tap & hold event on focused actor (NEXT PATCH)
Adeel Kazmi [Wed, 14 May 2014 18:49:00 +0000 (19:49 +0100)]
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>
Adeel Kazmi [Fri, 16 May 2014 16:19:17 +0000 (17:19 +0100)]
(Tests) Removed dependency on Ecore
Change-Id: Ibd6314a3d377506b1723ff3804763986a00c4577
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
Richard Huang [Mon, 19 May 2014 16:41:00 +0000 (17:41 +0100)]
Added new API to set fixed height for the scroll bar
[problem] When fast scroll is enabled, the height of the scroll bar should be fixed.
[cause] The height of scroll bar is dynamically changed according to the length of
scroll content. There is no API to set fixed height for the scroll bar.
[solution] Implemented new API to set fixed height for the scroll bar, so that the
the height of the scroll bar will keep the same regardless of the length
of scroll content.
Victor Cebollada [Wed, 14 May 2014 08:57:49 +0000 (09:57 +0100)]
TextView - Initialize alpha value with text's color alpha.
[problem] Text color always use alpha 1.f
[cause] The alpha value set in the text style was not send to the text actor.
[solution] Send the alpha value.
Change-Id: I313ace7de02ed8bb59981288bc969b19c6558c32
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Richard Huang [Thu, 15 May 2014 18:03:53 +0000 (19:03 +0100)]
New focus indicator should be added to the current focused actor immediately
[problem] When focus indicator is changed, it is not immediately reflected.
[cause] It doesn't remove the old indicator from the current focused actor
and add the new one to.
[solution] Remove the original focus indicator and add the new indicator to
the current focused actor.
Victor Cebollada [Thu, 15 May 2014 10:49:45 +0000 (11:49 +0100)]
TextView - Split width exceed policy and EllipsizeEnd height exceed policy combination added.
Change-Id: I0ccbedc95504857f4bd17615e163d2b6db478c2f
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Agnelo Vaz [Thu, 15 May 2014 10:45:17 +0000 (11:45 +0100)]
TextInput Adding new Handles class and matching API in Decorator
[problem] Handles class previously stubbed
[cause] Part of a TextInput Refactor
[solution] Implement in Text-Input-Handles class and amend Decorator to work with it.
Code is built but not currently used in TextInput until all part are merged.
Change-Id: I05e03c99b1178853e05073564436e2ca9c5b7b0d
jonghyun.ho [Wed, 14 May 2014 08:06:56 +0000 (17:06 +0900)]
Upload pacakge dali-toolkit_0.9.16.
Richard Huang [Wed, 14 May 2014 16:52:19 +0000 (17:52 +0100)]
Fixed crash when KeyboardFocusManager clears the focus
[problem] There is crash if focus indicator is empty but KeyboardFocusManager
tries to clear the focus.
[cause] It doesn't check whether focus indicator exists before remove it from
the current focused actor.
[solution] Check whether focus indicator exists before remove it.
Victor Cebollada [Wed, 14 May 2014 14:12:05 +0000 (15:12 +0100)]
TextInput - Disable markup processor
[problem] Strings like <html> are interpreted and not shown.
[cause] markup processor is enabled.
[solution] disable markup processor.
Change-Id: Ibe0e6ab5e9b5cbd600eb34120a1bbf10ab072899
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Kingsley Stephens [Thu, 8 May 2014 13:32:33 +0000 (14:32 +0100)]
(Button) Allow button size to return natural size
[Problem] Button needs to give itself a sensible size if no size is set on it
[Cause] Currently buttons with no size will take up the size of the stage
[Solution] Make buttons adjust natural size to wrap around any label they have
Change-Id: I17600d7376ae33b605d0b21dca3a8a7362ed7fb8
Victor Cebollada [Wed, 14 May 2014 13:00:28 +0000 (14:00 +0100)]
TextView - Fix for emoji glyph's wrong sizes
Change-Id: I09b8c183f0b4231b44d79186a05bbf4fa14ef26c
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Adeel Kazmi [Fri, 9 May 2014 18:07:47 +0000 (19:07 +0100)]
(Control) Added more event-side properties
Change-Id: Id513bccdba5f0c050cec7d2b73fdf104acb5cf05
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
Taeyoon [Thu, 22 May 2014 04:57:48 +0000 (13:57 +0900)]
License conversion from Flora to Apache 2.0
LICENSE file change.
Boilerplate notice changed to apply the Apache License to dali.
SPEC file change.
Fix build error by '*//'
Change-Id: Id92ec44b052e2c13556be6d90945226a33cfa83e
Andrew Cox [Tue, 13 May 2014 18:07:47 +0000 (19:07 +0100)]
Revert "Bitmap Toolkit Patch 1 of 1 - Replace uses of Bitmap class with ImageData"
Change-Id: I4b57875742ed4a016cb19427e101bc036024e580
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
jonghyun.ho [Tue, 13 May 2014 12:38:36 +0000 (21:38 +0900)]
Add scroll-bar and scroll-component header files.
Agnelo Vaz [Thu, 24 Apr 2014 20:27:25 +0000 (21:27 +0100)]
TextInput Decorator class and stubbed decoration classes
Problem:TextInput is a huge class with many responsibilities, it's hard to maintain and decorations can not be re-used.
Solution: Spilt into multiple classes. In this patch the Decorator initiates creation of decorations and positions them.
Stubbed Decoration classes provided for build purposes.
Change-Id: Ib880849dbc80cb1b6510a06401f5a6bfccfa55e8
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
Kingsley Stephens [Wed, 7 May 2014 16:34:31 +0000 (17:34 +0100)]
(Popup) Fix size conflict between popup title and content
[Issue#] N/A
[Problem] The popup was not being laid out correctly when having content and no fixed size specified
[Cause] The natural size of a TextView does not take wrapping into account
[Solution] Limit max size of title to stage width and allow images in content to shrink but not grow
Change-Id: Idd16e52b14bd946ee41ae58f62acb621123bffee
Lee Morgan [Mon, 28 Apr 2014 13:56:10 +0000 (14:56 +0100)]
Fix Json allowing permissive parsing.
[Issue] N/A
[Problem] Allowing non standard JSON. (aside from comments)
[Cause] N/A
[Solution] N/A
Change-Id: I5fcf3c5d2bfcc51e3e15a251263f6a9cb9b9627b
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
Xiangyin Ma [Fri, 9 May 2014 16:06:51 +0000 (17:06 +0100)]
(TextView) Update TextView properties to new property system
[Issue#] N/A
[Problem] The property system has been updated
[Cause] N/A
[Solution] Move over to using new property registration system
Change-Id: I8688e1fd5412d0dd0b781550fd7e1317217a7799
Julien Heanley [Fri, 9 May 2014 08:56:38 +0000 (09:56 +0100)]
(OvershootIndicator) Enable new shader bounce effect for overshoot
Change-Id: Ia1067b8c74296dc35d79d7fdd7084639c5727664
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
Ferran Sole [Wed, 7 May 2014 12:31:42 +0000 (13:31 +0100)]
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
Xiangyin Ma [Wed, 7 May 2014 13:05:41 +0000 (14:05 +0100)]
BouncingEffect for overscroll
[Issue] N/A
[Problem] new feature
[Cause] N/A
[Solution] the overscroll effect implemented with shader
test codes:
ImageActor imageActor = ImageActor::New( BitmapImage::New( 1, 1 ) );
imageActor.SetSize(720.f,58.f);
Toolkit::BouncingEffect bouncingEffect = Toolkit::BouncingEffect::New( Vector4(0.f,1.f,1.f,0.5f) );
imageActor.SetShaderEffect( bouncingEffect );
imageActor.SetParentOrigin( ParentOrigin::CENTER );
Stage::GetCurrent().Add( imageActor );
Animation animation = Animation::New(1.f);
animation.AnimateTo( Property( bouncingEffect, bouncingEffect.GetProgressRatePropertyName() ), 1.f,
AlphaFunctions::Bounce );
animation.Play();
Signed-off-by: Xiangyin Ma <x1.ma@samsung.com>
Julien Heanley [Fri, 9 May 2014 08:39:25 +0000 (09:39 +0100)]
(ScrollView)Found issue with change made in previous patch for overshoot enabling
[Problem] Will crash if overshoot enable is called twice without a disable in between
[Solution] Make sure application can call to enable as many times as it wants
Change-Id: Ie7bbfe8eea8475dee9294f8949a09a40fa8df483
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
Andrew Cox [Wed, 7 May 2014 12:49:43 +0000 (13:49 +0100)]
Bitmap Toolkit Patch 1 of 1 - Replace uses of Bitmap class with ImageData
[Issue#] N/A
[Problem]
TCT test framework has mock adaptor components that use the old Bitmap
class, so TCT tests can't pass.
[Cause]
Out of date use of old class.
[Solution]
Replace Bitmap usage with ImageData.
Change-Id: I46814d7d693bf7cba27a1a3426285ec0963b4e3c
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
Julien Heanley [Wed, 9 Apr 2014 13:54:08 +0000 (14:54 +0100)]
(ScrollOvershoot) Removed OnStage checks now that issue has been fixed in PropertyNotification
Change-Id: Ic334fb2c4d889604670a45b6a9d57dcbdc88f1ba
Julien Heanley [Tue, 22 Apr 2014 14:35:22 +0000 (15:35 +0100)]
(ItemView) Implemented SetOvershootEnabled which is used by Scrollable::Enable/DisableScrollComponent
Change-Id: I2c5fa803add707508884b022ae06956fc35c441a
jonghyun.ho [Wed, 7 May 2014 05:15:07 +0000 (14:15 +0900)]
Upload package dali-toolkit_0.9.15.
Kingsley Stephens [Fri, 2 May 2014 12:48:31 +0000 (13:48 +0100)]
(Slider) Update slider properties to new property system
[Issue#] N/A
[Problem] The property system has been updated
[Cause] New properties
[Solution] Move over to using new property registration sytem
Change-Id: Id067026c88edc97a26573fa5fe205c7106906756
David Steele [Tue, 13 May 2014 19:24:53 +0000 (20:24 +0100)]
Fixed build issues and rpmlint errors
Change-Id: I0118da3693d8ed1c5f87b62d0da405c4f6ac69f2
Signed-off-by: David Steele <david.steele@partner.samsung.com>
Paul Wisbey [Wed, 30 Apr 2014 15:51:03 +0000 (16:51 +0100)]
Split dali-toolkit into Base & Optional
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
Javon Prince [Fri, 2 May 2014 12:28:53 +0000 (13:28 +0100)]
Add 'ExclusiveArch: armv7l' limit build to arm architecture
Signed-off-by: Javon Prince <javon.prince@samsung.com>
Richard Underhill [Wed, 30 Apr 2014 16:56:12 +0000 (17:56 +0100)]
Build Optimization for size ( -Os )
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
Javon Prince [Thu, 1 May 2014 09:36:37 +0000 (10:36 +0100)]
Add support for Animation::EndAction::BakeFinal to builder
Signed-off-by: Javon Prince <javon.prince@samsung.com>
Adeel Kazmi [Tue, 29 Apr 2014 16:23:33 +0000 (17:23 +0100)]
(Control) Added ability to specify a background color/image.
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
Lee Morgan [Wed, 30 Apr 2014 14:07:38 +0000 (15:07 +0100)]
Scripting: added setting shader property
[Issue#] (N/A)
[Problem] Animation checks effect if property set fails on an object.
[Cause] N/A
[Solution] Make Builder ApplyStyle() do the same.
Change-Id: I152f57fb09cb3e2c8a6e60a9ca014f9bc09cd025
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
jonghyun.ho [Tue, 29 Apr 2014 00:02:33 +0000 (09:02 +0900)]
Upload package dali-toolkit_0.9.14.
Related packages : dali_0.9.14, dali-adaptor_0.9.14, dali-toolkit_0.9.14
Change-Id: I464273da1141d23e8179182ddb51b0d9102aaaaa
Signed-off-by: David Steele <david.steele@partner.samsung.com>
Lee Morgan [Thu, 24 Apr 2014 16:41:08 +0000 (17:41 +0100)]
Scripting: Json format changes; style sets, includes
Styles section split into templates & styles.
Includes section added.
[Issue#] (N/A)
[Problem]
[Cause]
[Solution]
Change-Id: I5bbfc3d05862bda3420b0c2ff5e7f39639325bc4
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
Lee Morgan [Tue, 29 Apr 2014 11:11:44 +0000 (12:11 +0100)]
Fix for slider
[Issue#] (N/A)
[Problem] Crash when changing properies from script
[Cause]
[Solution]
Change-Id: Ic94b7906fa3321a80efb8a8ef43f4a11e7276a71
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
Javon Prince [Mon, 28 Apr 2014 08:51:14 +0000 (09:51 +0100)]
Scripting: Create animation on tree of actors starting at a specific root actor.
This allows the mapping of JSON defined animations to arbitrary instances
of JSON defined actor tree templates
Change-Id: I34130e06c37ca394feef0d5dad7f029f8a46359b
Signed-off-by: Javon Prince <javon.prince@samsung.com>
Richard Huang [Thu, 24 Apr 2014 10:14:06 +0000 (11:14 +0100)]
Improve fast scrolling performance in ItemView
Change-Id: I4105319807124bc6c3a5218612eecae4f3685d10
Signed-off-by: David Steele <david.steele@partner.samsung.com>
Javon Prince [Fri, 25 Apr 2014 14:35:57 +0000 (15:35 +0100)]
Scripting: Fix cut&paste typo
Change-Id: I940c6d4a6164e8b4c82277a1e4c5e49fccca0b87
Signed-off-by: Javon Prince <javon.prince@samsung.com>
Javon Prince [Fri, 25 Apr 2014 14:01:54 +0000 (15:01 +0100)]
Scripting: Update constant replacement in JSON files
Get entire map of key/value constants
Get a single constant (by key)
Add/Set a single constant( key,value )
[Issue#] (N/A)
[Problem]
[Cause]
[Solution]
Change-Id: I0a1912b43fc364f82f664c69b4348b834026d1da
Signed-off-by: Javon Prince <javon.prince@samsung.com>
Javon Prince [Thu, 24 Apr 2014 15:25:52 +0000 (16:25 +0100)]
Scripting: Allow JSON colors (and alpha) to be specified as
"color":{
"r":255,
"g":0,
"b":127,
"a":50
}
OR
"color":[1, 0, 0.5, 0.2]
OR
"color":"#FF007F",
"color-alpha":0.2
Change-Id: If5bad5e9a51875b470d6e3638c6f7d49618d06b7
Signed-off-by: Javon Prince <javon.prince@samsung.com>
Javon Prince [Thu, 24 Apr 2014 15:22:41 +0000 (16:22 +0100)]
Optimizing markup processing
Only reprocess markup-text in the TextView when the 'markup-enabled' property is changed to true
Change-Id: I9011af832a27fa4c6b5d3b9dfe59c9890f91725c
Signed-off-by: Javon Prince <javon.prince@samsung.com>
Javon Prince [Thu, 24 Apr 2014 10:47:06 +0000 (11:47 +0100)]
Add 'markup-enabled' property to TextView
[Issue#] (N/A)
[Problem] Unable to enable markup-processing in JSON file
[Cause] SetMarkupProcessingEnabled() is a function not a property
[Solution] Wrap SetMarkupProcessingEnabled() with a new property
Change-Id: Idf1b00df0dba166ad13a3f831c2ea8d7e91c0009
Signed-off-by: David Steele <david.steele@partner.samsung.com>
Adeel Kazmi [Wed, 23 Apr 2014 19:08:32 +0000 (20:08 +0100)]
(SuperBlurView) Ensure the image can be set as a property
[Problem] Cannot set the image on super-blur-view from scripting.
[Cause] Image is not a property.
[Solution] Make image a property.
Change-Id: Ifc9b5996fd98f365b1ff36322021b6013ea445e4
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
jonghyun.ho [Thu, 24 Apr 2014 05:52:19 +0000 (14:52 +0900)]
Upload package dali-toolkit_0.9.13.
Related packages : dali_0.9.13, dali-adaptor_0.9.13, dali-toolkit_0.9.13
Change-Id: I70855f9bceb3d770da04b8d8588573e2ac1333d7
Signed-off-by: David Steele <david.steele@partner.samsung.com>
jonghyun.ho [Wed, 23 Apr 2014 07:48:36 +0000 (16:48 +0900)]
Cancelled signal is triggered to reset status when gesture is detached.
[Issue#] N/A
[Problem] In next case, application can't get ScrollCompleted signal.
1. Panning scroll view is started.
2. Call SetScrollSensitive(false)
to stop movement of scroll view and pick the object inside.
3. Scroll view doesn't trigger Scrollcompleted signal
until SetScrollSensitive(true) is called.
[Cause] Scroll view is still thinking it's still being animated
even though it's stopped and its sensitive is false.
[Solution] Cancelled signal is triggered to reset status when gesture is detached.
Change-Id: I7a03bd335072593bdad528be498f5f1acbfb9c1f
Signed-off-by: David Steele <david.steele@partner.samsung.com>
Richard Huang [Wed, 23 Apr 2014 11:09:02 +0000 (12:09 +0100)]
Fixed scroll bar disabling issue in gallery app
[Issue]
[Problem] Scroll bar in ScrollView is shown when it shouldn't. It cannot be disabled
even when Scrollable::DisableScrollComponent is called.
[Cause] The images for scroll indicator are not removed when scroll bar is disabled.
[Solution] Remove the scroll indicator images when the scroll bar is disconnected
from scroll view.
Change-Id: I01ff966ad1484b23db5000dd48184fdb2ebe653e
Signed-off-by: David Steele <david.steele@partner.samsung.com>
Adeel Kazmi [Tue, 22 Apr 2014 16:10:39 +0000 (17:10 +0100)]
(ScrollView) Stop detecting pinch gestures.
[Problem] Scroll view detects pinch gestures even though it does not do anything with them.
[Cause] N/A
[Solution] Stop pinch detection in scroll-view.
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
Change-Id: I7c0b1070408baa5002acc32e992ce32122af43a5
jonghyun.ho [Thu, 17 Apr 2014 02:03:21 +0000 (11:03 +0900)]
Upload package dali-toolkit_0.9.12.
Related packages : dali_0.9.12, dali-adaptor_0.9.12, dali-toolkit_0.9.12
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
Change-Id: I69796d88e6fefcbbce5a493ff1f372dc129065e3
Richard Underhill [Thu, 17 Apr 2014 10:22:11 +0000 (11:22 +0100)]
Fix for application crashing
[Problem] Markup was needed to correctly parse each character for
text splitting operations
[Cause] Code assumes a text style per character. Clean solution will
require more work
[Solution] MarkupProcessing is enabled by default on TextInput.
TextView created by TextInput markup is inherited.
Scan for markup is no longer called and is forced by
MarkupProcessingEnabled flag.
Change-Id: I7e4a82271aa8a7eacdfe7aa6e56a12703d467f8b
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>