platform/core/uifw/dali-adaptor.git
10 years ago[dali_1.0.4] Merge branch 'tizen' 89/25989/1
Kingsley Stephens [Wed, 13 Aug 2014 14:21:03 +0000 (15:21 +0100)]
[dali_1.0.4] Merge branch 'tizen'

Change-Id: Ie4edfa6323fdc01304b9150c825607dc59edbc08

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

Change-Id: Ifb1510ecc7a96db8ea961a10392e586a8f58fe8a

10 years agoMerge "Remove Deprecated APIs" into tizen
Paul Wisbey [Mon, 11 Aug 2014 15:56:30 +0000 (08:56 -0700)]
Merge "Remove Deprecated APIs" into tizen

10 years agoRemove Deprecated APIs 64/25864/1
Richard Huang [Mon, 11 Aug 2014 10:58:22 +0000 (11:58 +0100)]
Remove Deprecated APIs

Change-Id: I9f70e6649fc6124d045420398fc16f9f7e0e00e6

10 years agoFix to disable all tests for in-flight cancellation off the async loading path 61/25661/5
Andrew Cox [Thu, 7 Aug 2014 16:05:48 +0000 (17:05 +0100)]
Fix to disable all tests for in-flight cancellation off the async loading path

[problem]
When loading nine-patch images, an interruption exception could be
thrown on a thread that doesn't handle them.

[cause]
Our standard loading path involves two threads at a time coordinating on
cancellation of resource loads that have already been started.
Nine-patch images are a special case that execute image loading file IO
and decoding to bitmaps directly on the event thread, thus introducing a
third thread into this mix.
The event thread was not considered in the design or the reviews of the
late image cancelation feature.

[solution]
Make all image loading paths other than the main async one on a
background thread use a stubbed NOP implementation of the interface that
lets such loading paths interrupt themselves.
Thus the nine-patch loading path can never be interrupted.

No currently-commited demos show this issue but the following patch
fails without this one and works after it is applied:
https://review.tizen.org/gerrit/25392

Change-Id: Id5adeebb95b41eac1414e58b8ab61e560ad1a585
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoEnsure a valid profile is selected 58/25658/1
Adeel Kazmi [Thu, 7 Aug 2014 14:20:38 +0000 (15:20 +0100)]
Ensure a valid profile is selected

[Problem] It was possible to pass any old junk when using --enable-profile and there would be no
          error.
[Cause]   we never actually checked if it matched any of the profiles we support.
[Solutin] Ensure we check all profiles and show an error when the profile does not match any of
          the ones we support.

Change-Id: Ide85946093a06e7dd1f7ef97585a42b1bae71c81

10 years agoFix for ColorController. 33/25533/4
Victor Cebollada [Wed, 6 Aug 2014 15:00:59 +0000 (16:00 +0100)]
Fix for ColorController.
Creates an internal implementation for the default color controller to avoid a crash if it's called.

[problem] Crash if the default ColorController is used.
[cause] There is no internal implementation.
[solution] Create an internal implementation.

Change-Id: I49ac335ed6db2dfc68b6dae3beea42c1b5db275e
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
10 years agoSupport to build against ubuntu environment. 45/25145/15
Francisco Santos [Wed, 16 Jul 2014 16:25:13 +0000 (17:25 +0100)]
Support to build against ubuntu environment.

Change-Id: I59e1aa0adc3a3f32cde756ae816e71d955fd1a8e
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago[dali_1.0.3] Merge branch 'tizen' 21/25621/1
Agnelo Vaz [Thu, 7 Aug 2014 10:05:09 +0000 (11:05 +0100)]
[dali_1.0.3] Merge branch 'tizen'

Change-Id: I2fdaee520c05b07783c08691c11b8ca780b4d620
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
10 years agoRemove lib-adaptor as it is not used anymore 98/25398/2
Francisco Santos [Mon, 4 Aug 2014 14:03:12 +0000 (15:03 +0100)]
Remove lib-adaptor as it is not used anymore

Change-Id: I62644c25c9d1f22f2adfe43a31311692d7a96302

10 years agoDALi Version 1.0.3 39/25539/1 dali_1.0.3
Agnelo Vaz [Wed, 6 Aug 2014 18:08:02 +0000 (19:08 +0100)]
DALi Version 1.0.3

Change-Id: Ieeeb77b93ea1b24d3987fddc5f4d68986e2fabf0
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
10 years agoFix for crash when first resource load is synchronous 48/25348/2
Andrew Cox [Mon, 4 Aug 2014 08:21:39 +0000 (09:21 +0100)]
Fix for crash when first resource load is synchronous

[problem]
If the first load of a resource executed by dali is synchronous,
it is treated as cancelled.

[solution]
Change initialisation of ResourceThreadBase members tracking
cancellation.

Change-Id: I61f4f86dbcb638fb385558429909d46d7bd066a3
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years ago[dali_1.0.2] Merge branch 'tizen' 06/25306/1
Adeel Kazmi [Fri, 1 Aug 2014 15:02:09 +0000 (16:02 +0100)]
[dali_1.0.2] Merge branch 'tizen'

Change-Id: I9d0dc43de965f34f42dbcfcbc0e332609c07e7cd

10 years agoDALi Version 1.0.2 05/25305/1 dali_1.0.2
Adeel Kazmi [Fri, 1 Aug 2014 15:00:59 +0000 (16:00 +0100)]
DALi Version 1.0.2

Change-Id: If5daac36e05fef3445193b1d8cf68287b1a1a6d2

10 years agoAdd some constants that show the version of the library 75/25175/4
Adeel Kazmi [Wed, 30 Jul 2014 16:09:11 +0000 (17:09 +0100)]
Add some constants that show the version of the library

Change-Id: Ibc32649fe2570a16908a502ea7366c31425ae961

10 years agoAdding warning logs for metrics file 34/25034/1
Agnelo Vaz [Fri, 25 Jul 2014 15:54:47 +0000 (16:54 +0100)]
Adding warning logs for metrics file

Change-Id: Ied66c6656ebbbeafe71de2f43a76339a44837191
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
10 years ago[dali_1.0.1] Merge branch 'tizen' 78/24978/1
Adeel Kazmi [Thu, 24 Jul 2014 13:57:14 +0000 (14:57 +0100)]
[dali_1.0.1] Merge branch 'tizen'

Change-Id: I2cba730d1b96f5cd04bd53b2946b624837de6be1

10 years agoDALi Version 1.0.1 76/24976/1 dali_1.0.1
Adeel Kazmi [Thu, 24 Jul 2014 13:53:50 +0000 (14:53 +0100)]
DALi Version 1.0.1

Change-Id: I1aeee2a030054bce297e414ad6794b079630680e

10 years agoRemoved EVAS, NativeBuffer & Livebox plugins 56/24956/2
Adeel Kazmi [Thu, 24 Jul 2014 10:36:01 +0000 (11:36 +0100)]
Removed EVAS, NativeBuffer & Livebox plugins

Change-Id: I689d076ca0f42049e854d8775f855f1a2c948640

10 years agoAdded spec to build for wearable 58/24858/2
Paul Wisbey [Wed, 23 Jul 2014 12:40:30 +0000 (13:40 +0100)]
Added spec to build for wearable

Change-Id: I863ccafbfeb4761f66a1694ad3b7228616ca91ae
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
10 years agoUse older sensor API for mobile builds 12/24812/1
Paul Wisbey [Tue, 22 Jul 2014 12:54:58 +0000 (13:54 +0100)]
Use older sensor API for mobile builds

(Mobile lite has newer API)

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

Change-Id: Iff6f6fa9274f55e0d91bcdf858ff6d698b8618d3

10 years agoAdded spec to build for mobile 24/24724/3
Adeel Kazmi [Fri, 18 Jul 2014 17:12:17 +0000 (18:12 +0100)]
Added spec to build for mobile

Use gbs build ... --spec dali-adaptor-mobile.spec

Change-Id: I528a444a83260028d3440e689158bfc111226f6c

10 years agoEnable late cancelation of resource loads already in flight 43/24443/10
Andrew Cox [Tue, 24 Jun 2014 15:36:25 +0000 (16:36 +0100)]
Enable late cancelation of resource loads already in flight

Change-Id: If08cbfdc9d7dde4204c3b27f0d50db91e926784d
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoMerge "Add missing DownCast function implementations." into tizen
Paul Wisbey [Tue, 15 Jul 2014 13:44:35 +0000 (06:44 -0700)]
Merge "Add missing DownCast function implementations." into tizen

10 years agoMerge "Build configuration for wearable" into tizen
Kimmo Hoikka [Tue, 15 Jul 2014 11:53:24 +0000 (04:53 -0700)]
Merge "Build configuration for wearable" into tizen

10 years agoAdd missing DownCast function implementations. 90/24490/1
Francisco Santos [Tue, 15 Jul 2014 10:03:56 +0000 (11:03 +0100)]
Add missing DownCast function implementations.

Change-Id: I63f35783ea5a3a7c8ce95db202e8c9b7844638a4

10 years agoTCT tests fix for Wayland refactor 58/24458/1
Andrew Cox [Mon, 14 Jul 2014 17:36:12 +0000 (18:36 +0100)]
TCT tests fix for Wayland refactor

Change-Id: I9cb7e8a348ef6e2bcb852af60474bc73e13243c7
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoBuild configuration for wearable 56/24456/2
Sinjae Lee [Wed, 9 Jul 2014 10:12:20 +0000 (19:12 +0900)]
Build configuration for wearable

Change-Id: I2f2e7e0b0c2368d48dcc1eda5ef213655b55dc04
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoMerge "Fix build errors with GCC4.8." into tizen
Adeel Kazmi [Mon, 14 Jul 2014 16:55:52 +0000 (09:55 -0700)]
Merge "Fix build errors with GCC4.8." into tizen

10 years agoFix build errors with GCC4.8. 55/24455/1
daemyung jang [Fri, 11 Jul 2014 00:58:58 +0000 (09:58 +0900)]
Fix build errors with GCC4.8.

[problem] 'uint64_t' does not name a type.
[cause] Don't include 'stdint.h'.
[solution] Include 'stdint.h'.

Change-Id: I702e7e43efd31e2b0e296f46026bdd74e1979f8b

10 years agoRefactor and add Wayland support. 14/23414/11
Yan Wang [Wed, 25 Jun 2014 07:21:52 +0000 (15:21 +0800)]
Refactor and add Wayland support.

Change-Id: I9c949a684dc8a3aa9c4cec0249f80be899492213
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoUpdated automated test scripts for faster cycle time 34/24334/4
David Steele [Thu, 10 Jul 2014 14:36:35 +0000 (15:36 +0100)]
Updated automated test scripts for faster cycle time

Change-Id: I7543dde6ba38bb811065289a00269b0ad5e5c2b0
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoRemoved redundant TET cases from automated tests 31/24331/1
David Steele [Thu, 10 Jul 2014 14:26:00 +0000 (15:26 +0100)]
Removed redundant TET cases from automated tests

Change-Id: Iadafd1c25183d53a41b54e7ad1c88d6116c12451
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoEnabled test cases to install to target 26/24326/2
David Steele [Thu, 10 Jul 2014 13:35:57 +0000 (14:35 +0100)]
Enabled test cases to install to target

Test cases require an install script to put them on target device.

Change-Id: I3eecdba5a7ca0378ce53c87a86dbbd035a2eafbc
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoDALi Version 1.0.0 85/24285/1 dali_1.0.0
Adeel Kazmi [Wed, 9 Jul 2014 17:04:50 +0000 (18:04 +0100)]
DALi Version 1.0.0

Change-Id: I213f2c61ebb86ff34aa1b8f12e55fa0ad0f6ea88

10 years agoUpdated Makefiles to support different profiles. 50/24150/5
Adeel Kazmi [Tue, 8 Jul 2014 17:16:01 +0000 (18:16 +0100)]
Updated Makefiles to support different profiles.

Change-Id: Iff4731aec5c3e3f660be58229a398f69be8dcc78
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoImproved statistics of GL calls from dali-adaptor, now logging clears, binds, program... 49/24149/1
Kimmo Hoikka [Fri, 4 Jul 2014 14:39:37 +0000 (15:39 +0100)]
Improved statistics of GL calls from dali-adaptor, now logging clears, binds, programs and uniform sets

Change-Id: If72e2275b5618c860f8427e32fdc2e79801654fb
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoTCT Tests for platform abstraction 48/24148/1
Andrew Cox [Thu, 26 Jun 2014 16:10:15 +0000 (17:10 +0100)]
TCT Tests for platform abstraction

[problem] The platform abstraction has features that should be tested.
[cause] Current tests of the dali-adaptor project use a stubbed platform
abstraction.
[solution] Make a new TCT test app that calls PlatformAbstraction
functions connected to a full platform abstraction underneath.

Single test case that loads 1000 images and checks that they all
complete.

Change-Id: Ibe5f89ebd469719ad798436dfb3cc784f0cf73f0
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(Pinch) Remove gradient limitations, distance moved = pinch 47/24147/1
Adeel Kazmi [Mon, 7 Jul 2014 17:54:17 +0000 (18:54 +0100)]
(Pinch) Remove gradient limitations, distance moved = pinch

[problem]      Hard to do pinch sometimes when fingers moving opposite gradients (but apart)
[cause]        Checking the gradient of motion of the two fingers matches (within a certain threshold).
[solution]     Just emit a pinch if there is enough distance.

Change-Id: I4e5a119843a19ae35348cf1794ec28c416fef897
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoAdd #include <cstdlib> to find NULL definition 46/24146/1
jonghyun.ho [Mon, 7 Jul 2014 06:39:08 +0000 (15:39 +0900)]
Add #include <cstdlib> to find NULL definition

[cause]       'NULL' was not declared in this scope
              Common issues with GCC-4.6
              GCC-4.6 is again more strict, introduces new warnings,
               and lets packages fail to build, which did succeed to build with earlier GCC versions.
              Reference : https://wiki.ubuntu.com/GCC4.6
[solution]    Add #include <cstdlib> to find NULL definition

Change-Id: I2c2258339e3387cba54692fb7a6f7e0500de46e7
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoDecrease CPU loads for resource thread 45/24145/1
jonghyun.ho [Fri, 4 Jul 2014 13:05:48 +0000 (22:05 +0900)]
Decrease CPU loads for resource thread

[problem]     Gallery is stuck sometimes if it has so many images.
[cause]       Heavy works in resource thread.
[solution]    Decrease CPU loads for resource thread using environment variable.
              Have DALI_RESOURCE_THREAD_IDLE_PRIORITY set, and idle priority for the resources
              will be used.

Change-Id: Iab8b3a5687046831329740429b2ae586dc9ec5cb
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoAdded metrics gathering for GL calls 44/24144/1
David Steele [Tue, 1 Jul 2014 16:56:08 +0000 (17:56 +0100)]
Added metrics gathering for GL calls

[solution]     Added a gl proxy implementation class that overrides the methods
that we're interested in gathering metrics on, and only use this proxy implementation
if the DALI_GRAPHICS_STATUS_TIME environment variable is set.
Added calls from RenderThread to use the new PreRender and PostRender methods in the
GL abstraction -this enables the proxy implementation to count per-frame data.

Change-Id: I25e09664f6b2f3fd9a6b33f99622d547362e2849
Signed-off-by: David Steele <david.steele@partner.samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoFix TET cases for adaptor 43/24143/1
Victor Cebollada [Thu, 3 Jul 2014 10:48:45 +0000 (11:48 +0100)]
Fix TET cases for adaptor

Change-Id: Iecf5348cd98dddfb0f594ef524b6be9881b7276e
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoAdaptor - Handle font style correctly in the font controller. 42/24142/1
Victor Cebollada [Fri, 27 Jun 2014 08:01:03 +0000 (09:01 +0100)]
Adaptor - Handle font style correctly in the font controller.

[problem]      The font controller always retrieves a 'Regular' font style if no font name is given,
               even if a different font style is set (ex: Light) and a valid font for this style exists.
[cause]        If no font name is given, the font controller resets the style to default (which is Regular) as well.
               In general the font controller doesn't handle the font style completely.
[solution]     Fix the handle on font styles inside the font controller.

Change-Id: I879ae3c12d88b32f51ce9c00d667a4948933f2a1
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoFix build break 41/24141/1
Nick Holland [Wed, 2 Jul 2014 08:41:14 +0000 (09:41 +0100)]
Fix build break

Change-Id: I5cd4a4f770c53af630eb0d4d167ce63b207a54df
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoPan Gesture Cleanup - included new integration-api/input-options.h in adaptor-impl.cpp 40/24140/1
Julien Heanley [Wed, 2 Jul 2014 07:44:05 +0000 (08:44 +0100)]
Pan Gesture Cleanup - included new integration-api/input-options.h in adaptor-impl.cpp

Change-Id: I8da059f09f66a5fa71b946ad6c0a592fc7670251
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(PanGesture) Phase in the initial pan-threshold if it's a slow pan 39/24139/1
Adeel Kazmi [Tue, 1 Jul 2014 07:57:39 +0000 (16:57 +0900)]
(PanGesture) Phase in the initial pan-threshold if it's a slow pan

[problem]     When we are doing a slow pan, there is a jump at the start which does not look good
[cause]       To minimise the distance between finger and object, the WHOLE threshold is applied
              when the gesture starts.
[solution]    If it's a slow pan, phase in the pan-threshold.

Change-Id: Ifee6547f66761881d04c3a847b4b3cdb5e3bc4e1
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoPan Gesture Smoothing - Added APIs to change smoothing mode and amount 38/24138/1
Julien Heanley [Thu, 26 Jun 2014 09:04:17 +0000 (10:04 +0100)]
Pan Gesture Smoothing - Added APIs to change smoothing mode and amount

  DALI_PAN_SMOOTHING_MODE - Currently only 0 for off and 1 for a simple smoothing technique
  DALI_PAN_SMOOTHING_AMOUNT - From 0.0f for no smoothing to 1.0f for full smoothing

[problem]      Predicted panning is a little jittery at times
[cause]        Any slight error in touch data could skew the calculations a little
[solution]     Added smoothing phase

Change-Id: Ifc573419a63904fdadbc169fbeefd9dcae27dc0b
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoInitialize SyncMode variable to fix valgrind warning. 37/24137/1
jonghyun.ho [Wed, 2 Jul 2014 04:15:32 +0000 (13:15 +0900)]
Initialize SyncMode variable to fix valgrind warning.

Change-Id: I2019e680161b3ed82668a071cadec6c9e800fef0
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(Accessibility) Added action scroll signal 36/24136/1
Sinjae Lee [Wed, 25 Jun 2014 09:29:16 +0000 (18:29 +0900)]
(Accessibility) Added action scroll signal

[problem] Homescreen d-box want to do scroll by 2 fingers drag
[cause] Not implemented
[solution] Added new signal to provide scroll event to accessibility observers

Change-Id: Id1cf797affe58d9d4365f2251d8592cd3e67b190
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(PanGesture) Two motions before pan & ability to set the min distance/events via... 35/24135/1
Adeel Kazmi [Thu, 26 Jun 2014 14:23:05 +0000 (23:23 +0900)]
(PanGesture) Two motions before pan & ability to set the min distance/events via environment variable

[problem]     Need more than one motion event to determine the direction.
[cause]       N/A
[solution]    Wait at least one more pan.
              Add configurability via environment variables:
              Minimum distance before pan: DALI_PAN_MINIMUM_DISTANCE
              Minimum motion events before pan (include down): DALI_PAN_MINIMUM_EVENTS

Change-Id: I3dbe34dc56d6c84518aec3807911054280998ca5
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoRemove valgrind warning of VSyncMonitor 34/24134/1
jonghyun.ho [Tue, 24 Jun 2014 08:15:52 +0000 (17:15 +0900)]
Remove valgrind warning of VSyncMonitor

Change-Id: I4f7e695eeb7c1f28323801056054e76128b2514d
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoDisable Late-cancels of in-flight resource loads using boost::thread interrupt() 33/24133/1
Andrew Cox [Tue, 24 Jun 2014 10:24:06 +0000 (11:24 +0100)]
Disable Late-cancels of in-flight resource loads using boost::thread interrupt()

Change-Id: I992d18a8f33582bf9c6f769e9244edc86a2d3153
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoIncrease the pan gesutre threshold. 32/24132/1
daemyung jang [Mon, 23 Jun 2014 08:04:33 +0000 (17:04 +0900)]
Increase the pan gesutre threshold.

[problem] The scroll view is too sensitive.
[cause] The pan threshold is little.
[solution] Increase the pan gesture threshold.

Change-Id: Ia84df6092a1763d0d677ce1a3adc9c0ac10ed51d
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(Indicator) Skip updating when indicator is not showing 31/24131/1
Sinjae Lee [Sat, 21 Jun 2014 12:21:29 +0000 (21:21 +0900)]
(Indicator) Skip updating when indicator is not showing

[problem] Dali render once by indicator updating even indicator is not showing
[cause] Calls RequestUpdateOnce() for every indicator update signal
[solution] Check mIsShowing before updating

Change-Id: Ie03395aba8baf1764189f5d5f8df4ff2624ea199
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoOptimization to reduce Handle size by 50% 30/24130/1
Paul Wisbey [Thu, 19 Jun 2014 19:01:10 +0000 (20:01 +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: I8322c4ee56341b88c752da3931a7187c46eb9419
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(ChangeableColor) ColorController interface and its dummy implementation 29/24129/1
Xiangyin Ma [Fri, 6 Jun 2014 18:57:15 +0000 (19:57 +0100)]
(ChangeableColor) ColorController interface and its dummy implementation

[problem]      Changeable UI support
[cause]        N/A
[solution]     Support color lookup with code
               when receive themeChange signal, Toolkit::StyleManager will lookup and appy the new color

Change-Id: Ief4a063e6366724a039eeb1487ff25d9ddeef2b0
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoAdded fclose to ResourceThreadImage::LoadResourceSynchronously 28/24128/1
Richard Underhill [Tue, 17 Jun 2014 10:38:48 +0000 (11:38 +0100)]
Added fclose to ResourceThreadImage::LoadResourceSynchronously

Certain files not being closed correctly

Change-Id: I350d45c85d97461843e3e8c33845ae2c6950cb96
Signed-off-by: Richard Underhill<r.underhill@partner.samsung.com>
10 years agoReplace fabs with fabsf in image resource thread and minor cleanup 27/24127/1
Andrew Cox [Tue, 10 Jun 2014 13:18:06 +0000 (14:18 +0100)]
Replace fabs with fabsf in image resource thread and minor cleanup

Change-Id: Ided0913dfced233e224d04a6d3de8e6ea9001a78
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoUpdate Spec file to not be exclusive to ARM 69/22769/5
Adeel Kazmi [Wed, 11 Jun 2014 10:39:01 +0000 (11:39 +0100)]
Update Spec file to not be exclusive to ARM

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

10 years agoFix Prevent Issue - Caused by comparing unsigned int to >= 0, will never be less...
Julien Heanley [Tue, 10 Jun 2014 09:11:01 +0000 (10:11 +0100)]
Fix Prevent Issue - Caused by comparing unsigned int to >= 0, will never be less than 0

Change-Id: Id07f2a09cfa9cf6307f1af8a60cfd28603b098d4
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
10 years agoApply cropping to simulate ScaleToFill required by Gallery
Andrew Cox [Mon, 9 Jun 2014 11:17:51 +0000 (12:17 +0100)]
Apply cropping to simulate ScaleToFill required by Gallery

Change-Id: Iefa2e3cb589f6762c05eb33bc42f83d3369bf64f
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoAllow gestures to be registered before Adaptor::Start()
Paul Wisbey [Mon, 9 Jun 2014 07:26:24 +0000 (16:26 +0900)]
Allow gestures to be registered before Adaptor::Start()

Window::ShowIndicator was called before Adaptor::Start. This caused the first PanGesture to be
created before GestureManager::Start, which meant that no PanGestures could be registered.

Allow PanGestures to be registered, before Adaptor::Start()

10 years agoUpdated test scripts to allow executing smaller numbers of tests
David Steele [Mon, 9 Jun 2014 16:03:54 +0000 (17:03 +0100)]
Updated test scripts to allow executing smaller numbers of tests

[problem]      Executing test cases takes too long
[cause]        Granularity is too high
[solution]     Add option to run tests from a specific test case file

Change-Id: I91250f51edf30cb1a10292877dd758f451ccc448
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoSynchronize first update after wake-up with VSync
Paul Wisbey [Tue, 3 Jun 2014 08:00:59 +0000 (17:00 +0900)]
Synchronize first update after wake-up with VSync

[problem]      Triple buffering in DDK is causing touch gesture lag
[cause]        Multiple renders in the same VSync period
[solution]     Synchronize the first update with VSync; this avoids
rendering twice in the same VSync period, provided that update & render
take less than 16ms (which is usually the case)

10 years agoImage Load Cancelation - Coarse cancelation of in-flight jpeg loads
Andrew Cox [Thu, 5 Jun 2014 20:23:47 +0000 (21:23 +0100)]
Image Load Cancelation - Coarse cancelation of in-flight jpeg loads

[problem] An itemview with many large image items can load lots that
never need to be displayed in a fast-scroll situation, leading to
increased latency to load required images and wasted power doing
unecessary work.
While we already issue cancelations for queued images, if an image load
request has been dequeued to a resource thread, it will proceed
through file IO, decoding, and postprocessing.

[solution]
Add a generic cancelation mechanism for the current load on any resource
thread using boost::thread's interrupt().

Made the image resource thread exception safe on its load and decode
paths so this boost interrupt() can be used in their scopes.

Injected interruption points into the jpeg turbo loader. Key ones:
  * Between allocation of a memory buffer and file IO, and
    running the jpeg codec.
  * Between the codec and the pixel shuffling for orientation compensation.

Change-Id: I4a8c10f8f9cd1e11f04285ac3f72515a47cf604e
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoPan Gestures - Changed pan gesture prediction units to millis
Julien Heanley [Thu, 5 Jun 2014 09:31:56 +0000 (10:31 +0100)]
Pan Gestures - Changed pan gesture prediction units to millis

Change-Id: I213e92bbc09a34253bda0ec0c23740d234d5bb32
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
10 years ago(Indicator) Using pan gesture to find flick down gesture to show hidden indicator
Sinjae Lee [Thu, 5 Jun 2014 10:36:50 +0000 (19:36 +0900)]
(Indicator) Using pan gesture to find flick down gesture to show hidden indicator

[problem] Hard to show hidden indicator
[cause] To avoid conflict scenario between indicator and behind button actor,
        had shrinked the event actor size
[solution] Using pan gesture instead of touch event to find flick down

10 years agoFixed build and coverage scripts for automated testing
David Steele [Thu, 5 Jun 2014 12:22:25 +0000 (13:22 +0100)]
Fixed build and coverage scripts for automated testing

[problem]      Coverage script incorrectly using build/slp
[cause]        Copied from dali core repository.
[solution]     Changed it to use build/tizen

Change-Id: Iac986671ee76555f906f952c21fa668a6b4751e0
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoConversion to Apache 2.0 license
Taeyoon [Tue, 3 Jun 2014 10:01:51 +0000 (19:01 +0900)]
Conversion to Apache 2.0 license

Change-Id: I22352f7663903944c445d3498fffcfb2c65f5549

10 years agoStop including std::vector directly inside dali
Adeel Kazmi [Thu, 29 May 2014 17:58:21 +0000 (18:58 +0100)]
Stop including std::vector directly inside dali

Change-Id: Ia5ec0f6e7dbca29c95cae871857c772fc6697ac6

10 years ago(Accessibility) Just handles the action over for only move event type
Sinjae Lee [Thu, 5 Jun 2014 05:15:02 +0000 (14:15 +0900)]
(Accessibility) Just handles the action over for only move event type

10 years agoReduce the panning threshold.
daemyung jang [Tue, 3 Jun 2014 05:10:28 +0000 (14:10 +0900)]
Reduce the panning threshold.

[problem] The reaction time is late.
[cause] The threshold is big.
[solution] Reduce the panning threshold.

10 years agoPan Gesture Prediction - Added DALI_PAN_GESTURE_PREDICTION_AMOUNT environment variable
Julien Heanley [Fri, 30 May 2014 09:34:27 +0000 (10:34 +0100)]
Pan Gesture Prediction - Added DALI_PAN_GESTURE_PREDICTION_AMOUNT environment variable

Increase how far pan gestures try to predict position 1.0f is 1 frame further ahead. Can use decimals like 0.6 or 1.3.

Change-Id: Ib4cb8dbbd3367374e8c26f586be8b3e387e71e79
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
10 years ago(Accessibility) Updated accessibility features (Part2)
Sinjae Lee [Sat, 24 May 2014 07:21:45 +0000 (16:21 +0900)]
(Accessibility) Updated accessibility features (Part2)

Implemented the AccessibilityActionTouch interface for ELM_ACCESS_ACTION_MOUSE event
Added allowEndFeedback parameter to some action handers that move focus

10 years ago(Indicator) Added SetIndicatorStyle()
Sinjae Lee [Thu, 29 May 2014 15:49:01 +0000 (00:49 +0900)]
(Indicator) Added SetIndicatorStyle()

10 years agoFix for incorrect error code checking in JPEG header loading
Andrew Cox [Thu, 29 May 2014 17:06:11 +0000 (18:06 +0100)]
Fix for incorrect error code checking in JPEG header loading

Synchronous loads to cheeck image sizes on event threads were printing false warnings.

Change-Id: I97eaa37af6a971c161ae27f4a718cdc158725c63
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years ago(Indicator) Fixed to support dali application's indicator mode
Sinjae Lee [Wed, 28 May 2014 10:45:43 +0000 (19:45 +0900)]
(Indicator) Fixed to support dali application's indicator mode

[problem] Dali::Application app can not handle the indicator visibility as well
[cause] Indicator image is loaded after app initializing
[solution] When indicator image is loaded, set visible forcely again

10 years ago(EnvironmentVariables)Added getter functions that take value by reference and return...
Julien Heanley [Wed, 23 Apr 2014 07:55:19 +0000 (08:55 +0100)]
(EnvironmentVariables)Added getter functions that take value by reference and return whether it was even set

[Issue#]   N/A
[Problem]  Had to set default value for prediction mode in tizen specific adaptor
[Cause]
[Solution] Only set pan prediction mode if variable has been set

Change-Id: I802ac63bbcaa76281d3e9da7aca4f477cbb2af1c

10 years agoFixed dependencies for building on other architectures
David Steele [Tue, 27 May 2014 17:37:57 +0000 (18:37 +0100)]
Fixed dependencies for building on other architectures

Change-Id: Iaedada26c519ae89c8bb0b47d7d1ce2ea7a316c5
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoMerge branch 'master' into tizen
Adeel Kazmi [Tue, 10 Jun 2014 15:34:19 +0000 (16:34 +0100)]
Merge branch 'master' into tizen

10 years ago(Build) Fixed target build error for tizen TV profile dali-2014-wk22-release
Richard Huang [Tue, 27 May 2014 14:59:34 +0000 (15:59 +0100)]
(Build) Fixed target build error for tizen TV profile

10 years agoUpload package dali-adaptor_0.9.18.
jonghyun.ho [Sat, 24 May 2014 02:35:29 +0000 (11:35 +0900)]
Upload package dali-adaptor_0.9.18.

10 years ago(Indicator) Fixed regression that indicator can not get focus in screen reader mode
Sinjae Lee [Fri, 23 May 2014 10:40:05 +0000 (19:40 +0900)]
(Indicator) Fixed regression that indicator can not get focus in screen reader mode

10 years ago(Indicator) Enhanced the accuracy to get out the hidden indicator
Sinjae Lee [Fri, 23 May 2014 06:51:11 +0000 (15:51 +0900)]
(Indicator) Enhanced the accuracy to get out the hidden indicator

10 years agoUpdated object profiler to include overall memory impact
David Steele [Mon, 12 May 2014 14:57:13 +0000 (15:57 +0100)]
Updated object profiler to include overall memory impact

[Problem]      Want more info
[Cause]        N/A

[Solution] For each object, there is a total memory impact. E.g. for
ImageActor, there are many other classes that are also instantiated,
e.g. ImageAttachment, Node, SceneGraph::ImageAttachment,
SceneGraph::ImageRenderer, etc.  This change uses the impact constants from
PlatformAbstraction to display total impact.

Also count the number of image actors using Quads.

Change-Id: Id6720f173f165b1a61f9212089c12e6cbe18145f
[Verification] Build Repo
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years ago(Indicator) Update once when indicator is updated dali-2014-wk21-release
Sinjae Lee [Thu, 22 May 2014 02:35:47 +0000 (11:35 +0900)]
(Indicator) Update once when indicator is updated

[problem] Indicator animation is not updated as well
[cause] In pixmap type indicator, no update request for OP_UPDATE
[solution] Update once per OP_UPDATE request

10 years agoSynchronised mobile spec file
Adeel Kazmi [Wed, 21 May 2014 15:22:48 +0000 (16:22 +0100)]
Synchronised mobile spec file

Change-Id: Ic59e79774617fd5aea1de517f4e18845f09829aa

10 years ago(Tests) Add utilX to tests config
Adeel Kazmi [Wed, 21 May 2014 15:06:07 +0000 (16:06 +0100)]
(Tests) Add utilX to tests config

[problem]      Tests not compiling
[cause]        Including a header file for which a path is not specified
[solution]     Add the utilX pkg-config option

Change-Id: Ibbc101d5ad62f8d44c7c0d0f78d9f5fa1afce500

10 years agoUpload package dali-adaptor-0.9.17.
jonghyun.ho [Wed, 21 May 2014 05:21:30 +0000 (14:21 +0900)]
Upload package dali-adaptor-0.9.17.

10 years ago(Accessibility) Updated accessibility event for read over action
Sinjae Lee [Fri, 16 May 2014 12:44:34 +0000 (21:44 +0900)]
(Accessibility) Updated accessibility event for read over action

10 years ago(Indicator) Implemented AUTO visible mode for indicator
Sinjae Lee [Fri, 9 May 2014 13:57:43 +0000 (22:57 +0900)]
(Indicator) Implemented AUTO visible mode for indicator

Implemented AUTO visible mode for indicator
For full screen application in portrait, or almost application in landscape mode,
indicator should be hidden in default and it can be shown by user's touch

The conditions for showing in AUTO mode
- indicator want to notify something to user
- user swipe down on top of the screen

The conditions for hiding in AUTO mode
- After n seconds
- When user touch anywhere except for indicator area

10 years agoUpload pacakge dali-adaptor_0.9.16.
jonghyun.ho [Wed, 14 May 2014 08:05:54 +0000 (17:05 +0900)]
Upload pacakge dali-adaptor_0.9.16.

10 years agoLicense conversion from Flora to Apache 2.0 98/21498/2 submit/tizen/20140526.004901
Taeyoon [Thu, 22 May 2014 04:47:31 +0000 (13:47 +0900)]
License conversion from Flora to Apache 2.0

LICENSE file change.
Boilerplate notice changed to apply the Apache License to dali.
SPEC file change.

Change-Id: If6c4fa7a1cd0becf069dca1ee955a76eddcf01da

10 years agoRevert "[SRUK] Bitmap adaptor patch 1 of 1 - Replace all uses of the Bitmap class... dali-2014-wk20-release
Andrew Cox [Tue, 13 May 2014 17:17:36 +0000 (18:17 +0100)]
Revert "[SRUK] Bitmap adaptor patch 1 of 1 - Replace all uses of the Bitmap class with new simpler type ImageData in core / adaptor communication"

This reverts commit 9a99538f3f37b8ba25d9f96f4d7242382a0d19c5.

!! Note !!  This code is good but we want to delay this series of
Adaptor changes until late May for client stability reasons.

Change-Id: Ic72a1f3ff9fba01ef7d58aa91171fa21696f526f
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoLower debug level of indicator logs
jonghyun.ho [Tue, 13 May 2014 07:14:49 +0000 (16:14 +0900)]
Lower debug level of indicator logs

10 years agoFixed rpmlint errors and removed -DDALI_EVAS_PLUGIN 10/20910/2
David Steele [Tue, 13 May 2014 19:23:23 +0000 (20:23 +0100)]
Fixed rpmlint errors and removed -DDALI_EVAS_PLUGIN

Change-Id: Ib9f461dacc4a27a33eb9d42a5480bc3f165eb744
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoUse common dali-adaptor.spec
Paul Wisbey [Fri, 9 May 2014 15:36:10 +0000 (16:36 +0100)]
Use common dali-adaptor.spec

Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
10 years agoUpdate build system for multiple tizen profiles
Javon Prince [Thu, 8 May 2014 10:20:12 +0000 (11:20 +0100)]
Update build system for multiple tizen profiles

Profiles (select with --enable-profile=MOBILE)

COMMON=Tizen 3.0 common
MOBILE=MCD mobile
TV=VD Tizen TV

Change-Id: I8928628a7a4cb14bc3318445af62171b7014bff0
Signed-off-by: Javon Prince <javon.prince@samsung.com>