platform/core/uifw/dali-toolkit.git
10 years agoMerge "Updated test suite following platform abstraction change" into tizen
Paul Wisbey [Fri, 29 Aug 2014 09:07:37 +0000 (02:07 -0700)]
Merge "Updated test suite following platform abstraction change" into tizen

10 years agoMerge "Uses TextArray new type definition." into tizen
Kimmo Hoikka [Thu, 28 Aug 2014 17:58:33 +0000 (10:58 -0700)]
Merge "Uses TextArray new type definition." into tizen

10 years agoMerge "Remove unnecessary method from control-impl" into tizen
Adeel Kazmi [Thu, 28 Aug 2014 17:41:54 +0000 (10:41 -0700)]
Merge "Remove unnecessary method from control-impl" into tizen

10 years agoMerge changes Ica8d7442,I39b8ad54 into tizen
Kimmo Hoikka [Thu, 28 Aug 2014 15:43:03 +0000 (08:43 -0700)]
Merge changes Ica8d7442,I39b8ad54 into tizen

* changes:
  (Control) Can connect to gestures through scripting
  (Builder) Ensure properties are not applied twice

10 years ago(ScrollViewTwistEffect) Added getters for some of the setters 51/26151/3
Adeel Kazmi [Mon, 18 Aug 2014 14:15:28 +0000 (15:15 +0100)]
(ScrollViewTwistEffect) Added getters for some of the setters

Added GetMaxSwingAngle() and GetSwingDropOff.

Change-Id: I65da3c291534bcb6bb84a64f9ca46fdda9e0ca61

10 years ago(Control) Can connect to gestures through scripting 75/26775/2
Adeel Kazmi [Thu, 28 Aug 2014 14:36:21 +0000 (15:36 +0100)]
(Control) Can connect to gestures through scripting

Change-Id: Ica8d74426994d2f3a0398cf6bb0907508491823d

10 years ago(Builder) Ensure properties are not applied twice 74/26774/1
Adeel Kazmi [Thu, 28 Aug 2014 10:05:54 +0000 (11:05 +0100)]
(Builder) Ensure properties are not applied twice

[Problem]  Properties were being applied twice to each instance.
[Cause]    If an Actor instance is created we apply the style, which applies the style properties
           as well as the individual properties. After this the individual properties are applied
           again.
[Solution] Only apply the individual properties if the style properties have not been applied.

Change-Id: I39b8ad543b5cbb341e19bada25fb539797a1e3df

10 years agoRemove unnecessary method from control-impl 59/26759/1
Kimmo Hoikka [Thu, 28 Aug 2014 12:49:51 +0000 (13:49 +0100)]
Remove unnecessary method from control-impl

Change-Id: I45db64b6f42620bec9a71fb4818d98281059f2a8

10 years agoUses TextArray new type definition. 96/26396/3
Victor Cebollada [Thu, 21 Aug 2014 14:05:53 +0000 (15:05 +0100)]
Uses TextArray new type definition.

TextArray is now a Dali::Vector instead a std::vector.

Change-Id: Ifc45f872607e04fe6826578b7a0bb6d7de0f9d7c
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
10 years agoUpdated test suite following platform abstraction change 26/26726/1
David Steele [Thu, 28 Aug 2014 10:50:36 +0000 (11:50 +0100)]
Updated test suite following platform abstraction change

[Problem] Core::Update() api has changed
[Solution] Update test harness to match.

Change-Id: I2ce3c9ec4377ba60a485e8282199967d1f04374b
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoMerge "Fix text input scrolling when the controll is too small." into tizen
Kimmo Hoikka [Thu, 28 Aug 2014 10:04:54 +0000 (03:04 -0700)]
Merge "Fix text input scrolling when the controll is too small." into tizen

10 years agoDALi Version 1.0.6 78/26678/1 dali_1.0.6
Nick Holland [Wed, 27 Aug 2014 16:03:21 +0000 (17:03 +0100)]
DALi Version 1.0.6

Change-Id: I69ce7eccea8953465ee39ffb6f4830c084649eb6

10 years agoFix text input scrolling when the controll is too small. 84/26584/1
Francisco Santos [Tue, 26 Aug 2014 14:12:58 +0000 (15:12 +0100)]
Fix text input scrolling when the controll is too small.

Change-Id: Ie18f3cfdc42a4d2059a3fa8948eaf9f3cf79d904

10 years agoFixes to use latest version of doxygen 02/26402/2
Adeel Kazmi [Thu, 21 Aug 2014 18:29:43 +0000 (19:29 +0100)]
Fixes to use latest version of doxygen

Change-Id: Icbad164c6cc822a2ee3285c7275892f57b86336f

10 years agoMerge "DALi Version 1.0.5" into tizen
Adeel Kazmi [Wed, 20 Aug 2014 14:58:45 +0000 (07:58 -0700)]
Merge "DALi Version 1.0.5" into tizen

10 years agoDALi Version 1.0.5 20/26320/1 dali_1.0.5
Lee Morgan [Wed, 20 Aug 2014 12:56:32 +0000 (13:56 +0100)]
DALi Version 1.0.5

Change-Id: Ia4ee22c353cc5c7fefc1365daa6e07362d14e5db
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
10 years agoFix the library search path in "dali-toolkit.pc" 10/26310/2
Manuel Bachmann [Wed, 20 Aug 2014 09:09:54 +0000 (11:09 +0200)]
Fix the library search path in "dali-toolkit.pc"

Depending on the architecture, libraries may be installed
in another directory than "/usr/lib" ("/usr/lib64" e.g.)
Reflect that in the .pc file.

Change-Id: I08c169d86e9fb769861805b0d62f22e5f8bc3ef2
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(Automated Tests) Fixes following adaptor API change 05/26305/1
Adeel Kazmi [Wed, 20 Aug 2014 10:16:15 +0000 (11:16 +0100)]
(Automated Tests) Fixes following adaptor API change

Change-Id: I6dd12ac119a103bbeb29df3f3c378fd9316f9e7e

10 years agoUpdated Programming guide with information on stereoscopic rendering. 06/26106/4
Ferran Sole [Fri, 15 Aug 2014 13:52:59 +0000 (14:52 +0100)]
Updated Programming guide with information on stereoscopic rendering.

Change-Id: I0c3c42da8ea207aa90597a463ee4d0a91e97a7b4

10 years agostop using deprecated shader inheritance 35/25535/2
Kimmo Hoikka [Wed, 6 Aug 2014 15:14:28 +0000 (16:14 +0100)]
stop using deprecated shader inheritance

requires https://review.tizen.org/gerrit/#/c/25534/

Change-Id: Ieb5e7b2dbb7076aa1af837c53767cc554eb0f42b

10 years agoMerge "DALi Version 1.0.4" into tizen
Adeel Kazmi [Wed, 13 Aug 2014 15:36:57 +0000 (08:36 -0700)]
Merge "DALi Version 1.0.4" into tizen

10 years agoDALi Version 1.0.4 86/25986/1 dali_1.0.4
Kingsley Stephens [Wed, 13 Aug 2014 14:15:58 +0000 (15:15 +0100)]
DALi Version 1.0.4

Change-Id: Idf092f8d430805fda074b96eb7496870aecc19d7

10 years agoMerge "Implemented the Handle assignment operators properly" into tizen
Adeel Kazmi [Wed, 13 Aug 2014 10:18:29 +0000 (03:18 -0700)]
Merge "Implemented the Handle assignment operators properly" into tizen

10 years agoMerge "Removed invalid handle assignments from Builder/TextInput" into tizen
Adeel Kazmi [Tue, 12 Aug 2014 10:29:52 +0000 (03:29 -0700)]
Merge "Removed invalid handle assignments from Builder/TextInput" into tizen

10 years agoImplemented the Handle assignment operators properly 80/25880/1
Paul Wisbey [Mon, 11 Aug 2014 17:41:40 +0000 (18:41 +0100)]
Implemented the Handle assignment operators properly

[Problem] Some unsafe handle assignments are allowed by the compiler e.g.
Actor notAnImageActor = Actor::New();
ImageActor notSafeToUse = notAnImageActor;
[Cause] using BaseHandle::operator= is unsafe
[Solution] Implemented the Handle assignment operators properly

Change-Id: If4cd798d2cb394ac4dbac96b1c17598a2aae8ee6

10 years agoRemoved invalid handle assignments from Builder/TextInput 99/25699/2
Paul Wisbey [Fri, 8 Aug 2014 12:09:52 +0000 (13:09 +0100)]
Removed invalid handle assignments from Builder/TextInput

[problem] Unsafe handle assignments.
[solution] Removed the code assigning a shader to actor handle etc.

Change-Id: I70c85135693751840e429fdffa17d6a90a2b27d2

10 years agoUpdate programming guide after removing deprecated APIs from Adaptor 66/25866/1
Richard Huang [Mon, 11 Aug 2014 11:05:41 +0000 (12:05 +0100)]
Update programming guide after removing deprecated APIs from Adaptor

Change-Id: I99b6e36e7af12204a7307c5d1f6075e0ff2733d6

10 years agoRemove Deprecated APIs 15/25715/1
Adeel Kazmi [Fri, 8 Aug 2014 14:46:15 +0000 (15:46 +0100)]
Remove Deprecated APIs

Change-Id: Ie94adf60535ad27715d462b88ae9870e481865d8

10 years agoSynchronised automated tests utils with dali-core & updated README 44/25644/3
Adeel Kazmi [Thu, 7 Aug 2014 12:18:45 +0000 (13:18 +0100)]
Synchronised automated tests utils with dali-core & updated README

Change-Id: Ic33a1f14ae88706a1c7da37c41eec04565427e2b

10 years agoDALi Version 1.0.3 40/25540/1 dali_1.0.3
Agnelo Vaz [Wed, 6 Aug 2014 18:13:21 +0000 (19:13 +0100)]
DALi Version 1.0.3

Change-Id: I5082d243fdae753e8a4ee97aa5aade13a1e4ca60
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
10 years agoAdded the resize on image load behaviour to the programming guide 78/25178/5
Andrew Cox [Wed, 30 Jul 2014 16:59:32 +0000 (17:59 +0100)]
Added the resize on image load behaviour to the programming guide

[problem]
Feature is not described in guide.
[solution]
Write an overview, a usage example, and a pointer to the new demo
example for the guide.

Change-Id: I75a6fe0efd2c4d54c86ee13508ebb295e1cba672
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoRemove dependency on DLOG. 46/25146/5
Francisco Santos [Tue, 29 Jul 2014 16:43:31 +0000 (17:43 +0100)]
Remove dependency on DLOG.

Change-Id: I9e4aae623e72ce722da8bbbe4ba1479d2c0f59ed

10 years agoDALi Version 1.0.2 07/25307/1 dali_1.0.2
Adeel Kazmi [Fri, 1 Aug 2014 15:16:02 +0000 (16:16 +0100)]
DALi Version 1.0.2

Change-Id: If78d1a818118618872a58d716f9549c431958742

10 years agoChanged build directory to tizen 91/25291/1
Adeel Kazmi [Fri, 1 Aug 2014 11:37:38 +0000 (12:37 +0100)]
Changed build directory to tizen

Change-Id: I8984f027f032c26c623f8bb9b6e22c84151ceae5

10 years agoAdd some constants that show the version of the library 19/25219/3
Adeel Kazmi [Thu, 31 Jul 2014 09:58:06 +0000 (10:58 +0100)]
Add some constants that show the version of the library

Change-Id: I8ae5db2b0d4a6946c74deaf80edefd8a76e60ec9

10 years agoMerge "Toolkit - Fixes TC build issues and compile warnings." into tizen
Adeel Kazmi [Fri, 25 Jul 2014 16:01:23 +0000 (09:01 -0700)]
Merge "Toolkit - Fixes TC build issues and compile warnings." into tizen

10 years agoRemove CAPI from Toolkit 31/25031/3
Kingsley Stephens [Fri, 25 Jul 2014 13:58:12 +0000 (14:58 +0100)]
Remove CAPI from Toolkit

Change-Id: Ie49afb8896c1c14e225ef77ad395f95a28f53201

10 years agoToolkit - Fixes TC build issues and compile warnings. 21/25021/1
Victor Cebollada [Fri, 25 Jul 2014 12:37:10 +0000 (13:37 +0100)]
Toolkit - Fixes TC build issues and compile warnings.

Change-Id: If614e5935e1ba1513df945eb080b155e8ab7afa1
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
10 years agoMerge "TextView - Uses new TextActor's constructor." into tizen
Paul Wisbey [Thu, 24 Jul 2014 17:41:08 +0000 (10:41 -0700)]
Merge "TextView - Uses new TextActor's constructor." into tizen

10 years agoDALi Version 1.0.1 79/24979/1 dali_1.0.1
Adeel Kazmi [Thu, 24 Jul 2014 13:59:54 +0000 (14:59 +0100)]
DALi Version 1.0.1

Change-Id: I3741a5b5078c0065ec5505ec02ecb61fe5a7e385

10 years agoMerge "TableView - scripting support" into tizen
Kimmo Hoikka [Thu, 24 Jul 2014 13:03:23 +0000 (06:03 -0700)]
Merge "TableView - scripting support" into tizen

10 years agoTextView - Uses new TextActor's constructor. 64/24964/3
Victor Cebollada [Thu, 24 Jul 2014 12:47:14 +0000 (13:47 +0100)]
TextView - Uses new TextActor's constructor.

Change-Id: I6845cfd194df9214e016d99dedc8ff097ee1d3d8
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
10 years agoRemoved unnecessary dependency on feedback plugin 59/24859/1
Paul Wisbey [Wed, 23 Jul 2014 13:21:16 +0000 (14:21 +0100)]
Removed unnecessary dependency on feedback plugin

Note - feedback plugin does not exist for wearable profile

Change-Id: I7e8eb04d4211f6bb99480f30578c34769c07d577
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
10 years agoAdded README with build commands 82/24782/2
Adeel Kazmi [Mon, 21 Jul 2014 17:38:32 +0000 (18:38 +0100)]
Added README with build commands

Change-Id: Ibfcca170db386b1e013d5b13e8c0470e956c431b

10 years agoTableView - scripting support 45/24345/10
Xiangyin Ma [Thu, 10 Jul 2014 16:57:10 +0000 (17:57 +0100)]
TableView - scripting support

example:
"stage":
  [
    {
      "name":"simple-table",
      "type":"TableView",
      "background-color": [0.5,0.5,0,1],
      "parent-origin": "CENTER",
      "size":[400,500,1],
      "rows": 4,
      "columns":4,
      "cell-padding": [10, 5],
      "layout-animation-duration": 0.5,
      "layout-rows":
      {
        "0": { "policy": "fixed", "value": 40 },
        "1": { "policy": "relative", "value": 0.33 },
        "2": { "policy": "fixed", "value": 120 }
      },
      "layout-columns":
      {
        "1": { "policy": "fixed", "value": 150 },
        "2": { "policy": "relative", "value": 0.35 },
        "3": { "policy": "relative", "value": 0.15 }
      },
      "actors":
      [
        {
          "name":"magazine-0",
          "type":"ImageActor",
          "image":
          {
            "filename": "{DALI_IMAGE_DIR}magazine_0.jpg"
          },
          "custom-properties":
          {
            "cell-indices": [0,0],
            "row-span":4,
            "column-spam":1
          }
        },
        {
          "name":"magazine-1",
          "type":"ImageActor",
          "image":
          {
            "filename": "{DALI_IMAGE_DIR}magazine_1.jpg"
          },
          "custom-properties":
          {
            "cell-indices":[1,1],
            "row-span":3
          }
        },
        {
          "name":"magazine-2",
          "type":"ImageActor",
          "image":
          {
            "filename": "{DALI_IMAGE_DIR}magazine_2.jpg"
          },
          "custom-properties":
          {
            "cell-indices":[2,2]
          }
        },
        {
          "name":"magazine-3",
          "type":"ImageActor",
          "image":
          {
            "filename": "{DALI_IMAGE_DIR}magazine_3.jpg"
          },
          "custom-properties":
          {
            "cell-indices":[3,2],
            "column-span": 2
          }
        }
      ]
    }
  ]

Change-Id: Id07b8e6727caa6ba12c43610c630cfa54a955f80
Signed-off-by: Xiangyin Ma <x1.ma@samsung.com>
10 years ago(Build) Updated spec file to allow building for SMACK enabled targets 26/24726/2
Adeel Kazmi [Fri, 18 Jul 2014 17:24:35 +0000 (18:24 +0100)]
(Build) Updated spec file to allow building for SMACK enabled targets

Use gbs build ... --define "%enable_dali_smack_rules 1"

Change-Id: I018f8f14b56f2bf3260d94234503e1c6ff7b6736

10 years ago(Docs) Adding Programming Guide to Toolkit 72/24572/5
Agnelo Vaz [Wed, 16 Jul 2014 12:58:35 +0000 (13:58 +0100)]
(Docs) Adding Programming Guide to Toolkit

[problem] Programming Guide not available
[solution] Add to dali-toolkit so after performing a 'make' the docs/generated/html/index.html will contain the guide

Change-Id: Iad8299eb1e3faf321df0b983bf75538c41217f88
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
10 years ago(AutomatedTests) Fixed build break after adaptor changes 43/24543/1
Adeel Kazmi [Wed, 16 Jul 2014 09:19:43 +0000 (10:19 +0100)]
(AutomatedTests) Fixed build break after adaptor changes

Change-Id: I3bc718290d57844243b1069daca419e0b371e0e4
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoMove the logic of constraint application from ItemView to the layout 89/24489/1
Richard Huang [Fri, 4 Jul 2014 16:15:08 +0000 (17:15 +0100)]
Move the logic of constraint application from ItemView to the layout

Change-Id: I1e8b8e86a8f5a6610bac207176347e68413e36f9
Signed-off-by: Richard Huang <r.huang@samsung.com>
10 years agoRemove unnecessary include 55/24355/3
Yan Wang [Fri, 11 Jul 2014 06:53:18 +0000 (14:53 +0800)]
Remove unnecessary include

Change-Id: I4b135e3c9f15b98a4898a4f3601d2e0d98b53d67
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoEnabled test cases to install to target 27/24327/6
David Steele [Thu, 10 Jul 2014 13:38:04 +0000 (14:38 +0100)]
Enabled test cases to install to target

Test cases require an install script to install to target device.

Change-Id: I7d2aece647445bf7600f65f0c9d66509b272e3be
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoUpdated automated test scripts for faster cycle time 35/24335/4
David Steele [Thu, 10 Jul 2014 14:39:13 +0000 (15:39 +0100)]
Updated automated test scripts for faster cycle time

Change-Id: I68b13ecdf724773f4d9a234e9902b1b34cef6136
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoRemoved TET test cases from automated-tests 32/24332/2
David Steele [Thu, 10 Jul 2014 14:29:01 +0000 (15:29 +0100)]
Removed TET test cases from automated-tests

Change-Id: Ied615dc672cfab433e1e04ffeed84851b4a7980b
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoAdd Wayland support. 15/23415/7
Yan Wang [Wed, 25 Jun 2014 07:31:10 +0000 (15:31 +0800)]
Add Wayland support.

Change-Id: Iee75d50030d5aaa2d8ab07aa2d7853bcbad1e9b5

10 years agoScrollView test cases - Fixed broken test cases 08/24308/2
Julien Heanley [Thu, 10 Jul 2014 09:04:45 +0000 (10:04 +0100)]
ScrollView test cases - Fixed broken test cases

[model]        REDWOOD
[binary_type]  PDA
[customer]     OPEN
[issue#]
[problem]
[cause]
[solution]
[team]         Graphics
[request]      N/A
[horizontal_expansion]  N/A

Change-Id: Ie511514aa657f8147597c5ef8a02ef5c41ce4981
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
10 years agoDALi Version 1.0.0 86/24286/1 dali_1.0.0
Adeel Kazmi [Wed, 9 Jul 2014 17:05:31 +0000 (18:05 +0100)]
DALi Version 1.0.0

Change-Id: If816b1ddbe60b4e716e33cdbf47c81df87aa6c16

10 years agoMerge "(Build) Stopped toolkit-base compiling separately." into tizen
Adeel Kazmi [Wed, 9 Jul 2014 15:12:42 +0000 (08:12 -0700)]
Merge "(Build) Stopped toolkit-base compiling separately." into tizen

10 years ago(AutomatedTests) Remove virtual destructors from test stub handles 35/24235/2
Adeel Kazmi [Wed, 9 Jul 2014 08:40:18 +0000 (09:40 +0100)]
(AutomatedTests) Remove virtual destructors from test stub handles

Change-Id: Ie7684ddd0749a2ccec696a796d464315ea9b6501
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(Build) Stopped toolkit-base compiling separately. 10/24210/1
Adeel Kazmi [Tue, 8 Jul 2014 18:04:12 +0000 (19:04 +0100)]
(Build) Stopped toolkit-base compiling separately.

Change-Id: I6c139dced184806f6a5762ca982430dc92fec3ec
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoFixed the wrong scroll signal sequence in ItemView 08/24208/1
Richard Huang [Mon, 7 Jul 2014 16:33:12 +0000 (17:33 +0100)]
Fixed the wrong scroll signal sequence in ItemView

[problem]     The scroll signal sequence is wrong in ItemView. while scrolling ItemView
              by panning, ScrollCompleted signal is emitted before ScrollStarted signal.
[cause]       The touch down event always causes the ScrollCompleted signal to be emitted
              because it assumes the touch down event is to cancel the ongoing scrolling.
              But actually you need to touch down first in order to start the pan.
[solution]    Only emit the ScrollCompleted signal when there is an ongoing scroll animation.

Change-Id: Ib641698b1b3771cfce53d54cec42423fb228ce17
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoAdd the text input cursor color property. 07/24207/1
daemyung jang [Sat, 5 Jul 2014 06:27:19 +0000 (15:27 +0900)]
Add the text input cursor color property.

[problem] The cursor color doesn't change when
          the system theme is changed.
[cause] Not implement.
[solution] Implement.

Change-Id: Ia94b617be365d54aba7e94671a4ed70036e5bd4d
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoFixing build break in test cases 06/24206/1
David Steele [Wed, 2 Jul 2014 18:01:22 +0000 (19:01 +0100)]
Fixing build break in test cases

Change-Id: I90b9fa85d526ec343ff8d31e887069d272618983
Signed-off-by: David Steele <david.steele@partner.samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoFix for TextView's snapshot mode 05/24205/1
Victor Cebollada [Thu, 3 Jul 2014 14:27:53 +0000 (15:27 +0100)]
Fix for TextView's snapshot mode

TextInput is enabling scroll mode. Scroll mode enables snapshot mode which
causes a drop of text quality due to a usage of a wrong blending function.

Use the correct blending function.

Change-Id: I7b1fd384eb2dc3f9b0c7550f400430d6f65bc675
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoFix TET cases for toolkit 04/24204/1
Victor Cebollada [Thu, 3 Jul 2014 10:53:42 +0000 (11:53 +0100)]
Fix TET cases for toolkit

Change-Id: I0b75c7b8aaa749ac335f251b00f193800ffc3f34
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(ItemView) Modified scroll speed and flick animation duration calculation for gallery... 03/24203/1
Sinjae Lee [Thu, 3 Jul 2014 07:43:39 +0000 (16:43 +0900)]
(ItemView) Modified scroll speed and flick animation duration calculation for gallery application

[problem] Flick sensitivity is different with Reference device
[solution] Used squared pan velocity for scroll speed calculation to get longer move distance & duration
           Applied min/max flick animation duration

Change-Id: I4a5b3639dbd4ce56e2f9a5b837728c70c23fc265
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoScrollview Ensure Overshoot is shown even if Y ruler is the same as Scrollview height 02/24202/1
Agnelo Vaz [Mon, 30 Jun 2014 15:04:54 +0000 (16:04 +0100)]
Scrollview Ensure Overshoot is shown even if Y ruler is the same as Scrollview height

[problem]      Bug meant overshoot was not shown if a y ruler was set that did not allow vertical scrolling
[solution]     Replace erronous line of code

Change-Id: I0edb22ce015e01dde02e3c8ddf94921799fcd550
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoScrollView - Remove separate X and Y scroll properties as these are now redundant... 01/24201/1
Julien Heanley [Tue, 10 Jun 2014 15:25:20 +0000 (16:25 +0100)]
ScrollView - Remove separate X and Y scroll properties as these are now redundant and only mirror the pre position Vector3 property.

             This removes 2 constraints and 2 properties from ScrollView

Change-Id: I63c6efd6d7f934e8f013733ac078b681ecac237a
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoScrollView - Set pan start position directly into panning constraint when creating... 00/24200/1
Julien Heanley [Tue, 10 Jun 2014 15:12:28 +0000 (16:12 +0100)]
ScrollView - Set pan start position directly into panning constraint when creating it, reducing touch distance in certain cases

[problem]      Displacement value passed into constraint could be a frame behind, meaning we lose the initial pan started frame displacement
[cause]        Update thread was already running at same time as event thread called ApplyConstraint
[solution]     Instead of passing in displacement as a property input, create the constraint with event side pan start position

Change-Id: I0ee55c79b8450cdc68f8e04dad4019001b65966f
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoTextInput Popup scrolling fixed after GUI changes. GUI settings changed. 99/24199/1
Agnelo Vaz [Tue, 24 Jun 2014 14:54:59 +0000 (15:54 +0100)]
TextInput Popup scrolling fixed after GUI changes. GUI settings changed.

[problem]      Scrolling would cause the buttons to leave the popup area. Change language to French to see issue
[cause]        Regression
[solution]     Popup sizes amended so buttons scroll again if do not fit. Popup max width reduced to look more like Tizen apps.

Change-Id: Ibac5b243fd30a5c2f5bd58d0a4884676ae3aae5c
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoScrollView - Fix wrapping issue in FixedRuler::GetPageFromPosition 98/24198/1
Julien Heanley [Mon, 30 Jun 2014 09:51:33 +0000 (10:51 +0100)]
ScrollView - Fix wrapping issue in FixedRuler::GetPageFromPosition

[problem]      Incorrect page would be returned from FixedRuler::GatePageFromPosition when continuously panning right
[cause]        An unwrapped value is passed in since the scrolling never finishes
[solution]     Wrap the value internally before checking position against domain size

Change-Id: I4eaad7a2bfc7c711b53ed310372fd85f6ee77bfb
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(ScrollView) Removed unnecessary scale constraints from scroll-view 97/24197/1
Adeel Kazmi [Fri, 27 Jun 2014 09:23:02 +0000 (18:23 +0900)]
(ScrollView) Removed unnecessary scale constraints from scroll-view

[problem]     ScrollView should not scale itself or its children
[solution]    Remove constraints that do this

Change-Id: I9259643006e4b2d7dc7030bbebe3856e1073a5f8
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(ScrollView) Remove redundant scaling & rotation functionality 96/24196/1
Adeel Kazmi [Fri, 27 Jun 2014 07:06:31 +0000 (16:06 +0900)]
(ScrollView) Remove redundant scaling & rotation functionality

[problem]     ScrollView, as the name suggests, should only scroll, not scale or rotate.
              Scaling and rotation does not work propertly so there are a lot of calculations
              which are not needed.
[solution]    Remove scaling functionality and deprecate APIs.

Change-Id: I22bc2755cfe74753c0063cc9644995c2388eeab0
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoScrollView - Added APIs for minimum pan speed/distance before being considered a... 95/24195/1
Julien Heanley [Wed, 25 Jun 2014 13:23:31 +0000 (14:23 +0100)]
ScrollView - Added APIs for minimum pan speed/distance before being considered a flick

[problem]      Application could not change minimum flick speed and distance
[solution]     Added APIs to change minimum flick speed/distance

Change-Id: Ia1941662a04fe8ec3d058bd926c9e0f6a4b73b23
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(ScrollView) Check for an interrupted event and finish transform 94/24194/1
Adeel Kazmi [Fri, 27 Jun 2014 12:29:45 +0000 (21:29 +0900)]
(ScrollView) Check for an interrupted event and finish transform

[problem]     Scroll-view can get stuck if it doesn't receive an up event after it receives a down
[cause]       It is no longer the hit-actor (or a parent of the hit-actor).
[solution]    Together with the core change (Emit Up to down consumer) -> comes as interrupted
              React to interrupted event now in a similar manner to up event

Change-Id: I3c44276e3f8168fb2d9e9016e11f6ce497b40761
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoItemView cache should always be refreshed during scrolling 93/24193/1
Richard Huang [Fri, 27 Jun 2014 10:40:35 +0000 (11:40 +0100)]
ItemView cache should always be refreshed during scrolling

[problem]      When ItemView is scrolling, activate a new layout and no new items are
               created.
[cause]        Caching extra items are avoided when activating new layout in order to
               improve the performance. However, new layout can be activated during
               scrolling, and no new items are created in that case.
[solution]     Always refresh the cache with extra items while scrolling.

Change-Id: I12a5810b2c35891d1928a9853a6ed1d21e1eada4
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(ScrollView) Remove unused member variables 92/24192/1
Adeel Kazmi [Fri, 27 Jun 2014 04:51:33 +0000 (13:51 +0900)]
(ScrollView) Remove unused member variables

[problem]     Some member variables that are declared in the header are not used.
[solution]    Remove.

Change-Id: I8278643b612731e53211a96ff68d7d198eeac1b5
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(ScrollView) Ensure we emit the signal if scroll is stopped on touch-down 91/24191/1
Adeel Kazmi [Mon, 23 Jun 2014 14:26:04 +0000 (23:26 +0900)]
(ScrollView) Ensure we emit the signal if scroll is stopped on touch-down

[problem]      When interrupting pan on touch-down, scroll-completed signal is not emitted.
[cause]        We clear the scroll animation flags and then check if we were scrolling.
[solution]     Create a local copy of the flags first so that comparisons are valid with actual
               state.

Change-Id: I8f98b9d4cd9d1342f9505156b8bbb55da7942557
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoPrevent fighting of setting scroll position property by ItemView and ScrollBar 90/24190/1
Richard Huang [Wed, 25 Jun 2014 17:33:38 +0000 (18:33 +0100)]
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>
10 years agoScrollView - Increased the angle range for a flick to allow snapping to next snap... 89/24189/1
Julien Heanley [Thu, 26 Jun 2014 12:10:16 +0000 (13:10 +0100)]
ScrollView - Increased the angle range for a flick to allow snapping to next snap point

[problem]      Near vertical flick on a ScrollView with only horizontal panning would not result in snapping to next snap point
[cause]        Angle of flick had to be within 60 degrees of the axis to snap on
[solution]     Increased angle to 75 degrees

Change-Id: I5ebc95378a35436f1fc8cabe72b9602061ec4324
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(Build) Remove unrequired utilX dependency 88/24188/1
Adeel Kazmi [Thu, 26 Jun 2014 02:40:08 +0000 (11:40 +0900)]
(Build) Remove unrequired utilX dependency

[problem]     UtilX is included in spec file but it is not required.
[solution]    Remove dependency.

Change-Id: I285cce9286c92393ea0c7cf3753262d2d963a837
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoStop caching extra items while activating layout in ItemView 87/24187/1
Richard Huang [Tue, 24 Jun 2014 15:09:07 +0000 (16:09 +0100)]
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>
10 years agoRemove valgrind warning of SuperBlurView #2 86/24186/1
jonghyun.ho [Tue, 24 Jun 2014 11:41:08 +0000 (20:41 +0900)]
Remove valgrind warning of SuperBlurView #2

Change-Id: I406cb58c9fae1432ff63698fd7c62bbaf2a49a5d
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoTextInput Popup is parented to TextInput so moves with it. Tail flips if Popup in... 85/24185/1
Agnelo Vaz [Mon, 23 Jun 2014 20:52:40 +0000 (21:52 +0100)]
TextInput Popup is parented to TextInput so moves with it. Tail flips if Popup in lower position

[problem]      Popup Tail points down even if highlighted text is above it.  Popup does not move with TextInput.
[cause]        Missing code.
[solution]     Use different image in this case and reposition.

Change-Id: I15236fb02b7bc09a1e8c012bae4c93735cf24dd7
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoRemove valgrind warning of SuperBlurView 84/24184/1
jonghyun.ho [Tue, 24 Jun 2014 08:06:36 +0000 (17:06 +0900)]
Remove valgrind warning of SuperBlurView

Change-Id: I73d81f484f8fe8c22f5796adf746e9b03540dd8c
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoReset mGestureStackDepth when panning is interrupted by ScrollTo 83/24183/1
jonghyun.ho [Mon, 23 Jun 2014 09:30:19 +0000 (18:30 +0900)]
Reset mGestureStackDepth when panning is interrupted by ScrollTo

[problem]     ScrollView is stopped and not snapped
[cause]       mGestureStackDepth is not zero so FinishTransform is not called
[solution]    Reset mGestureStackDepth when panning is interrupted by ScrollTo

Change-Id: I694cc769279c1e25039dbe0660eda542dfdd9a8e
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoNew Bouncing Effect 82/24182/1
Xiangyin Ma [Wed, 11 Jun 2014 11:09:47 +0000 (12:09 +0100)]
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>
10 years agoAllow configurable speed factor when ItemView is being swiped. 81/24181/1
Richard Huang [Fri, 20 Jun 2014 18:31:35 +0000 (19:31 +0100)]
Allow configurable speed factor when ItemView is being swiped.

[problem] No way to configure scroll speed factor separately while panning or flicking.
          Therefore for some layouts you can't get a value to make both panning and
          flicking work.
[cause] Only one scroll speed factor for both panning and flicking.
[solution] New API for configurable speed factor while flicking.

Change-Id: Ia58a4346db0923410fd61005efb38f4d1ca4a843
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoNo use the animation when text input popup is pressed. 80/24180/1
daemyung jang [Sat, 21 Jun 2014 10:09:24 +0000 (19:09 +0900)]
No use the animation when text input popup is pressed.

[problem] The speed of the pressed effect is too slow than the efl.
[cause] The text input popup has a animation duration.
[solution] Make the duration is zero.

Change-Id: Iec9a0e215cb24157ceb7ebecde519de5da29dea8
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoOptimization to reduce Handle size by 50% 79/24179/1
Victor Cebollada [Fri, 20 Jun 2014 07:47:24 +0000 (08:47 +0100)]
Optimization to reduce Handle size by 50%

[problem]      Memory usage is too high, event-thread operations are too heavy.
[cause]        Too much Dali::Handle data copied around.
[solution]     Remove all virtual methods from handles, to avoid needing a C++ vptr

Change-Id: I87c8c526be53413e895a88ac8a355083a4797d8e
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoNotify ItemFactory when an item is removed from ItemView 78/24178/1
Richard Huang [Wed, 18 Jun 2014 13:30:55 +0000 (14:30 +0100)]
Notify ItemFactory when an item is removed from ItemView

Change-Id: I0620a480d54d5fc78b7e032957f30829f5ae9feb
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoNew API to get the range of items in the current ItemView cache 77/24177/1
Richard Huang [Wed, 18 Jun 2014 12:23:25 +0000 (13:23 +0100)]
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>
10 years agosize optimization on Control::Impl, reduces size from 232b to 200b on 64bit x86,... 76/24176/1
Kimmo Hoikka [Thu, 19 Jun 2014 15:56:39 +0000 (16:56 +0100)]
size optimization on Control::Impl, reduces size from 232b to 200b on 64bit x86, saving a bit over 1k RAM in Dali-demo case

Change-Id: I0fba95320e1ebbf07538dd0dfadc5890c0311d6d
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoUpdate the text input popup GUI. 75/24175/1
daemyung jang [Thu, 19 Jun 2014 14:12:32 +0000 (23:12 +0900)]
Update the text input popup GUI.

[problem] The text input popup is expired.
[cause] The new gui guide is published.
[solution] Update the new gui.

Change-Id: I9a3bf7348be0138803f1e8978303449c53bc696d
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(ScrollView) Panning is disabled if ScrollTo is called while panning 74/24174/1
Adeel Kazmi [Thu, 19 Jun 2014 13:36:27 +0000 (22:36 +0900)]
(ScrollView) Panning is disabled if ScrollTo is called while panning

[problem]     If application calls ScrollTo while we're panning we go into an incorrect state.
[cause]       When we're panning, and the application calls ScrollTo, swiftly followed by a call
              to disable scroll-sensitivity, the panning value is never cleared.
              When scroll-sensitivity is enabled, we start animating to a wrong position.
              Also trying to use the property value when we set sensitivity which can be out-of-date.
[solution]    Clear the panning value when we want to animate to another position.
              Use event-side panning value when changing scroll-sensitivity.

Change-Id: I3cc2200839ad3a2ec1fc705f542bd8df41502462
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoPrevent valgrind error with Json parser 73/24173/1
Lee Morgan [Thu, 19 Jun 2014 14:19:30 +0000 (15:19 +0100)]
Prevent valgrind error with Json parser

Change-Id: Iad91a8d2cf5ec0c7d1cfa41786a1e95a8c56d065
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(ScrollView) If animation duration is 0, then return final position in completed... 72/24172/1
Adeel Kazmi [Wed, 18 Jun 2014 10:12:53 +0000 (19:12 +0900)]
(ScrollView) If animation duration is 0, then return final position in completed signal

[problem]     If the animation duration is 0, we still return the current scroll position. This is
              wrong as in the next frame, we will be at the requested position.
[cause]       N/A
[solution]    If we do not kick off an animation, then we should check whether the duration was 0.
              If it was, we should return the target-position instead.

Change-Id: I3e1a96b3de7ca2685a16f6dd6b8ce5aebc1c78af
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoTextInput PopUp now appears in between handles or at Grabhandle, improved Tail positi... 71/24171/1
Agnelo Vaz [Tue, 17 Jun 2014 23:35:45 +0000 (00:35 +0100)]
TextInput PopUp now appears in between handles or at Grabhandle, improved Tail positioning

Change-Id: Ic71a0a493bd46c531c2cd8c0bac84a9927dfb3be
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoTextInput Popup border colour styling and missing offset property registration. 70/24170/1
Agnelo Vaz [Tue, 17 Jun 2014 14:10:11 +0000 (15:10 +0100)]
TextInput Popup border colour styling and missing offset property registration.

[problem]      Scripting can not be used to change the border colour of the popup
[solution]     Add Property for border colour

Change-Id: I99f45fee20c1ba26c75155cae53e924a09fd802f
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoAdd color lookup into Builder & apply changeable color on TextInput 69/24169/1
Xiangyin Ma [Fri, 13 Jun 2014 18:52:00 +0000 (19:52 +0100)]
Add color lookup into Builder & apply changeable color on TextInput

Change-Id: I4720b85f7df61ead9f1b1e0486792d6770b6c070
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoTextInput Popup has a tail which points to the TextInput 68/24168/1
Agnelo Vaz [Mon, 16 Jun 2014 16:02:11 +0000 (17:02 +0100)]
TextInput Popup has a tail which points to the TextInput

[problem]      User may not know the cut and paste popup applies to the current TextInput
[solution]     Display a tail which points to the TextInput.

Change-Id: I712eb34ce00fbf3a02e7fe4bd975fc556b5c97e6
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>