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
Aharon Hillel
042e958aa7
Elm glayer: Fixed bug of starting line,momentum with mouse-move
...
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
SVN revision: 64868
2011-11-07 14:31:25 +00:00
Aharon Hillel
a6280661f1
Elm glayer: Fixed bug in N tap testing
...
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
SVN revision: 64867
2011-11-07 14:31:20 +00:00
Aharon Hillel
0aadefe6b2
Elm Glayer: Removed finger count from line-info
...
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
SVN revision: 64521
2011-10-30 10:08:05 +00:00
Aharon Hillel
170cf5fa1a
Elm Glayer: Added number of fingers to Momentum Info
...
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
SVN revision: 64520
2011-10-30 10:08:01 +00:00
Christopher Michael
96557ccea1
Elementary: Fix uninitialized variables warnings. Fix case formatting.
...
SVN revision: 64437
2011-10-27 15:57:14 +00:00
Tom Hacohen
dd4275ad34
Elm glayer: Removed unused/wanted if and variable.
...
SVN revision: 64382
2011-10-25 09:51:41 +00:00
Aharon Hillel
262525a0af
Elm glayer: Fixed memory leak, removed unused event list
...
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
SVN revision: 64381
2011-10-25 09:51:38 +00:00
Aharon Hillel
28053ef455
Elm glayer: Added momentum to continues-gestures.
...
Womentum is now aborted and resarted as the number of fingers changes.
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
SVN revision: 64380
2011-10-25 09:51:34 +00:00
Aharon Hillel
6d4a642ccf
Elm Glayer: Added ABORT on move to long-tap gesture
...
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
SVN revision: 64379
2011-10-25 09:51:30 +00:00
Aharon Hillel
7470d18743
Elm Glayer: Added multi-touch support to momentum gesture
...
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
SVN revision: 64378
2011-10-25 09:51:22 +00:00
Tom Hacohen
408cf02a9e
Elm glayer: Fix continuous gestures. SPANK SPANK Aharon.
...
SVN revision: 64356
2011-10-24 12:19:29 +00:00
Tom Hacohen
2b26f91dbb
Elm glayer: Fixed condition based on uninit value error.
...
Init structure fields (pe event) to 0.
Spank spank, you can't assume the passed pointer event is initialized.
SVN revision: 64141
2011-10-18 08:58:33 +00:00
Aharon Hillel
5cd614a820
Elm Glayer: Fixed code to match convention
...
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
SVN revision: 64129
2011-10-17 08:12:52 +00:00
Aharon Hillel
ba51b99efb
Elm Glayer: Fixed call of long tap reset in case reset occurs before 1st input event
...
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
SVN revision: 64128
2011-10-17 08:12:49 +00:00
Aharon Hillel
14b0c8d207
Elm Glayer: Fixed all tap, long tap, gestures bugs
...
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
SVN revision: 64127
2011-10-17 08:12:45 +00:00
Aharon Hillel
a6083cb953
Elm Glayer: Added single tap/double click support.
...
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
SVN revision: 63961
2011-10-10 15:47:40 +00:00
Aharon Hillel
c2d58e895a
Elm Glayer: Fixed many glayer issues.
...
zoom, rotate - Fixed continues gesture mode issues.
momentum - Fixed un relayable values returned for this gestures.
line - Fixed line continues mode issues.
Thank to Enumi Lee for reporting.
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
SVN revision: 63960
2011-10-10 15:47:34 +00:00
Tom Hacohen
eec24e2394
Elm_glayer: Reset ZOOM, ROTATE to function as before continues.
...
SVN revision: 63289
2011-09-08 10:10:41 +00:00
Aharon Hillel
429c050b46
Elm glayer: Added glayer_continues_enable setting to elm-config-file.
...
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
SVN revision: 63287
2011-09-08 10:10:34 +00:00
Aharon Hillel
cd4e0fe936
Elm glayer: Cleaned elm_gesture_layer.c.
...
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
SVN revision: 63286
2011-09-08 10:10:30 +00:00
Aharon Hillel
510b663a4d
Elm glayer: Added Continues-gesture-feature of Line, Flick, Zoom, Rotate.
...
TODO: Clean code (added this version to have easy way of review), and maybe add pref-var of enabling disabline continues gestures
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
SVN revision: 63285
2011-09-08 10:10:27 +00:00
Mike Blumenkrantz
bd9b5e6f36
alloc checks wooooooooooooo
...
SVN revision: 62157
2011-08-05 23:13:16 +00:00
Aharon Hillel
06a87f2348
Elm glayer: Added n-long-tap gesture
...
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
SVN revision: 61953
2011-08-01 13:09:05 +00:00
Mike Blumenkrantz
52d5130947
POINTER ARITHMETIC WITH VOID* IS BAD.
...
use intptr_t. also fixes a bunch of compile warns for x86_64
SVN revision: 61841
2011-07-28 08:36:55 +00:00
Tom Hacohen
20de0f2def
Elm glayer: Fixed mouse_wheel direction for wheel zoom.
...
Wheel up should be zoom in, not out.
SVN revision: 61648
2011-07-24 11:44:42 +00:00
Aharon Hillel
6f23cf6fdd
Elm glayer: Added key grab for CTRL to finish zoom
...
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
SVN revision: 61478
2011-07-18 11:25:54 +00:00
Tom Hacohen
948ab809c1
Elm glayer: Added glayer values to elm config.
...
Added tolerance related values.
Patch by Aharon Hillel.
SVN revision: 61465
2011-07-18 06:24:34 +00:00
Tom Hacohen
684d0361a4
Elm glayer: Changed some values from float to double.
...
Patch by Aharon Hillel.
SVN revision: 61464
2011-07-18 06:24:29 +00:00
Tom Hacohen
472df7f449
Elm glayer: Moved functions around.
...
This patch, and the 2 before are from Aharon Hillel.
SVN revision: 61209
2011-07-10 14:10:57 +00:00
Tom Hacohen
727a931e3c
Elm glayer: Keep finger pressed states across gesture layer.
...
And various formatting changes.
SVN revision: 61197
2011-07-10 11:51:44 +00:00
Tom Hacohen
fedc66f29f
Elm glayer: Correct logging of down-fingers + removed redundant copies.
...
Changed way of logging touched-devices.
Moved copy-event to history-add
SVN revision: 61196
2011-07-10 11:51:40 +00:00
Tom Hacohen
260f1cf599
Elm glayer: Formatting changes and removed a redudant comment.
...
SVN revision: 61122
2011-07-07 15:19:23 +00:00
Tom Hacohen
74d7906e61
Elm gesture_layer: Added gesture layer widget.
...
Gesture layer allows detection of gestures and essentially gives the
user a unified way of getting "complex" input.
It doesn't do (by design) complex gestures like "V" or "S", instead it
does simple and fast interaction gestures like: 2-finger
pinch/rotate/lines or CTRL+Mouse_Wheel zoom and etc.
This lets people to write an application/widget regardless of the input
device used and in a nice consistent way.
Although we consider the API "good", it may change completely. I'm
committing it now so people will be able to start using it, and
hopefully give feedback.
Work by Aharon Hillel with my help.
SVN revision: 61118
2011-07-07 14:41:03 +00:00