Hosang Kim [Fri, 29 Mar 2024 11:51:55 +0000 (20:51 +0900)]
Fix unmatched tap gesture count in invalid input.
If first finger is valid, other finger comes invalid down - valid-up,
down is ignored, but up is activated.
this occurs tap count negative which blocks all accessiblity gesture.
this fix prevent those case by block the invalid input only the first
finger so second will activate regardless of it's position.
Change-Id: I17b13e4ef48c99771c95e76d2ddda2f99412f2fc
Artur Świgoń [Mon, 4 Mar 2024 14:47:56 +0000 (15:47 +0100)]
Use strdup() wrapper
The wrapper can be used to gracefully accept a null argument and
guarantee a non-null return value, and not have to pollute the code with
null checks.
Change-Id: I46ebe4151787e72e2df0dfea247294e47ba72abf
(cherry picked from commit
9e5c7fe2073536a9edfb9a6c1cf0d2afa824b5ac)
Artur Świgoń [Thu, 20 Oct 2022 09:37:12 +0000 (11:37 +0200)]
Consider input regions when determining the resource ID
This patch leverages the newly added e_client_under_position_input_get()
to consider input regions in a generic manner.
Change-Id: I6b34080c16830d511d6134bbf5fcd74e5eb7556a
Jihoon Kim [Fri, 17 Mar 2023 13:44:44 +0000 (22:44 +0900)]
Fix timestamp overflow issue
Change-Id: I2fcdd60b7beaa88ddb150e4e7f9b7c445f67e17e
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Maria Bialota [Fri, 7 Oct 2022 20:30:54 +0000 (22:30 +0200)]
Introduced tracking the leading finger of the drag gesture
This patch solves the problem of incorrect ending of tap & hold
gesture in Screen Reader mode and introduces leading finger change
during the gesture.
When Screen Reader is running and user performs tap+tap&hold gesture,
drag action can be performed. In current solution in case a user
touches the screen with a second finger during the course of the drag
gesture and releases the first finger before releasing the second
finger, the tap&hold gesture is not concluded properly - the drag
action is suspended without a proper closing with mouse up event.
This patch solves this issue and additionally provides possibility
of changing fingers many times within one drag action.
Change-Id: Ice65689d50883c9ef44a83695d04db974b4d7055
(cherry picked from commit
c8989870a04b8c3cbd84f374c6fdbe2f5505c703)
(cherry picked from commit
69478078aa928f8f43ddec1a4cf8fba44c14b847)
Lukasz Oleksak [Wed, 19 Oct 2022 10:14:20 +0000 (12:14 +0200)]
Add missing nullchecks
Change-Id: Iaf0c51165bfb4aff6484cd631b2fa761f9e969d8
Lukasz Oleksak [Thu, 29 Sep 2022 10:18:42 +0000 (12:18 +0200)]
Provides simpler and less vulnerable filtration of unwanted mouse events while dragging
Fixes: https://review.tizen.org/gerrit/#/c/platform/core/uifw/e-mod-tizen-screen-reader/+/282157/
Change-Id: I03ecc5632bc4781798c3ede14b0bbf180a60f430
Lukasz Oleksak [Tue, 27 Sep 2022 13:14:49 +0000 (15:14 +0200)]
Ignoring mouse events not participating in drag gesture
Change-Id: If864f916b215f36b973e0d6eab6fd83850627d00
Seoyeon Kim [Wed, 28 Sep 2022 04:39:13 +0000 (13:39 +0900)]
Fix to set the correct gesture position in multi-touch
- When user tries to zoom out/in an object, sometimes the object gets
bigger than the desired zoom behavior.
Change-Id: Iafef71c96c03f7c1aba69463eec633ae8a732865
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Artur Świgoń [Tue, 21 Jun 2022 11:37:08 +0000 (13:37 +0200)]
Quick fix for quick 2-finger hover gesture
This patch adds an extra emission of the 'ongoing' gesture signal before
'end' in case there wasn't one.
Change-Id: I877407bc4a120694411ce7d86f5445d19761066a
(cherry picked from commit
9792b9f611bc971fc856c1bac7e9a29430ab231f)
Shinwoo Kim [Mon, 2 May 2022 07:56:31 +0000 (16:56 +0900)]
Send 'GestureDetected' with a resource id
The resource id is unique value in the entire system.
It will be used to get a window under the x,y position.
It will be very correct in the multi-window case instead of
tracking window extents and its stack.
Change-Id: I03f75470b4eea7316f76eab21ba87b6b449c5662
Lukasz Oleksak [Fri, 11 Feb 2022 15:49:29 +0000 (16:49 +0100)]
Removal of dead code related to invalid_area_size
invalid_area_size.bottom and invalid_area_size.top are unsigned int so
the following conditions:
if (aconfig->conf->gesture.invalid_area_size.top < 0)
if (aconfig->conf->gesture.invalid_area_size.bottom < 0)
are allways false.
Change-Id: I499c92e62fb3ef9f747c405b4408c2d6ecda0fa6
Shinwoo Kim [Thu, 27 Jan 2022 07:42:15 +0000 (16:42 +0900)]
Introduce invalid area
This patch absorbs the forked git commit below.
https://github.sec.samsung.net/Tizen-DA/e-mod-tizen-screen-reader/commit/
aae916a292f2c36f91812a5d3da87fbd04f49904
Above commit and forked git could be removed by this patch introducing
the invalid area.
To make invalid area have size, we need following change.
e-tizen-data/default/config/tizen-mobile/module.screen_reader.accessibility.src
group "Screen_Reader_Accessibility_Config" struct {
value "gesture.quickpanel_area_size" uint: 40;
value "gesture.longpress_timeout" float: 0.4;
+ value "gesture.invalid_area_size.top" uint: 70;
+ value "gesture.invalid_area_size.bottom" uint: 50;
}
Change-Id: I2995ec5356993c430ec6ff072dcba8dcc7bab1aa
Shinwoo Kim [Wed, 2 Dec 2020 07:10:01 +0000 (16:10 +0900)]
Handle Quickpanel
There are different type of quickpanel as below
- E_QUICKPANEL_TYPE_SYSTEM_DEFAULT
- E_QUICKPANEL_TYPE_CONTEXT_MENU
- E_QUICKPANEL_TYPE_APPS_MENU
Thf FHUB AllApps is quickpanel type applcation and
it is DALi application which does not support AT-SPI.
So if the AllApps is on top, then screen-reader should NOT
consume 'GestureDetected' signal.
Refer to follwoing for more cases;
- https://github.sec.samsung.net/TizenNativeUI/Graphics/issues/1281
So screen-reader module needs to notify quickpanel state.
Change-Id: I832624873370ba47c693c5e8de9bb34a3c63be7e
Artur Świgoń [Tue, 1 Sep 2020 13:50:27 +0000 (15:50 +0200)]
Create global context structure
Change-Id: Ied639a8421db9aa4ad565f4da27996fafaf028b1
Artur Świgoń [Tue, 1 Sep 2020 12:52:30 +0000 (14:52 +0200)]
Encapsulate '_e_mod_config' global variable
Change-Id: Ib45cc4d5345ed9d9f49ab851b3eab32ed7b493cd
Artur Świgoń [Tue, 1 Sep 2020 11:37:19 +0000 (13:37 +0200)]
Make non-global top-level variables static
Change-Id: Ief69383e2de9b2730fea748fe5823ddb0f5b368b
Artur Świgoń [Tue, 1 Sep 2020 10:18:56 +0000 (12:18 +0200)]
Encapsulate '_eina_log_dom' global variable
This is a similar approach to how 'errno' is implemented in most (thread-aware)
C standard libraries.
Change-Id: Ie1efa3a18e5999822db631689c3686cfbae6ff32
Prasoon Singh [Tue, 30 Jun 2020 09:47:26 +0000 (15:17 +0530)]
[e-mod-tizen-screen-reader] Emit hover events of ONGOING state in interval of 200ms
On hover, gesture update is sent continously which degrades
performance. Screen Reader is bombarded with continous unneccesary
updates about hover which causes performance issues for feature like
scroll audio feedback. Limiting hover events to 200ms intervals helps
to fix this.
Change-Id: I0f9e546d099b0eca8e3dfef033f8fbfadc4c3376
Signed-off-by: Prasoon Singh <prasoon.16@samsung.com>
(cherry picked from commit
25e6aa0df955a290b10363257bed3379ecfbd763)
Shinwoo Kim [Mon, 15 Jun 2020 11:12:54 +0000 (20:12 +0900)]
e_mod_main: follow e20 policy using e_dbus_conn
There is a policy of enlightenment using e_dbus_conn.
And there is a request to follow this policy. That's it.
Change-Id: I5a659cbc39e713ff5b20275f931820fa9feef9dd
Artur Świgoń [Fri, 29 May 2020 14:51:52 +0000 (16:51 +0200)]
Handle mouse pointer movement when using screen-reader
This patch depends on a commit in Enlightenment:
- e_pointer: change cursor moving APIs to E_API
- Change-Id: I104fe415d96e95740c921170a2f609f89f9ef34e
Change-Id: I8622f1f36308012276ee5c3087986d77d116da6e
Artur Świgoń [Fri, 29 May 2020 14:51:52 +0000 (16:51 +0200)]
Do not consume mouse event if using mouse pointer
This patch fixes a bug where the mouse pointer becomes frozen when
screen reader is turned on.
Change-Id: If09e04fd881c3808ce353317e71e7ecd31fea3a5
Jongmin Lee [Wed, 6 May 2020 00:45:35 +0000 (09:45 +0900)]
e_mod_screen_reader_gestures: fix dereference null return value
Change-Id: Ie23500c8795e95f9d9ab11817acb9721d0665ae2
Shilpa Singh [Fri, 10 Apr 2020 12:48:22 +0000 (18:18 +0530)]
Screen-reader: Two finger move gesture sensitivity increased as its
difficult to scroll, flick with two fingers currently.
PLM fixes: P200407-01580, P200311-04050
Signed-off-by: Prasoon Singh <prasoon.16@samsung.com>
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
Change-Id: I6f3b8f810523476176e759ee18085bd18def5128
Prasoon Singh [Wed, 8 Apr 2020 07:50:51 +0000 (13:20 +0530)]
[e-mod-tizen-screen-reader] Reduce the timeout threshhold of flick to scroll
As mouse move is emitted only if difference between down and move
event time is greater that 100ms. Due to which when flick is done
scrolling could not start. Only if drag is done scrolling starts.
Change-Id: I4fdd294ebaca579438a288b0348af8fd6132bad1
Signed-off-by: Prasoon Singh <prasoon.16@samsung.com>
(cherry picked from commit
bd6f28fddbc4daa87d2a76681518bde3be14f11a)
Prasoon Singh [Mon, 24 Feb 2020 05:31:39 +0000 (11:01 +0530)]
[e-mod-tizen-screen-reader] Make opening QP easier by emiting events when touched upon
QP area.
For easier opening of QP, needs to emit mouse move events directly. Only
checking in horizontal direction is not enough, as second finger always out of QP
area. So, checking if y cordinate of fingers if lying in QP area in vertical
direction makes more sense.
Change-Id: I935bba628bf05b2f29788a61ca4c6a643b8928da
Signed-off-by: Prasoon Singh <prasoon.16@samsung.com>
(cherry picked from commit
b5276ad51c0c457f998976b47fba667f9a0cab02)
Lukasz Oleksak [Tue, 18 Feb 2020 10:12:58 +0000 (10:12 +0000)]
Merge "deregistering vconf value change callback on module shutdown" into tizen
Lukasz Oleksak [Tue, 18 Feb 2020 08:08:02 +0000 (09:08 +0100)]
deregistering vconf value change callback on module shutdown
Change-Id: Ie1e4595aa3870119b5bf56df8cffd8e00a6983fc
Lukasz Oleksak [Fri, 27 Sep 2019 14:12:02 +0000 (14:12 +0000)]
Merge "[e-mod-tizen-screen-reader] Abort flick gesture when mouse up comes with (0,0) coordinate" into tizen
Lukasz Oleksak [Fri, 27 Sep 2019 14:10:26 +0000 (14:10 +0000)]
Merge "[e-mod-tizen-screen-reader] Propogate multi device mouse down and up for two finger double tap n hold" into tizen
Prasoon Singh [Mon, 1 Jul 2019 14:37:40 +0000 (20:07 +0530)]
[e-mod-tizen-screen-reader] Propogate multi device mouse down and up for two finger double tap n hold
Change-Id: I5469a27ec8b11499226cd06f0f63040b06ea9e35
Signed-off-by: Prasoon Singh <prasoon.16@samsung.com>
Prasoon Singh [Wed, 25 Sep 2019 10:28:14 +0000 (15:58 +0530)]
[e-mod-tizen-screen-reader] Update timestamp before sending hover event.
Hover sent when flick_to_scroll is true does not have correct timestamp.
Change-Id: Ib062dd02283e139b1359e0890f3f8bb3a9630e13
Signed-off-by: Prasoon Singh <prasoon.16@samsung.com>
Prasoon Singh [Wed, 25 Sep 2019 09:41:58 +0000 (15:11 +0530)]
[e-mod-tizen-screen-reader] Abort flick gesture when mouse up comes with (0,0) coordinate
In touch bezel devices when down is generated and up happens on touch bezel, mouse up with (0,0)
cordinate is sent. Due to which length threshold is fulfilled and flick gesture comes.
Change-Id: I0f634c052a4a0f394dcf92243f23e8e75f69f46d
Signed-off-by: Prasoon Singh <prasoon.16@samsung.com>
Lukasz Oleksak [Thu, 29 Aug 2019 08:07:27 +0000 (08:07 +0000)]
Merge "Make hover gestures near edges easier to perform" into tizen
Lukasz Wlazly [Wed, 26 Jun 2019 13:45:04 +0000 (15:45 +0200)]
Make hover gestures near edges easier to perform
Change-Id: I84c539d8dabe77d7a3f4062f74b7f9cf2ea4cbd1
Lukasz Wlazly [Mon, 29 Jul 2019 07:36:31 +0000 (09:36 +0200)]
Check pointers after malloc operations
Change-Id: Iea7c54dcb90972a684db884d0c996c302716d96b
Lukasz Wlazly [Tue, 23 Jul 2019 12:32:08 +0000 (14:32 +0200)]
Change behavior of e_accessibility_conf_init
Problems with loading configuration file
("module.screen_reader.accessibility") will not cause e_mod_main to fail
anymore.
In case of configuration file problems default values will be loaded.
Change-Id: If61d00c6b419ba22863e3a741dd3e97d45f856f1
Gwanglim Lee [Mon, 22 Jul 2019 12:10:25 +0000 (21:10 +0900)]
Removed the code that calls e_modapi_shutdown directly from the module.
e_modapi_xxx functions will be called by the enlightenment not by the module.
Change-Id: I5c8ae7d0cbe70cb8bb958e7561dd6cca5eb643aa
YoungGun Chun [Thu, 18 Jul 2019 08:09:08 +0000 (17:09 +0900)]
module.accessibility config name is overlap.
Need change module.accessibility config name.
Delete overlap config: module.accessibility
New create config: module.screen_reader.accessibility
Modiffy config group name: Screen_Reader_Accessibility
Change-Id: I21690f482012c35b8a2ec1e005b56aafbcc77d12
Lukasz Wlazly [Tue, 9 Jul 2019 07:35:40 +0000 (09:35 +0200)]
Fix invalid device pointer in DispatchGestureEvent
Change-Id: I937b336be11de4c0e3058dc67059ff8107435f08
Lukasz Wlazly [Wed, 3 Jul 2019 08:06:12 +0000 (10:06 +0200)]
Add DispatchRotaryEvent to DBus interface
Change-Id: I863b36f96d950ebde097bf77414b89a23d6e7c1a
Oskar Chodowicz [Mon, 19 Nov 2018 17:35:42 +0000 (18:35 +0100)]
Customizable forwarding of gestures directly to app.
This commit provides mechanism that allows app developer to request
delivery of particular gestures directly to application and by-passing
screen-reader.
The list of gesture is sent from application to screen-reader as ATSPI
attribute.
Then screen-reader forwards this list (using DBus interface,
AppGestureSupport) to e-mod which decides how to route detected
gestures.
Change-Id: I49e87a5c78ed39ac917deeade8b2f954c5bb6b9d
Prasoon Singh [Thu, 16 May 2019 10:12:04 +0000 (15:42 +0530)]
[e-mod-tizen-screen-reader] Use two finger longpress timeout value for two finger hover gesture
Change-Id: I7d70445ed79170d2c2eee08a0a90d9a84d466b7d
Signed-off-by: Prasoon Singh <prasoon.16@samsung.com>
Lukasz Wlazly [Thu, 16 May 2019 06:20:40 +0000 (08:20 +0200)]
DispatchDragEvent improvement
This patch modifies signature and implementation of DBus method
"DispatchDragEvent" so gesture can be performed with multiple pointers
Change-Id: Id91f5e4c20fd9c1477f78d6c9018668aef8b1c76
Prasoon Singh [Mon, 22 Apr 2019 09:02:57 +0000 (14:32 +0530)]
[e-mod-tizen-screen-reader] Config values which are check for two finger scroll are not actually added.
Change-Id: Ib028ecebc35ae4f31d96665c3a6d45429ad83bd9
Signed-off-by: Prasoon Singh <prasoon.16@samsung.com>
ch.jeong47 [Wed, 30 Jan 2019 08:08:31 +0000 (17:08 +0900)]
[4.0][Pulse][e-mod-tizen-screen-reader] Not invoke gesture callback on zoom mode.
[Model] Common
[BinType] AP
[Customer] OPEN
[Issue#] Not invoke gesture callback on zoom mode.
[Request] UX
[Occurrence Version] N/A
[Problem] Not invoke gesture callback on zoom mode.
[Cause & Measure] Not invoke gesture callback on zoom mode.
[Team] UIFW
[Developer] chulheon jeong(ch.jeong47@samsung.com)
[Solution company] Samsung
[Change Type] fix
Change-Id: I549a655a141243d4300a118f34c6266bc1ca989d
Signed-off-by: ch.jeong47 <ch.jeong47@samsung.com>
Signed-off-by: JunsuChoi <jsuya.choi@samsung.com>
Lukasz Wlazly [Tue, 16 Oct 2018 13:48:11 +0000 (15:48 +0200)]
[Fix] touch event unpair issue
This patch resolve issue when ECORE_EVENT_MOUSE_BUTTON_UP
doesn't come to other registered ecore event filters
Change-Id: I7c8a763d0eafb524e218293440458bd1ed2746ec
Lukasz Wlazly [Fri, 28 Sep 2018 12:31:09 +0000 (14:31 +0200)]
Fix "undefined reference" error
This patches changes function name, so it matches its prototype.
Change-Id: I3f41fc31961b31bf7abd24c020bea63caa753768
Oskar Chodowicz [Fri, 10 Aug 2018 10:13:05 +0000 (12:13 +0200)]
Add accessibility configuration with eet
Change-Id: I8a4a2491f2bb3cb46b7756b90532c5e73fb2cb70
Lukasz Wlazly [Fri, 13 Jul 2018 11:13:24 +0000 (13:13 +0200)]
Add filtering of events when US menu is shown
Universal Switch needs information about mouse events
when its contextual menu is shown. Because it does not
receive any events directly e-mod sends them through DBus.
This patch also renames some functions.
Change-Id: I081043f10b3fa8c24d9a1dbb06a721013ae69f51
Jongmin Lee [Thu, 19 Apr 2018 23:31:21 +0000 (08:31 +0900)]
Add exception handling in case of memory allocation fails
Change-Id: I05bdd0d15f8c71330f79e6939e0c742f3a165d96
Lukasz Wlazly [Thu, 8 Feb 2018 13:59:57 +0000 (14:59 +0100)]
Dispatching key events
E-mod can dispatch key events via dbus method call.
This approach enables synchronous dispatching key ecore events.
Change-Id: I7fb11d4eb93ed1bec71da6dd38dfb427ffcafc3d
Lukasz Wlazly [Fri, 2 Feb 2018 11:46:47 +0000 (12:46 +0100)]
Refactor in dispatching gesture events
1. Error messages are more descriptive.
2. Refactor of transform_coordinates and correct_coordinates functions
Change-Id: I7a2e4e3d23070581bcbcaea6a223c1f318cb41ee
Lukasz Wlazly [Thu, 1 Feb 2018 14:01:40 +0000 (15:01 +0100)]
Add transformation of coordinates
When screen is rotated coordinates used in DispatchDragEvent
and DispatchPinchEvent are transformed to new orientation
Change-Id: I4f58567a6989c0daec9fc7a0ed322276aa29382b
Pawel Kurowski [Tue, 19 Dec 2017 21:52:09 +0000 (22:52 +0100)]
Refactor of e_dispatch_gesture_event.c
Change-Id: If40691685f0552da31b168c1c940ee445500ea4e
Lukasz Wlazly [Mon, 18 Dec 2017 13:05:19 +0000 (14:05 +0100)]
Pinch gesture with parameters
Pinch gesture enables both "zoom in" and "zoom out" functionality.
Because of generic pinch and drag gestures other functionalities
are needless.
Change-Id: I9bc42ffed9d14f1616784f806379805f3154531d
Shinwoo Kim [Wed, 20 Dec 2017 08:11:37 +0000 (17:11 +0900)]
Make e_dispatch_gesture_event work again
It is not possible the root reason why e_dispatch_gesture_event does not work.
This patch set is following what e-mod-tizen-devicemgr does.
The _e_input_devmgr_generate_touch_event generates touch event using ee_win.
Change-Id: I552bf94b590ff29ed1e660e4ce7a3de9bbdb1f01
Lukasz Wlazly [Wed, 13 Dec 2017 12:38:14 +0000 (13:38 +0100)]
Send reply when drag gesture is finished
Reply messages are sent when all events are placed in ecore queue
not just after parsing arguments
Change-Id: Id72543e11400e1392dffcf824465c628d8c8d3ed
Shinwoo Kim [Fri, 8 Dec 2017 08:24:15 +0000 (17:24 +0900)]
Update e_screensaver before consuming touch event
There was an issue that the screen saver works during user interaction. It is
becuase that screen reader module uses ecore event filter, and consumes touch
event. So the e_screensaver did not get the touch event.
This patch set is using e_screensaver_notidle function to inform e_screensaver
about touch event before screen reader consumes touch event.
Change-Id: If47a61b765030641a526adc84030387905d3db6c
Pawel Kurowski [Tue, 12 Dec 2017 12:09:46 +0000 (13:09 +0100)]
Implementation of dispatch rotation event functionality.
Change-Id: I8a306ec61faa15a7443b9f517b04742d7c380b59
Lukasz Wlazly [Thu, 7 Dec 2017 07:02:11 +0000 (08:02 +0100)]
Fix for dispatching drag event
Add guard during execution of drag event.
This will prevent from crashing when another drag event is being started
during previous is being executed.
Change-Id: I65b92023c9811eb17a3099758b882dcf5b8d3e6e
Lukasz Wlazly [Thu, 30 Nov 2017 12:28:04 +0000 (13:28 +0100)]
"Touch, hold and drag" gesture implementation
Change-Id: Ic086968b0326106ac8656a7977c79619c1a62fd1
Lukasz Wlazly [Tue, 7 Nov 2017 13:22:23 +0000 (14:22 +0100)]
Drag gesture implementation
New dbus method which allows to dispatch drag gesture
from one point to another in defined number of steps
Change-Id: I42b29c1f0cb1943c9c4f13bfc6908416597e5406
Lukasz Wlazly [Wed, 18 Oct 2017 13:36:40 +0000 (15:36 +0200)]
Add BackButtonInterceptionEnabled informing about pressing back button
Change-Id: Id18de1a60f4c1a5d4d2b251c78110a1fc9d0298b
JunsuChoi [Fri, 13 Oct 2017 06:11:23 +0000 (15:11 +0900)]
Remove unnecessary overwriting code
Change-Id: I3203e062c7159e059ba534930fd0f80317f29ff2
junsu choi [Wed, 11 Oct 2017 08:10:55 +0000 (08:10 +0000)]
Merge "Use delta value for the "Drag & drop" gesture" into tizen
Lukasz Wlazly [Wed, 4 Oct 2017 09:19:22 +0000 (11:19 +0200)]
Add interception of key event
Module can intercept key events and send information
about them via dbus
Change-Id: I5e5f56ac3467e6bc7b22b224339f0c3d82e85b4b
Shinwoo Kim [Wed, 20 Sep 2017 12:00:25 +0000 (21:00 +0900)]
Use delta value for the "Drag & drop" gesture
If there is a highlighted object, the "Drag & drop" gesture uses the geometry
value of the highlighted object.
But the geometry value was used only for 'mouse button down' event,
and was not used for 'move' event.
So we are using delta value which is difference between highlighted object
geometry value and 1 finger touch point on the screen for the "Drag & drop"
gesture.
Change-Id: Icfa9879850c58e941799e97fcef74149f53404b7
Lukasz Wlazly [Thu, 31 Aug 2017 13:48:25 +0000 (15:48 +0200)]
Adding method and signals used by Universal-Switch
This patch adds ScreenSwitchProviderEnabled method to eldbus API provided by the module.
The method enables/disables ecore event filter capturing mouse events from user.
Information about captured event is sent by eldbus signals to universal-switch.
Because of added filter particular device id is set in gestures created by module itself.
Change-Id: I7fa8389a9604b64f0f9068a508d74a4f33aed249
Shinwoo Kim [Thu, 16 Mar 2017 08:02:15 +0000 (17:02 +0900)]
Support API eext_gesture_event_dispatch
This patch set make eext_guesture_event_dispatch of platform/core/uifw/efl-ext
work(https://review.tizen.org/gerrit/#/c/127914/).
Change-Id: I64a804d39ba351912a90ba1e4f00faad77d1523a
Shinwoo Kim [Thu, 15 Dec 2016 05:17:48 +0000 (14:17 +0900)]
Add "ObjectNeedsScrollGesture" method
The screen-reader module changes x,y information of 2 fingers hover gesture
if highlight object needs it.
Application side could use this feature setting attribute as below:
- elm_atspi_accessible_attribute_append(btn, "gesture_required", "scroll");
This patch set depends on:
https://review.tizen.org/gerrit/#/c/142105/ (elementary)
https://review.tizen.org/gerrit/#/c/142108/ (screen-reader)
Change-Id: I0312a748af5bb514dc085f97c5e1ee7f7acad5a5
Shinwoo Kim [Wed, 2 Aug 2017 03:18:47 +0000 (12:18 +0900)]
Make reliable module
E_NEW could return NULL.
So screen-reader module is checking return value of E_NEW before using it.
Change-Id: I755ec02a5a56ff98946d569bb41f3db63d58d6c6
Shinwoo Kim [Wed, 2 Aug 2017 03:04:19 +0000 (12:04 +0900)]
Remove identical branch
Change-Id: I5df69444ffdb4d5cea499f4c0ee04ad078b4f3ac
Shinwoo Kim [Tue, 18 Jul 2017 07:28:23 +0000 (16:28 +0900)]
Remove memory leak possibility
Change-Id: I9c9ebb825c5a93a82e840e3ba14dd67684e75dc4
Shinwoo Kim [Tue, 4 Jul 2017 23:00:41 +0000 (08:00 +0900)]
Check vconf value at init time
The _elm_atspi_bridge_init is moved to elm_run from elm_init because of
security issue.
The at-spi-bus-launcher is launched by D-Bus activation.
The "org.a11y.Bus" which is used for the D-Bus activation would be used after
the elm_run is called.
The at-spi-bus-launcher launches screen-reader AT client.
The screen-reader AT client requests that screen-reader WM module works.
Before this point, the user input is not consumed by screen-reader WM module.
So it is possible to control the first appliction (home-screen) by user input.
[Vconf Dependency]
The enlightenment already has dependency on vconf as below.
So this patch set does NOT need more library loading time which could cause
the late launching time issue.
sh-3.2# cat /proc/313/maps | grep vconf
b5f2e000-
b5f32000 r-xp
00000000 b3:1a 6053 /usr/lib/libvconf.so.0.3.1
b5f32000-
b5f41000 ---p
00004000 b3:1a 6053 /usr/lib/libvconf.so.0.3.1
b5f41000-
b5f42000 rw-p
00003000 b3:1a 6053 /usr/lib/libvconf.so.0.3.1
Change-Id: I0278a67e018d666325a93fb37e7eb66c95647e64
Shinwoo Kim [Fri, 31 Mar 2017 10:20:25 +0000 (19:20 +0900)]
Support selection mode
Double tap & hold with two fingers to enter the Selection mode.
If the text input filed is changed to selection mode, then we do not use two
fingers to scroll. The two fingers gesture is used as below:
- 2 fingers flick down: select all
- 2 fingers flick up: copy
- 2 fingers flick left: cut
- 2 fingers flick right: paste
Change-Id: Iede0729340f352249e1f489005b66f2bc4247b37
Needs: https://review.tizen.org/gerrit/#/c/122452/
Shinwoo Kim [Wed, 29 Mar 2017 11:17:05 +0000 (20:17 +0900)]
Emit 2 fingers double tap and hold gesture
The "2 fingers double tap and hold" gesture will work to change between
selection and edit mdoe.
Change-Id: I0ec772d429f406971ee27d5949c6a160693094d8
Shinwoo Kim [Mon, 6 Mar 2017 11:45:22 +0000 (20:45 +0900)]
Not init sub module if it is inited already.
The screen-reader is enabled again without disabled,
if the screen-reader is terminated abnormally, and launched again by at-spi-bus-launcher.
Change-Id: Ic4f7ee446f741325c3e0073a17ebad0e609d1d8a
Woochan Lee [Tue, 25 Apr 2017 12:07:57 +0000 (21:07 +0900)]
Using %license macro to install license file instead of using manual command.
Change-Id: Ifc6b663e13b0613183b0c86ce7efdb93ed28c1d0
Shinwoo Kim [Mon, 6 Mar 2017 08:24:31 +0000 (17:24 +0900)]
Merge remote-tracking branch 'origin/tizen_3.0' into tizen
Shinwoo Kim [Thu, 2 Mar 2017 09:29:21 +0000 (18:29 +0900)]
Remove ecore-wayland dependency
It is improper that the Enlightenment (Window Manager) module uses ecore_wayland API (client side API).
This is recommendation of window manager team.
Change-Id: Id8bb0e6989aab489192077634e2821ae3c4804db
Shinwoo Kim [Thu, 2 Mar 2017 07:05:43 +0000 (16:05 +0900)]
Add link flag of ecore-wayland
Loading module is failed because of following error.
/usr/lib/enlightenment/modules/e-mod-tizen-screen-reader/linux-gnueabi-armv7l-ver-autocannoli-0.20/module.so: undefined symbol: ecore_wl_shutdown
It seems that ecore-wayland dependency is removed by https://review.tizen.org/gerrit/#/c/115433/
Change-Id: I8a19ef87e337c898f1431bc7df27523d165aaf17
Prasoon Singh [Fri, 6 Jan 2017 13:23:33 +0000 (18:53 +0530)]
Fix wrong down coordinate of 2nd finger
The 2nd finger coordinate was same with 1st finger coordinate.
Change-Id: I2b896f50f2b723b8f25a33bdbd9c1453e1eb0e99
JunsuChoi [Fri, 30 Dec 2016 06:32:11 +0000 (15:32 +0900)]
Add null check for when get window angle
add null check before using e_zone_current_get's result variable.
when get window angle
Change-Id: Ief734dfb94e74c0e7e535b69ea0014e0431e470f
Prasoon Singh [Fri, 6 Jan 2017 13:23:33 +0000 (18:53 +0530)]
Fix wrong down coordinate of 2nd finger
The 2nd finger coordinate was same with 1st finger coordinate.
Change-Id: I2b896f50f2b723b8f25a33bdbd9c1453e1eb0e99
JunsuChoi [Fri, 30 Dec 2016 06:32:11 +0000 (15:32 +0900)]
Add null check for when get window angle
add null check before using e_zone_current_get's result variable.
when get window angle
Change-Id: Ief734dfb94e74c0e7e535b69ea0014e0431e470f
Shinwoo Kim [Mon, 26 Dec 2016 02:11:49 +0000 (11:11 +0900)]
Check window angle before sending gesture event
The top e_client could not take care the angle of device.
So checking window angle at module initialization time is not proper.
This commit will check window angle before sending gesture event.
Change-Id: I36ce00431f2101bf51b3ade6cfa91442264faaba
Shinwoo Kim [Mon, 26 Dec 2016 02:11:49 +0000 (11:11 +0900)]
Check window angle before sending gesture event
The top e_client could not take care the angle of device.
So checking window angle at module initialization time is not proper.
This commit will check window angle before sending gesture event.
Change-Id: I36ce00431f2101bf51b3ade6cfa91442264faaba
Shinwoo Kim [Mon, 14 Nov 2016 11:30:10 +0000 (20:30 +0900)]
[1 finger tap and hold] should use highlighted object information.
- In case of rotated device, the coordinate should be changed properly.
- If 1 finger tap is aborted, the highlighted object information comes from screen reader AT-client.
We need almost 1 sec between the tap timeout and the hover timeout. (heuristic value)
Change-Id: I080fbc521d763ff56a29c90e635222923e94a43d
Shinwoo Kim [Mon, 14 Nov 2016 11:30:10 +0000 (20:30 +0900)]
[1 finger tap and hold] should use highlighted object information.
- In case of rotated device, the coordinate should be changed properly.
- If 1 finger tap is aborted, the highlighted object information comes from screen reader AT-client.
We need almost 1 sec between the tap timeout and the hover timeout. (heuristic value)
Change-Id: I080fbc521d763ff56a29c90e635222923e94a43d
Shinwoo Kim [Wed, 26 Oct 2016 13:05:34 +0000 (22:05 +0900)]
[config] reduce 1 finger hover long press timeout value
Change-Id: I875dbaa457c0c6312f786f7271efc61e4c791b62
Shinwoo Kim [Fri, 21 Oct 2016 05:42:36 +0000 (14:42 +0900)]
Make quickpanel open/close easy by sending mouse down event directly at top/bottom area without timeout
Change-Id: Iadec916bea8a2669ef18e660a3b842b467dbd891
Shinwoo Kim [Thu, 20 Oct 2016 11:12:20 +0000 (20:12 +0900)]
Initialization angle - CE product could have 90 by default
Change-Id: I8d75eb0208f19b70912a6c5d3730f8a8cbb13816
Shinwoo Kim [Sat, 15 Oct 2016 10:13:54 +0000 (19:13 +0900)]
[feature] check if application window supports screen reader
If an window has attribute as below, the screen reader does not support the window.
elm_atspi_accessible_attribute_append(ad->win, "screen_reader_support", "no");
Change-Id: I10ee0814fba30a419d0f256fd8647b8274d76834
Prasoon Singh [Tue, 4 Oct 2016 11:23:01 +0000 (04:23 -0700)]
Merge "[e-mod-tizen-screen-reader] Making is_slider variable false on mouse up" into tizen
Prasoon Singh [Thu, 29 Sep 2016 15:39:07 +0000 (21:09 +0530)]
[e-mod-screen-reader] Check direction of flick based on angle
Change-Id: I81f905d11ba87f4dc0e5af45954f7ece003a91df
Prasoon Singh [Thu, 29 Sep 2016 11:14:30 +0000 (16:44 +0530)]
[e-mod-tizen-screen-reader] Making is_slider variable false on mouse up
Change-Id: I47c7cc6eaa0a70b08e8bb6ce471460974fece910
Shinwoo Kim [Thu, 29 Sep 2016 09:51:23 +0000 (02:51 -0700)]
Merge "Do not emit 1 finger hover finished event, if drag started" into tizen
Shinwoo Kim [Tue, 27 Sep 2016 12:20:31 +0000 (21:20 +0900)]
Do not emit 1 finger hover finished event, if drag started
Change-Id: I4cbb25a57504b78ed89026e4e251d72e80bc4d22
Prasoon Singh [Mon, 26 Sep 2016 12:09:59 +0000 (17:39 +0530)]
Release mouse move only if hover longpress timeout happens.
Change-Id: Ice1ce5ee83da133d4774d059c8ed382ec4d5b217