platform/core/uifw/dali-toolkit.git
10 years ago(Build) Ensure branch coverage is collected for later versions of lcov 68/27468/1
Adeel Kazmi [Fri, 12 Sep 2014 18:01:40 +0000 (19:01 +0100)]
(Build) Ensure branch coverage is collected for later versions of lcov

Change-Id: I76d88b9a48540851ce075ca8cd3ce487297a57a8

10 years agoTextView - Merges the TextActor initialization and update in one function. 61/27361/4
Victor Cebollada [Thu, 11 Sep 2014 14:30:48 +0000 (15:30 +0100)]
TextView - Merges the TextActor initialization and update in one function.

Both functions traverses the whole text:
1) There is no need to have both functions as the structure is pretty similar.
2) Merge both functions simplifies the process of RTL text.

Change-Id: Iac7920be581434cf5c9c15c00c74307d51700518
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
10 years agoTextView - Remove groups of words. 82/27282/4
Victor Cebollada [Wed, 10 Sep 2014 07:24:24 +0000 (08:24 +0100)]
TextView - Remove groups of words.

A proper implementation of right to left text layouting
doesn't need to split the lines in group of words.

Change-Id: I9a466113f2f39c8bea77da543caae3b76fc9b0f3
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
10 years agoMerge "(TextInput) Emits text modified signal when cut or paste performed" into tizen submit/tizen/20140910.172931 submit/tizen/20140910.173014
Adeel Kazmi [Wed, 10 Sep 2014 14:46:40 +0000 (07:46 -0700)]
Merge "(TextInput) Emits text modified signal when cut or paste performed" into tizen

10 years agoDALi Version 1.0.8 90/27290/1 dali_1.0.8
Adeel Kazmi [Wed, 10 Sep 2014 10:02:08 +0000 (11:02 +0100)]
DALi Version 1.0.8

Change-Id: I55f5a9a7215bbacc46737c4dc0d594188d2007bf

10 years agoAdded RadioButton with images. 40/26140/21
Michal Makowiecki [Mon, 18 Aug 2014 09:31:17 +0000 (11:31 +0200)]
Added RadioButton with images.

Change-Id: I83b4e323af26d289d70ab7f87fb431bcc1e6c154

10 years agoMerge "Allow configurable duration to show or hide scroll indicator" into tizen
Kimmo Hoikka [Tue, 9 Sep 2014 14:41:34 +0000 (07:41 -0700)]
Merge "Allow configurable duration to show or hide scroll indicator" into tizen

10 years ago(TextInput) Emits text modified signal when cut or paste performed 70/27270/1
Agnelo Vaz [Tue, 9 Sep 2014 12:21:52 +0000 (13:21 +0100)]
(TextInput) Emits text modified signal when cut or paste performed

Change-Id: I26c66de44674bdab008d8f4d767eacb4aab74417
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
10 years agoMerge "(Builder) Added Quit Signal" into tizen
Kimmo Hoikka [Tue, 9 Sep 2014 13:32:57 +0000 (06:32 -0700)]
Merge "(Builder) Added Quit Signal" into tizen

10 years agoMerge "Fixes TextView's includes." into tizen
Paul Wisbey [Mon, 8 Sep 2014 17:31:42 +0000 (10:31 -0700)]
Merge "Fixes TextView's includes." into tizen

10 years ago(Builder) Added Quit Signal 45/27245/3
Adeel Kazmi [Mon, 8 Sep 2014 16:13:55 +0000 (17:13 +0100)]
(Builder) Added Quit Signal

We provide a quit action but did not do anything when this was signalled.
Now we emit a signal to the application using builder so that it can decide how quit should be
handled.

Change-Id: I51f24d29f30cbb38b400d346bf3c5d0c7b0d56c2

10 years agoFix for test cases 49/27249/1
Victor Cebollada [Mon, 8 Sep 2014 16:58:33 +0000 (17:58 +0100)]
Fix for test cases

Remove SetRenderMode() and GetRenderMode() from ToolkitAdaptor

Change-Id: Icb02cbcc1908c7b11af37c7578f54e7da02762c9
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
10 years agoFixes TextView's includes. 47/27247/1
Victor Cebollada [Mon, 8 Sep 2014 08:25:36 +0000 (09:25 +0100)]
Fixes TextView's includes.

Removes unneeded include files
Add full path to the include.

Change-Id: Ide894e857ff8937d56551c28dcb9691f71d99d12
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
10 years agoAllow configurable duration to show or hide scroll indicator 81/26581/4
Richard Huang [Tue, 26 Aug 2014 12:34:00 +0000 (13:34 +0100)]
Allow configurable duration to show or hide scroll indicator

Change-Id: I2494a448bc6c257c2b1779f7dcb102db19c5e2c2

10 years agoUsing SingletonService instead of Adaptor 43/26943/2
Adeel Kazmi [Mon, 1 Sep 2014 17:45:53 +0000 (18:45 +0100)]
Using SingletonService instead of Adaptor

Change-Id: I4bb36595d48bb6441f1896975f73b6ce754231e1

10 years agoDALi Version 1.0.7 08/27108/1
Agnelo Vaz [Thu, 4 Sep 2014 13:56:12 +0000 (14:56 +0100)]
DALi Version 1.0.7

Change-Id: Icad94fefcf43bc2b87933931144888fc15f34929
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
10 years agoMerge "Added actor creation from json snippet" into tizen
Kimmo Hoikka [Wed, 3 Sep 2014 12:05:54 +0000 (05:05 -0700)]
Merge "Added actor creation from json snippet" into tizen

10 years agoMerge "Fix assetion error in FocusManager" into tizen
Kimmo Hoikka [Tue, 2 Sep 2014 14:08:51 +0000 (07:08 -0700)]
Merge "Fix assetion error in FocusManager" into tizen

10 years agoAdded actor creation from json snippet 99/26099/5
Lee Morgan [Fri, 15 Aug 2014 13:13:38 +0000 (14:13 +0100)]
Added actor creation from json snippet

Change-Id: I041c1afd9ec25961c6159df7967cb66cfc7eb225
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
10 years ago(Automated Tests) Added gesture signal tests 76/26876/2
Adeel Kazmi [Fri, 29 Aug 2014 17:35:53 +0000 (18:35 +0100)]
(Automated Tests) Added gesture signal tests

Change-Id: I6c86953969266f5c786b2108b3df6ec4a270f7c2

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 agoFix assetion error in FocusManager 52/26152/2
Richard Huang [Mon, 18 Aug 2014 15:22:35 +0000 (16:22 +0100)]
Fix assetion error in FocusManager

Change-Id: I4bd833dd98802e44251191ddea51b8e38582d810

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>