Commit Graph

83 Commits

Author SHA1 Message Date
Gustavo Lima Chaves 584c53c1be [elm] New elm_widget_add() usage spread.
SVN revision: 74148
2012-07-18 21:03:39 +00:00
Carsten Haitzler 1b1ff559f2 fix gesture layer if config happens to have 0 timeouts which causes
misbehavior.



SVN revision: 73842
2012-07-14 09:17:04 +00:00
Tom Hacohen 55e3f1df07 Elm glayer: Fixed longtap.
Thanks to raster for spotting this.

SVN revision: 73187
2012-07-03 05:24:03 +00:00
Tom Hacohen 2500a5248a Elm glayer: Filter out the duplicate multi* events.
One should either listen to mouse events and filter the corrosponding multi
events, or listen only to multi events. We chose the former, so we should
handle it correctly.

SVN revision: 72905
2012-06-27 00:27:18 +00:00
Gustavo Lima Chaves 195149bd32 [elm] Gesture layer now ported too.
SVN revision: 71464
2012-05-28 16:56:56 +00:00
Tom Hacohen f9c2c5fd69 Elm glayer: Change double_tap_timeout to 0.25.
Listen to Hermet's wise counsel.

SVN revision: 71269
2012-05-21 07:51:41 +00:00
Tom Hacohen ce02820a26 Elm glayer: Made tap timeout a config.
SVN revision: 71258
2012-05-20 14:56:35 +00:00
Tom Hacohen 0bbb0a43ef Elm glayer: cosmetic changes.
SVN revision: 71257
2012-05-20 14:56:32 +00:00
Tom Hacohen 5c5bc24aae Elm glayer: Removed all the "DEBUG_GLAYER" printfs.
If someone wants to debug anything, he'll do specific debugs anyway, no
need to clutter the code.

SVN revision: 71256
2012-05-20 14:56:29 +00:00
Tom Hacohen b6efa42204 Elm glayer: simplified "continues gesture" mode.
SVN revision: 71255
2012-05-20 14:56:26 +00:00
Kim Shinwoo 7c494c0757 elementary/gesture_layer: remove redundancy null checking at _tap_gesture_check_finish
Signed-off-by: Kim Shinwoo <kimcinoo.efl@gmail.com>


SVN revision: 71219
2012-05-18 01:45:40 +00:00
Tom Hacohen 7d0609a62c Elm glayer: Have a nice and clean array to call the test/reset funcs.
SVN revision: 71215
2012-05-17 15:31:34 +00:00
Tom Hacohen cd2324fb93 Elm glayer: Unify internal test function type.
Will let us do cool cleanups in the future.

SVN revision: 71214
2012-05-17 15:31:31 +00:00
Tom Hacohen f5ac377431 Elm glayer: Clean up N_LONG_TAPS a bit.
SVN revision: 71213
2012-05-17 15:31:29 +00:00
Tom Hacohen 1e2d9f200d Elm glayer: Clean up handling of the taps timeout and rename it.
SVN revision: 71212
2012-05-17 15:31:23 +00:00
Tom Hacohen a2651f5f6a Elm glayer: Fixed timing with the single/double/triple taps.
Instead of a global 400msec value, we now have 200msec between mouse downs.
E.g if the first timestamp is 0, we get:
valid: down(0) up(50) down(150) up(300)
invalid: down(0) up(100) down(201) up(250)

SVN revision: 71200
2012-05-17 13:37:10 +00:00
Kim Shinwoo 631e95b6c9 elementary/gesture_layer: add to null check at _tap_gesture_check_finish
Signed-off-by: Kim Shinwoo <kimcinoo.efl@gmail.com>


SVN revision: 71187
2012-05-17 04:39:40 +00:00
Tom Hacohen f51e04c0f5 Elm glayer: Workaround a bug causing a delay with N_TAPS events.
SVN revision: 71147
2012-05-16 08:44:17 +00:00
Tom Hacohen 2bb86a906e Elm glayer: Hopefully fixed some issue with hold_events=true.
Thanks a lot to Eunmi Lee for reporting this issue.

SVN revision: 70908
2012-05-10 11:16:13 +00:00
Daniel Juyung Seo 8c17d99712 elm: Fixed formatting. Added a space after 'if/while/for'
SVN revision: 69744
2012-03-29 11:09:45 +00:00
Daniel Juyung Seo 7908a77ad8 elm: Fixed formatting.
SVN revision: 69700
2012-03-28 09:02:22 +00:00
Carsten Haitzler 746119528d warn--
SVN revision: 68894
2012-03-07 08:21:20 +00:00
Carsten Haitzler d599459721 warn--
SVN revision: 68893
2012-03-07 08:19:55 +00:00
Carsten Haitzler 0a60e3a9cc warn--
SVN revision: 68892
2012-03-07 08:13:06 +00:00
Carsten Haitzler 5f1aa30a8e more warn--
SVN revision: 68889
2012-03-07 08:05:42 +00:00
Carsten Haitzler 7a5a301a63 rename a whole host of config-related functions to be elm_config_*
now. yes - no deprecation. no time to do that.



SVN revision: 68810
2012-03-06 12:04:25 +00:00
ChunEon Park 2184cc1112 elementary/gesture_layer - reviewed done.
SVN revision: 68408
2012-02-24 12:21:22 +00:00
ChunEon Park 120b7b82a6 elementary/gesture_layer - added object validation checking.
SVN revision: 68394
2012-02-24 10:42:53 +00:00
Mikael SANS 68b888a8e1 simplify expressions
SVN revision: 68242
2012-02-22 00:21:18 +00:00
Mikael SANS 8b6d86f565 Fix: wrong center point between fingers
SVN revision: 68228
2012-02-21 17:32:20 +00:00
Carsten Haitzler 4d730745f7 aaand other part of bluez map commit. easier to fix formatting in svn.
SVN revision: 68194
2012-02-21 03:26:00 +00:00
Tom Hacohen fe3a2cfb4c Elm glayer: Fixed wrong usage of intptr_t.
Spank Spank.

SVN revision: 68150
2012-02-20 09:23:19 +00:00
Pau Espin Pedrol e9e71d84be elm_gesture_layer: Elm_Gesture_Types -> Elm_Gesture_Type to keep consistency with other parts of the API
SVN revision: 67569
2012-01-27 16:51:23 +00:00
Aharon Hillel a2a76e41aa Elm Glayer: Fixed momentum values This fix was required when combining rotate and momentum gestures.
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66716
2012-01-01 12:30:49 +00:00
Aharon Hillel 1eb59833c5 Elm Glayer: Changed start-time of zoom-momentum
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66432
2011-12-21 08:48:25 +00:00
Aharon Hillel a5bd4cb04f GLayer: Updated zoom-momentum,needs further testing
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66429
2011-12-21 08:48:16 +00:00
Aharon Hillel 9c3e9cd409 glayer: Updated DOC about angle comp-change
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66428
2011-12-21 08:48:12 +00:00
Aharon Hillel 472f1a3f0f glayer: Fixed angle computation 1. Angles now are given in DEG, not RAD 2. ZERO angle at 12-oclock, growing clockwise. 3. TODO: Fixe rotation Momentum computation.
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66427
2011-12-21 08:48:08 +00:00
Aharon Hillel 984bff7c34 Elm glayer: Added momentum computation in zoom-wheel
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66425
2011-12-21 08:48:00 +00:00
Aharon Hillel ceb95952c1 Elm Glayer: Fixed Momentum gesture compuation
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66423
2011-12-21 08:47:53 +00:00
Aharon Hillel 7bed34f523 Elm glayer: Updated rotation momentum computation - not final version
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66422
2011-12-21 08:47:50 +00:00
Aharon Hillel 1b9b3121d3 Elm glayer: Added support for rotation-momentum (first version)
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66421
2011-12-21 08:47:47 +00:00
Aharon Hillel 4bb797e92d Added support for zoom-momentum (first version)
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66420
2011-12-21 08:47:44 +00:00
Tom Hacohen b1f771a890 Elm glayer: Added config value to multi-touch rotation.
Patch by Bluezery.

SVN revision: 66368
2011-12-20 08:39:30 +00:00
Tom Hacohen 0fac1e15ff Elementary glayer: Added a config value to disable multitouch zoom.
Patch by Bluezery.

SVN revision: 66310
2011-12-18 08:45:59 +00:00
Aharon Hillel e9f0867326 Elm glayer: Fixed zoom with mouse wheel.
Got broken with the patch applied by Hermet.

Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 65780
2011-12-01 13:20:34 +00:00
Rajeev Ranjan 10e1220af7 elementary/gesture_layer - [E-devel] [Patch] elm_gesture_layer patc
Hi,

On behalf of Rajeev Ranjan, I am submitting the elm_gesture_layer patch.

Change Log:
a. Variable was used after freeing in function _remove_touched_device, now storing return value of eina_list_remove and then freeing pointer.
b. gesture pointer was dereferenced before checking it against NULL in function _rotate_test. Now dereferencing happens after NULL check.
c. Added NULL check for pointer before using it in function _event_process which is dereferenced in function _add_touched_device.
d. Memory leak fix in function elm_gesture_layer_add. Now using ELM_WIDGET_STANDARD_SETUP which takes care of NULL checks and freeing memory in case of failure.

Please review it.
I'd appreciate any comments on this.

Thank you,

Signed-Off-By: Rajeev Ranjan <rajeev.r@samsung.com>
Signed-Off-By: Prince Kumar Dubey <prince.dubey@samsung.com>
Signed-Off-By: ChunEon Park <hermet@hermet.pe.kr>



SVN revision: 65680
2011-11-29 09:20:31 +00:00
Aharon Hillel c7ccc374a2 Elm glayer: Set mimimun momentum for ABORT
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 65024
2011-11-10 16:06:09 +00:00
Aharon Hillel d42d8fff42 Elm glayer: Added doc to recent fix
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 64951
2011-11-08 13:09:18 +00:00
Aharon Hillel 9fe4fc1d3d Elm glayer: Fixed bug in non-continues mode.
Line and Momentum START was effected by mouse-over fix.

Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 64950
2011-11-08 13:09:14 +00:00