platform/core/uifw/dali-toolkit.git
7 years agoCancelled signal is triggered to reset status when gesture is detached. 02/20302/1
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>
7 years agoFixed scroll bar disabling issue in gallery app 01/20301/1
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>
7 years ago(ScrollView) Stop detecting pinch gestures. 68/19968/1
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

7 years agoUpload package dali-toolkit_0.9.12. 67/19967/1
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

7 years agoFix for application crashing 66/19966/1
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>
7 years agoUpdated item-view documentation. dali-2014-wk16-release
Adeel Kazmi [Wed, 16 Apr 2014 16:01:50 +0000 (17:01 +0100)]
Updated item-view documentation.

7 years agoInclude scroll-connector header.
jonghyun.ho [Thu, 20 Mar 2014 09:25:56 +0000 (18:25 +0900)]
Include scroll-connector header.

[Issue#]   N/A
[Problem]  Cause build break.
[Cause]    Missed header file.
[Solution] Include scroll-connector header.

7 years agoFix builder animation
Lee Morgan [Tue, 15 Apr 2014 13:51:00 +0000 (14:51 +0100)]
Fix builder animation

[Issue#]   N/A
[Problem]  Crash with no animation duration from json
[Cause]    Bug in change to support animations where properties have no time-period
[Solution] N/A.

Change-Id: Icf685250e7bf529a0c0ff1751a2f24e7f7aca4fd
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
7 years agoAdding new test harness
David Steele [Fri, 11 Apr 2014 10:25:39 +0000 (11:25 +0100)]
Adding new test harness

[Issue#]       N/A
[Problem]      N/A
[Cause]        N/A
[Solution]     N/A
[Verification] Build Repo

Getting about 90% pass rate on target and desktop.

Change-Id: I2b174d7cd6c603ce9083471ae4cb972728b6e02f
Signed-off-by: David Steele <david.steele@partner.samsung.com>
7 years agoBuilder templated constant expansion
Lee Morgan [Fri, 4 Apr 2014 14:01:53 +0000 (15:01 +0100)]
Builder templated constant expansion

[Issue#]   N/A
[Problem]  Template/constant Expansion needed (Image paths etc).
[Cause]    N/A.
[Solution] Added Replacement expansion helper class.

Change-Id: Ib02024c4e7042180df55dec639daacad2c61b2fd
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
7 years agoUpload package dali-toolkit_0.9.11.
jonghyun.ho [Fri, 11 Apr 2014 01:00:42 +0000 (10:00 +0900)]
Upload package dali-toolkit_0.9.11.

Related packages : dali_0.9.11, dali-adaptor_0.9.11, dali-toolkit_0.9.11

7 years agoUpdate the spec configuration.
daemyung jang [Thu, 10 Apr 2014 04:32:10 +0000 (13:32 +0900)]
Update the spec configuration.

[Issue#] N/A
[Problem] Not build.
[Cause] When the system make the user binary,
        the debug states are skipped.
[Solution] Update spec configuration.

7 years agoShortcut check for markup in a string, before attempting to parse and split the strin... 50/19450/1
Richard Underhill [Mon, 7 Apr 2014 14:37:15 +0000 (15:37 +0100)]
Shortcut check for markup in a string, before attempting to parse and split the string into individual text styles.

[Issue#] N/A

[Problem]

[Cause]

[Solution] Avoids stylestack if no markup
Markup processing on text view and text input must now be specifically
enabled via the SetMarkupProcessingEnabled( true )

Change-Id: Ide2f77c644c3bec42f71d3f3963f1f9c2584a353
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
7 years ago(ScrollConnector) Added capi header information 49/19449/1
Julien Heanley [Wed, 9 Apr 2014 13:48:04 +0000 (14:48 +0100)]
(ScrollConnector) Added capi header information

[Issue#]   N/A
[Problem]
[Cause]
[Solution]

Change-Id: I40651645ed23139fca252de1d4d622fde155a5cf
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
7 years agoRemove the dependency between ScrollBar & ItemView 48/19448/1
Paul Wisbey [Wed, 9 Apr 2014 15:46:49 +0000 (16:46 +0100)]
Remove the dependency between ScrollBar & ItemView

[Issue#] N/A
[Problem]  ItemView only works with one type of scroll bar i.e. Toolkit::ScrollBar
[Cause]    Direct dependency from ItemView to ScrollBar
[Solution] Use the ScrollComponent interface instead. The idea is that custom
scroll components can be implemented and connected without changing ItemView

Change-Id: Ie059b6453f38b7a2baccd7ced135b1a49fc6ab88
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
7 years agoFix for TextView's broken TET cases. 47/19447/1
Victor Cebollada [Wed, 9 Apr 2014 12:34:41 +0000 (13:34 +0100)]
Fix for TextView's broken TET cases.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A

Change-Id: Ieff42ef89ce20291ded86595bdaf7dce73e7fa8c
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
7 years agoTextView - Support for emoticons. 46/19446/1
Victor Cebollada [Fri, 21 Mar 2014 16:02:16 +0000 (16:02 +0000)]
TextView - Support for emoticons.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A

Change-Id: I339ad79f8c8bb045ade3a7ce1eba982d130cebbc
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
7 years agoImplemented scroll bar control 45/19445/1
Richard Huang [Thu, 27 Mar 2014 15:41:23 +0000 (15:41 +0000)]
Implemented scroll bar control

[Issue] N/A

[Problem] Need a scroll bar control that can be added to other actors to
          indicate the current scroll position of the actor's scrollable
          content.

[Cause] N/A

[Solution] Implemented a scroll bar control.

Change-Id: I4e4b174f6cdf41caffe93dc362ca9ca6eb484c94
Signed-off-by: Richard Huang <r.huang@samsung.com>
7 years agoAllow overshoot indicators to be implemented outside of ItemView 44/19444/1
Paul Wisbey [Mon, 7 Apr 2014 15:56:43 +0000 (16:56 +0100)]
Allow overshoot indicators to be implemented outside of ItemView

[Issue#]   N/A
[Problem]  Hard to customize overshoot indicators.
[Cause]    Requires changes to ItemView internals etc.
[Solution] Move the overshoot property out into ScrollConnector.
(and then implement overshoot indicators outside of ItemView)

Change-Id: I99632fd485f1f5744e4d38b5056e1dfb0ded3b67
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
7 years agoPut scroll-connector.h in the capi folder 43/19443/1
Paul Wisbey [Mon, 7 Apr 2014 14:43:49 +0000 (15:43 +0100)]
Put scroll-connector.h in the capi folder

[Issue#]   N/A
[Problem]  dali-toolkit/capi for is out of sync with CAPI repository
[Cause]    scroll-connector.h was moved into CAPI
[Solution] Put scroll-connector.h in the correct folder

Change-Id: Ia503e4c0aff447d5df35e30eb5ab93615869ecbc
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
7 years ago(Buttons) Creating actor from property-maps
Adeel Kazmi [Tue, 25 Mar 2014 16:36:28 +0000 (16:36 +0000)]
(Buttons) Creating actor from property-maps

Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
7 years agoMake ItemView::ActivateLayout do what it says on the tin
Paul Wisbey [Tue, 25 Mar 2014 13:35:54 +0000 (13:35 +0000)]
Make ItemView::ActivateLayout do what it says on the tin

[Issue#]   N/A
[Problem]  ActivateLayout uses a duration of 0 for newly added actors
[Cause]    Legacy?
[Solution] Use the duration parameter

Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
7 years agoFix for ScrollConnector enum.
Paul Wisbey [Fri, 21 Mar 2014 16:57:10 +0000 (16:57 +0000)]
Fix for ScrollConnector enum.

[Issue#]   N/A
[Problem]  enum is not defined.
[Cause]    Missing class scope.
[Solution] Fixed it.

7 years agoFix colors in the bubble effect. 16/18316/1
Francisco Santos [Thu, 20 Mar 2014 13:28:38 +0000 (13:28 +0000)]
Fix colors in the bubble effect.

Change-Id: I9b54f72d122d9e9428698c40da3ccd34e94a52f2
Signed-off-by: Francisco Santos <f1.santos@samsung.com>
7 years agoItemView API to set the alpha function 62/18162/3
Paul Wisbey [Mon, 17 Mar 2014 14:22:51 +0000 (14:22 +0000)]
ItemView API to set the alpha function

[Issue#]   N/A
[Problem]  Can't customize ItemView constraint animations
[Cause]    API limitations
[Solution] Added API to set the alpha function

Change-Id: I9cd7e789739916e084a6b122b871c8e33c5b4d98
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
7 years agoUpdated CAPI documentation style 58/18058/3
David Steele [Fri, 14 Mar 2014 11:21:55 +0000 (11:21 +0000)]
Updated CAPI documentation style

Change-Id: I522f9faea68c194e8ab1ef07355e191c1c3d776b
Signed-off-by: David Steele <david.steele@partner.samsung.com>
7 years agoMore ItemView Insert/Remove/Replace APIs 61/18061/10
Paul Wisbey [Fri, 14 Mar 2014 15:19:40 +0000 (15:19 +0000)]
More ItemView Insert/Remove/Replace APIs

[Issue#]   N/A
[Problem]  Not easy enough to write applications with ItemView
[Cause]    API limitations
[Solution] Provided Insert/Remove/Replace APIs

Change-Id: I81a89021a99664d95a08e2f5dd659905186f052e

7 years agoMerge "Provide object to connect scrollable containers & scroll-bars etc."
Paul Wisbey [Thu, 13 Mar 2014 16:47:56 +0000 (09:47 -0700)]
Merge "Provide object to connect scrollable containers & scroll-bars etc."

7 years agoProvide object to connect scrollable containers & scroll-bars etc. 69/17869/10
Paul Wisbey [Tue, 11 Mar 2014 18:15:39 +0000 (18:15 +0000)]
Provide object to connect scrollable containers & scroll-bars etc.

[Issue#]   N/A
[Problem]  ItemView does too much
[Cause]    Scroll-bars etc. implemented inside of ItemView
[Solution] Provide an object to connect  scrollable containers to scroll
components. The scroll-bar should not know anything about ItemView and
vice versa.

Change-Id: Ibe7b2e9c03f0f31b656b712837a861d8eeffc954
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
7 years agoFixed shader test cases to match code changes. 40/17940/1
Francisco Santos [Wed, 12 Mar 2014 17:52:35 +0000 (17:52 +0000)]
Fixed shader test cases to match code changes.

Change-Id: If2f1d15c7f7cdf56d555481b63f5dc0f0addce7b
Signed-off-by: Francisco Santos <f1.santos@samsung.com>
7 years ago(TET) Added new TET cases for TextInput and fixed some failing ones. 59/17859/1
Agnelo Vaz [Thu, 6 Mar 2014 17:21:53 +0000 (17:21 +0000)]
(TET) Added new TET cases for TextInput and fixed some failing ones.

Problem: Some TET cases for TextInput were failing and many API Tests were left out.
Solution: Added new TET cases and fixed TET cases that were failing. 31 tests 100% success.
Verification: Build repos, build TET scenario text-input and execute scenario text-input.

Change-Id: If7c7c3677f88039242cddacf46dc09f0107a44d0
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
7 years agoFix issues related with cameras. 66/17766/2
Francisco Santos [Mon, 10 Mar 2014 10:55:14 +0000 (10:55 +0000)]
Fix issues related with cameras.

Fixed shader effects that were doing calculations in view space.
Fixed controls that were using FREE_LOOK camera without orienting it.

Change-Id: Ib7330adf9a1344b03583c2cb6a9ef958df5d28b4
Signed-off-by: Francisco Santos <f1.santos@samsung.com>
7 years ago(ControlImpl) Updated following PropertyRegistration enum change in core. 07/17707/1
Adeel Kazmi [Thu, 6 Mar 2014 15:57:08 +0000 (15:57 +0000)]
(ControlImpl) Updated following PropertyRegistration enum change in core.

[Issue#]   N/A
[Problem]  PropertyRegistration::START_INDEX and MAX_INDEX enums moved outside of
           PropertyRegistration class.
[Cause]    N/A
[Solution] Change accordingly.

Change-Id: I34672d14693b018a6459fc3e1dd9e19c7eba1cb1
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
7 years ago(TextInput) Adding check that ImfManager::Get suceeds before calling functions 06/17706/1
Agnelo Vaz [Thu, 6 Mar 2014 17:00:32 +0000 (17:00 +0000)]
(TextInput) Adding check that ImfManager::Get suceeds before calling functions

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution]
[Verification] Build Repo

Change-Id: Id64412e2a200b4285a0083efef65f701a49d47aa
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
7 years agoAdded set property action to JSON 05/17705/1
Lee Morgan [Tue, 4 Mar 2014 13:25:28 +0000 (13:25 +0000)]
Added set property action to JSON

[Issue#]   N/A
[Problem]  N/A
[Cause]    N/A
[Solution] N/A

Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
Change-Id: Icdefe5fd1342615c9bb50ad8d3766c555d49fe79

7 years agoRemove redundant Core::SendEvent() & NotificationEvent 32/17232/1
Paul Wisbey [Tue, 4 Mar 2014 16:09:04 +0000 (16:09 +0000)]
Remove redundant Core::SendEvent() & NotificationEvent

[Issue#]   N/A
[Problem]  Notification event is redundant
[Cause]    Previously there was no way of telling Core to process events,
except by sending an event.
[Solution] Use the ProcessEvents() method, which was separated from Core::SendEvent()

Change-Id: I240cb24834192d1c5bc797e7c9952c1666b3f3d5
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
7 years ago(MaskedImageView) Fix IsPaused() 31/17231/1
Xiangyin Ma [Fri, 21 Feb 2014 16:17:05 +0000 (16:17 +0000)]
(MaskedImageView) Fix IsPaused()

[Issue] N/A
[Problem] always return false
[Cause] N/A
[Solution]

Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
Change-Id: Ia9579293f8d88c385ade6a2dc177445e96d8d3c2

7 years agoTextView - Fix for line justification when multiline policy is split by word and... 30/17230/1
Victor Cebollada [Tue, 4 Mar 2014 10:33:26 +0000 (10:33 +0000)]
TextView - Fix for line justification when multiline policy is split by word and exceed policy is shrink to fit.

[Issue#] N/A
[Problem] Wrong line justification.
[Cause] Shrink factor was not used.
[Solution] Use shrink factor.

Change-Id: Id7d6fd8a66a767115786f4ade540b91550c917ce
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
7 years ago(Slider)Added SlidingFinishedSignal 29/17229/1
Xiangyin Ma [Fri, 28 Feb 2014 15:47:20 +0000 (15:47 +0000)]
(Slider)Added SlidingFinishedSignal

[Issue] N/A

[Problem] N/A

[Cause] N/A

[Solution] Add SlidingFinishedSignal, receives new value when the finger is lifed up

Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
Change-Id: Ice003fb098d337fe84ec40581a19e5da5c94fcc3

7 years ago(Button/PushButton) Registering properties using the type-registry. 28/17228/1
Adeel Kazmi [Tue, 18 Feb 2014 17:28:00 +0000 (17:28 +0000)]
(Button/PushButton) Registering properties using the type-registry.

[Issue#]   N/A
[Problem]  N/A
[Cause]    N/A
[Solution] Property registration via type-registry added to core which allows the addition of
           event-side only properties to an actor on library load time.
           Button dimmed property changed to this property type.
           Added properties to push-button with this property type.

Change-Id: I95b4cd3cf02c071d74c3147ba1d48ecf835b39a9
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
7 years agoTextView - Fix for text view processor. Was not creating text-actors in some cases...
Victor Cebollada [Mon, 3 Mar 2014 14:58:40 +0000 (14:58 +0000)]
TextView - Fix for text view processor. Was not creating text-actors in some cases after a new-line character or if a line started by a white space.

[Issue#] P140228-02847
[Problem] Some characters are not displayed or displayed in the line above.
[Cause] Wrong logic. Some text-actors were not created.
[Solution] Fix the logic.

Change-Id: I0e25bbb7e676f0b7eec10a5dcba1224aab2f653d

7 years ago(AutomatedTests) Fixed failing TET case in FocusManager
Adeel Kazmi [Mon, 3 Mar 2014 11:46:55 +0000 (11:46 +0000)]
(AutomatedTests) Fixed failing TET case in FocusManager

[Issue#]   N/A
[Problem]  Accidentally broken in last change (wrong name added).
[Cause]    N/A
[Solution] Changed to corrent property name.

7 years agoControls no longer have property names.
Adeel Kazmi [Fri, 28 Feb 2014 18:26:27 +0000 (18:26 +0000)]
Controls no longer have property names.

[Issue#]   N/A
[Problem]  May change these so should be removed from CAPI for now.
[Cause]    N/A
[Solution] N/A

Change-Id: I9a54fc5e509595a3b18258d0da0bf4117eb93b68

7 years ago(ScrollComponent) Removing unneeded public-api versions of ScrollComponents
Julien Heanley [Tue, 14 Jan 2014 09:36:52 +0000 (09:36 +0000)]
(ScrollComponent) Removing unneeded public-api versions of ScrollComponents

[Issue#]   N/A
[Problem]  N/A
[Cause]    N/A
[Solution] N/A

Change-Id: I33f5d4cc11ac85e6989cad71bce08936e96e3838

7 years ago(TextInput) Removing deprecated Margin and Handle flip API
Agnelo Vaz [Thu, 27 Feb 2014 12:19:23 +0000 (12:19 +0000)]
(TextInput) Removing deprecated Margin and Handle flip API

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Removing:

  /* @deprecated, use SetBoundingRectangle instead. */
  void SetSelectionHandleFlipMargin( const Vector4& margin );

  /* @deprecated, use GetBoundingRectangle instead. */
  const Vector4& GetSelectionHandleFlipMargin();

  /* @deprecated, handles always flip. Use SetBoundingRectangle */
  void EnableSelectionHandleFlip( bool toggle );

  /* @deprecated, handles always flip. Use SetBoundingRectangle */
  bool IsSelectionHandleFlipEnabled();

[Verification] Build Repo

7 years ago[SRUK] Initial copy from Tizen 2.2 version
Paul Wisbey [Mon, 3 Mar 2014 19:04:23 +0000 (19:04 +0000)]
[SRUK] Initial copy from Tizen 2.2 version

Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
Change-Id: I1088d752201827b02c6b83015c00ff158f58e2ad

7 years agoInitial empty repository
Sehong Na [Sun, 16 Feb 2014 23:49:11 +0000 (15:49 -0800)]
Initial empty repository