platform/core/accessibility/universal-switch.git
6 years agoAll scroll related actions in gestures menu are now repeatable 09/158209/4
Pawel Kurowski [Mon, 30 Oct 2017 10:10:21 +0000 (11:10 +0100)]
All scroll related actions in gestures menu are now repeatable

Change-Id: I0555973fdeedcde95d267d229ceda1bac159a470

6 years agoFix changing menu on VCONF_KEY_AUTO_SCROLL_ENABLED change 77/158077/3
Pawel Kurowski [Fri, 27 Oct 2017 15:45:25 +0000 (17:45 +0200)]
Fix changing menu on VCONF_KEY_AUTO_SCROLL_ENABLED change

Since MenuItem Change does not automaticly restart whole menu,
we need callback on VCONF_KEY_AUTO_SCROLL_ENABLED

Change-Id: I27639fb3a5251a0664b0f8e9d8a362bf831ac15d

6 years agoBugfix: Repeatable menu items 86/158386/3
Paweł Stawicki [Tue, 31 Oct 2017 12:08:14 +0000 (13:08 +0100)]
Bugfix: Repeatable menu items

Change-Id: I35f2e7a0d2510f40ebaa987b63a0dc0ae2cf2697

6 years agoToggleBoolVconfKeyActivity template 75/158075/2
Pawel Kurowski [Fri, 27 Oct 2017 15:30:19 +0000 (17:30 +0200)]
ToggleBoolVconfKeyActivity template

Refactor:
ToggleVoiceFeedbackEnabledActivity
ToggleSoundFeedbackEnabledActivity

Add:
ToggleAutoScrollEnabledActivity

Change-Id: I53b5046af34162f0f98671d5ecac96ea0fe420bc

6 years agoActivities templates allowing setting specific value to int type vconf keys. 87/157887/9
Pawel Kurowski [Thu, 26 Oct 2017 18:31:51 +0000 (20:31 +0200)]
Activities templates allowing setting specific value to int type vconf keys.

Refactor ChangeScanningMethod, also renamed to ChangeScanningMethodActivity
Add:
+ ChangeTextEditionModeActivity
+ SetCharacterGranularityActivity
+ SetWordGranularityActivity
+ SetLineGranularityActivity
+ SetParagraphGranularityActivity

Set...Activity needs new functionality in UI,
Select Activity allow returning to the previous menu after sending activity change request

Change-Id: I27d591e948b33efc43cde4c42b33f3773266f222

6 years agoUsage of gtest package instead of source code directly 68/158268/6
Lukasz Wlazly [Mon, 30 Oct 2017 13:00:59 +0000 (14:00 +0100)]
Usage of gtest package instead of source code directly

Because none of gtest libraries contains "main" function
it must be provided in every test file

Change-Id: I45cc2f83933b02cf0ddecce65d5492ae3e124077

6 years agoSelectAllActivity 30/158030/4
Pawel Kurowski [Fri, 27 Oct 2017 09:40:06 +0000 (11:40 +0200)]
SelectAllActivity

Minor refactor in ClipboardActivity

Change-Id: I351c1809e9ca14de268937293aff78a98d5e5dae

6 years agoAtspi wrapper extension 82/157882/8
Pawel Kurowski [Thu, 26 Oct 2017 15:32:09 +0000 (17:32 +0200)]
Atspi wrapper extension

Text and editable text interfaces allows to get/set text selection, and perform copy, cut, paste on entry.

Change-Id: If64ed2d307c533addd762f939f284507167b335e

6 years agoClipboard Activities 65/157865/4
Pawel Kurowski [Thu, 26 Oct 2017 14:00:11 +0000 (16:00 +0200)]
Clipboard Activities

CopyActivity, CutActivity, PasteActivity

Change-Id: I9111b303bdc595dbe7627aed96178bd1f88a71e5

6 years agoAdd 'getopt' to parse arguments in project-tool 10/157310/13
Lukasz Wlazly [Tue, 24 Oct 2017 07:04:57 +0000 (09:04 +0200)]
Add 'getopt' to parse arguments in project-tool

Thank to usage of 'getopt' default arguments for --build and --install
can be set

1. Thank to usage of 'getopt' default arguments for --build and --install can be set.
2. Google Test framework is kept as tar ball in repository instead of downloading it on build

Change-Id: Ie4cb6c41e803f841040b7fe595e2ee3994cdd602

6 years agoUIElement: use UniversalSwitch::getAtspi() instead of Singleton<Atspi>::instance() 83/157883/1
Paweł Stawicki [Thu, 26 Oct 2017 16:06:39 +0000 (18:06 +0200)]
UIElement: use UniversalSwitch::getAtspi() instead of Singleton<Atspi>::instance()

Change-Id: I02fa3c96f2e9fb9b2d4a9f35d2b56dec6ab985a5

6 years agoAdd missing ATSPI_ROLE_PANEL to ignored roles 41/157841/1
Radoslaw Cybulski [Thu, 26 Oct 2017 11:21:43 +0000 (13:21 +0200)]
Add missing ATSPI_ROLE_PANEL to ignored roles

Change-Id: Ic1c857174fa6d3c84622a59230b9b3f1ca23fa23

6 years agoEscape frame using EventGenerator in RowScanner 41/157441/2
Pawel Kurowski [Tue, 24 Oct 2017 11:47:16 +0000 (13:47 +0200)]
Escape frame using EventGenerator in RowScanner

Change-Id: I8106c8a1567f4e323f163f50bf16b5d9cb395041

6 years ago[Fix] Subject detach 52/157152/5
Pawel Kurowski [Mon, 23 Oct 2017 12:58:09 +0000 (14:58 +0200)]
[Fix] Subject detach

1.Patch allows removing nullptr observer from observers vector. This change resolves issue of detaching UIActivity from UIElements observers.

2. Detach SwitchManager from ActivityChangeRequest observers.

Change-Id: Idf3eb767793e5b15dde9b9b2ecbe5d5e8ae556b2

6 years agoStatic code analysis 49/157149/2
Lukasz Wlazly [Mon, 23 Oct 2017 12:36:34 +0000 (14:36 +0200)]
Static code analysis

Change-Id: I062963ce901c7dc9940241008930980cf26f4c24

6 years agoFix for invalid error message in project tool 06/157006/1
Lukasz Wlazly [Mon, 23 Oct 2017 06:12:09 +0000 (08:12 +0200)]
Fix for invalid error message in project tool

Change-Id: I668c66af16793506a16afba90e89e536977116c0

6 years agoClean Emod event grabbing on Universal Switch start 15/156915/6
Pawel Kurowski [Fri, 20 Oct 2017 12:41:41 +0000 (14:41 +0200)]
Clean Emod event grabbing on Universal Switch start

Event grabbing will be initialized when needed.
Hiding 'set' functions from interface.

Change-Id: I2f2b3eceba01ebfc998147ea678990ab49e117b9

6 years agoFix rpm path in project-tool 25/156925/1
Pawel Kurowski [Fri, 20 Oct 2017 14:32:40 +0000 (16:32 +0200)]
Fix rpm path in project-tool

Change-Id: I2bb4ef259ae5bc2b221f2d6d02840389a7c6698b

6 years agoRemove Google Test from repository 30/156230/9
Lukasz Wlazly [Tue, 17 Oct 2017 11:23:30 +0000 (13:23 +0200)]
Remove Google Test from repository

Google Test sources can be easily downloaded from official repository.
Repository get configuration file for gbs and script for building
and deploying application

Change-Id: I875f68dd1a7335f67013be2a4da6dcd55afe1144

6 years agoNavigation implementation without external dependencies 91/154591/26
Radoslaw Cybulski [Tue, 10 Oct 2017 08:36:08 +0000 (10:36 +0200)]
Navigation implementation without external dependencies

This patch implements navigation without adding any new dependencies to
third party at-spi libraries. Everything is calculated using native
at-spi calls.

Change-Id: Ie536f014a6baa781046e16026e87b6200d5609b4

6 years agoImplements screen-reader alike navigation for Universal Switch 12/148312/15
Radoslaw Cybulski [Mon, 28 Aug 2017 15:15:01 +0000 (17:15 +0200)]
Implements screen-reader alike navigation for Universal Switch

Change-Id: I6db525ec2c9aab25822d4a72b47a258294c455e1

6 years agoHandling back button in SelectActivity 03/156703/2
Pawel Kurowski [Thu, 19 Oct 2017 10:56:39 +0000 (12:56 +0200)]
Handling back button in SelectActivity

Change-Id: I31977a539f8a7451ce1fe7ef664a10408600c91d

6 years agoRemove unnecessary constant from SelectActivity 72/155972/2
Pawel Kurowski [Mon, 16 Oct 2017 18:21:45 +0000 (20:21 +0200)]
Remove unnecessary constant from SelectActivity

Previously gengrid size was  expanded by POPUP_GENGRID_SIZE_FACTOR,
to avoid scaling errors, now UI uses Evas hints properly.

Method divideAndRoundOut was removed, as not needed anymore.

I've decided to leave return value in addItemsToMenu method.

Change-Id: Ia334b7cf079330fbe337220137299e6e7875121c

6 years ago[Fix] This patch resolves removing incorrect Activity from stack. 93/153993/9
Pawel Kurowski [Wed, 4 Oct 2017 16:10:13 +0000 (18:10 +0200)]
[Fix] This patch resolves removing incorrect Activity from stack.

void process() method in Activity.
void markAsCompleted() method in Activity.

Change-Id: I1de7f9a266b32919add25607e3a0ee55b5909d5c

6 years agoBring to front main window on contextChanged event. 64/155964/2
Paweł Stawicki [Mon, 16 Oct 2017 14:53:38 +0000 (16:53 +0200)]
Bring to front main window on contextChanged event.

Display Main window above "power off" popup.

Change-Id: Ibe5282938ef9dafa7cf419fd2ef9ed54ad4b2d38

6 years agoDelete needless directory from tests 55/156155/2
Lukasz Wlazly [Tue, 17 Oct 2017 09:21:25 +0000 (11:21 +0200)]
Delete needless directory from tests

Change-Id: I40c565974689d0b2732389e5d7d0a22f2293c75e

6 years agoTimer in ScreenshotActivity 54/154154/7
Pawel Kurowski [Sun, 8 Oct 2017 13:51:30 +0000 (15:51 +0200)]
Timer in ScreenshotActivity

According to enlightenment documentation evas_object_del
"marks the given Evas object obj for deletion (when Evas will free its memory). Objects are not freed immediately"
Without additional delay for render cycles, screenshot could capture context menu.

ScreenshotActivity now uses Unique_ptr to handle memory.

Change-Id: Ib703d178fb2c71e4de7a6485fd87d184039a1b1c

6 years agoRemove callbacks set on hardware back button 90/154390/8
Lukasz Wlazly [Tue, 10 Oct 2017 06:57:36 +0000 (08:57 +0200)]
Remove callbacks set on hardware back button

Universal Switch does not receive notifications about pressing
hardware buttons directly from ecore

Change-Id: I803c394d67f55227f7d5391b2167dae17cc4d668

6 years agoPowerKeyMenuActivity 58/155258/3
Pawel Kurowski [Thu, 12 Oct 2017 13:01:03 +0000 (15:01 +0200)]
PowerKeyMenuActivity

Change-Id: I407978e21449b3d643e5e59665bacf446f877d53

6 years agoScreenshotActivity 53/154153/4
Pawel Kurowski [Sun, 8 Oct 2017 13:34:59 +0000 (15:34 +0200)]
ScreenshotActivity

Change-Id: I40cf461f00ed1d6572c625fdd0935e74293b7346

6 years agoStartSettingsActivity 56/154156/4
Pawel Kurowski [Sun, 8 Oct 2017 18:23:25 +0000 (20:23 +0200)]
StartSettingsActivity

Change-Id: I8ae66bc73adc5bd997c2b545021d518e17d54469

6 years agoAdd NextElementActivity, PrevElementActivity 99/154099/5
Paweł Stawicki [Fri, 6 Oct 2017 11:19:22 +0000 (13:19 +0200)]
Add NextElementActivity, PrevElementActivity

Change-Id: Id96518134339d95a7b7e1648928bfba9298611bc

6 years agoRefactor of tests suits 81/154081/1
Lukasz Wlazly [Fri, 6 Oct 2017 09:52:14 +0000 (11:52 +0200)]
Refactor of tests suits

1. Change all "asserts" into "expects".
2. Usage of ecore::Timer in ConfigurationTests

Change-Id: I0cce58be91ba38c88cf095978ecfc748bff449c3

6 years agoIntegration of AccessoriesSwitchProvider with e-mod-tizen-screen-reader 47/154047/6
Lukasz Wlazly [Thu, 5 Oct 2017 07:50:10 +0000 (09:50 +0200)]
Integration of AccessoriesSwitchProvider with e-mod-tizen-screen-reader

AccessoriesSwitchProvider receives notificaton about pressed keys
from enlightenment module via dbus instead of ecore events.

Change-Id: Iffba114b5dfd370d4d890b82118a1b35f32ae940

6 years agoBugfix: RowScanner resumes scanning from beginning 48/154048/3
Paweł Stawicki [Thu, 5 Oct 2017 13:00:48 +0000 (15:00 +0200)]
Bugfix: RowScanner resumes scanning from beginning

Change-Id: I775a9b6dad9c847759196839df216ee8f2a71f2f

6 years agoIncreaseVolumeActivity & DecreaseVolumeActivity 43/154043/2
Pawel Kurowski [Thu, 5 Oct 2017 12:12:11 +0000 (14:12 +0200)]
IncreaseVolumeActivity & DecreaseVolumeActivity

Change-Id: I9714ed1ddd55ff356503b37c30f6bee0fd27bd0d

6 years agoFix for invalid signal deregistration 30/154030/1
Radoslaw Cybulski [Thu, 5 Oct 2017 09:58:19 +0000 (11:58 +0200)]
Fix for invalid signal deregistration

Add signal hanlder unregister call, when pointer to callback function
is being destroyed.

Change-Id: I379f988a2589bd06fc95297a3ed6df32deefdc3b

6 years agoMenuMap renamed to MenuBuilder 95/153895/5
Pawel Kurowski [Mon, 2 Oct 2017 18:00:18 +0000 (20:00 +0200)]
MenuMap renamed to MenuBuilder

Change-Id: I83d0c4d2ebfea89f2588bb185f9fb568c942b77a

6 years agoMenuBuilder will return vector of MenuItems in same order as they will be displayed 54/153854/8
Pawel Kurowski [Sun, 1 Oct 2017 17:49:13 +0000 (19:49 +0200)]
MenuBuilder will return vector of MenuItems in same order as they will be displayed

Limited number of copy constructor calls.

Change-Id: I6fb0c906fe60c1f2000901f49c48e3d021b4b1eb

6 years agoHide Implementation of MenuItem and Menu Map 53/153853/5
Pawel Kurowski [Sun, 1 Oct 2017 16:58:02 +0000 (18:58 +0200)]
Hide Implementation of MenuItem and Menu Map

Change-Id: I326557cb810af741d7c3fdab922b50fe38d4311c

6 years agoRowScanner: doubled sound fix on "repeatable" menu item 75/153975/1
Paweł Stawicki [Wed, 4 Oct 2017 12:29:44 +0000 (14:29 +0200)]
RowScanner: doubled sound fix on "repeatable" menu item

Change-Id: I3ddcc3b3d3ff2e814e94faaf8387d288cdc7f9fe

6 years agoAllow scanning continuation in RowScanner after scannign completion 14/153414/4
Mariusz Wachowicz [Wed, 27 Sep 2017 10:30:35 +0000 (12:30 +0200)]
Allow scanning continuation in RowScanner after scannign completion

If after scanning completion context change do not take place
scanner will do not start however there is possibility to use
that feature with startAutoscanningWithContinuation().
That method will use previous scanner and will continue scanning.

Change-Id: I1864a2b09fd9fcd13a7dfd01102cd4b081811b3f

6 years agoRepeatable actions in context menu 45/152645/8
Pawel Kurowski [Fri, 29 Sep 2017 10:06:32 +0000 (12:06 +0200)]
Repeatable actions in context menu

Repeatable activity can be selected multiple times,
without closing context menu.

Change-Id: Icfaac8f7bde849987c502a4d885f29b394cc0b8f

6 years agoMenuItem - SelectActivity communication via Subject/Observer mechanism 37/152637/12
Pawel Kurowski [Tue, 26 Sep 2017 15:47:16 +0000 (17:47 +0200)]
MenuItem - SelectActivity communication via Subject/Observer mechanism

SelectActivity fixes:
+ AUTO_TAP_WAITING_PERIOD_KEY is a key of type "double", handle is kept in SelectActivity
+ small changes of UI can be done without refreshing whole Menu
+ problematic pointers to std::stack elements was removed

MenuItem:
+ subclass VconfIntTypeMenuItem and VconfBoolTypeMenuItem

Change-Id: Ie2e639e4d6a6811b0541f00e3eb25802b1294893

6 years agoTests: add terminate() method to tests eventloop 66/153866/3
Paweł Stawicki [Mon, 2 Oct 2017 11:27:05 +0000 (13:27 +0200)]
Tests: add terminate() method to tests eventloop

Fixes not deterministic VconfImplTests fail

Change-Id: I24c89a4233a54b222a924a8835fa32dceaee5dc0

6 years agoReduced number of arguments in Activities templates 69/153869/3
Pawel Kurowski [Mon, 2 Oct 2017 13:22:34 +0000 (15:22 +0200)]
Reduced number of arguments in Activities templates

Change-Id: I799603c6395c04974e12866a0121f1cb12e5c65c

6 years agoVolumeControlActivity 52/153852/4
Pawel Kurowski [Sun, 1 Oct 2017 14:12:59 +0000 (16:12 +0200)]
VolumeControlActivity

Template and six Activities to set volume value.

Change-Id: I87b5c5ab1eb151fced8066ee764c52012c2ebe5f

6 years agoSet main window of Universal-Switch unfocused 68/153868/4
Lukasz Wlazly [Mon, 2 Oct 2017 13:12:38 +0000 (15:12 +0200)]
Set main window of Universal-Switch unfocused

Universal-Switch will not intercept any events from hardware buttons

Change-Id: I2cc506f8447d2eafbc02f8ad455872ff20de4ad8

6 years agoIntroduction of VconfTypeMenuItem 13/152013/8
Pawel Kurowski [Sun, 24 Sep 2017 13:59:37 +0000 (15:59 +0200)]
Introduction of VconfTypeMenuItem

MenuBuilder refactor.
MenuBuilderTests moved to ui-scenarios.

Change-Id: I4a577bf831ee117c0ec64a5a527110f6ae58bc4d

6 years agoQuickpanel & QuickpanelActivities 01/152001/9
Pawel Kurowski [Fri, 22 Sep 2017 15:23:41 +0000 (17:23 +0200)]
Quickpanel & QuickpanelActivities

Menu Builder now uses Window, causing tests to fail.
This patch does not resolve quickpanel scanning/capturing switches problem.

Change-Id: Ia878609d17cf0ffc237a84aa59e2f0fbed63ff26

6 years agoAdd server side dbus wrappers and tests 98/150198/14
Radoslaw Cybulski [Fri, 8 Sep 2017 08:48:31 +0000 (10:48 +0200)]
Add server side dbus wrappers and tests

Add dbus wrappers for server-side functionality (publishing interfaces,
emiting signals and so on). Add tests for all functionality.

Change-Id: I3f5ddcdc72f372b708ae99f15d0c9b63c9264f55

6 years agoFix for mishandling disjoined Rectangles in Rectangle::intersect 42/152542/3
Radoslaw Cybulski [Tue, 26 Sep 2017 09:43:49 +0000 (11:43 +0200)]
Fix for mishandling disjoined Rectangles in Rectangle::intersect

Disjoined rectangles wont produce negate width and height values -
instead width and height are bound to minimum value 0.

Change-Id: I93402a1f9705fa1b98fce151f141496d56ae37cf

6 years agoAdd activities simulating keys pressing 94/151194/11
Lukasz Wlazly [Wed, 20 Sep 2017 07:31:57 +0000 (09:31 +0200)]
Add activities simulating keys pressing

Patch provides template class ready to simulate any key press
with multiplicity parameter

Change-Id: Idaa212b0f58b602ab8f0a5e171ad53c5fb88723d

6 years agoUsage of efl_util to generate key events 50/152950/7
Lukasz Wlazly [Tue, 26 Sep 2017 15:04:09 +0000 (17:04 +0200)]
Usage of efl_util to generate key events

Change-Id: I14f6e8b22dee2fc1b15679911dbf86caa0afccdd

6 years agoAdd generateDocs.sh script runnable without gbs 31/153031/3
Paweł Stawicki [Wed, 27 Sep 2017 17:03:58 +0000 (19:03 +0200)]
Add generateDocs.sh script runnable without gbs

Change-Id: Ibfd78440f7aa442fa27ee775d1444be1cf7a0a77

6 years agoAdd "zoom in" and "zoom out" activities 76/153276/1
Lukasz Wlazly [Thu, 28 Sep 2017 07:19:02 +0000 (09:19 +0200)]
Add "zoom in" and "zoom out" activities

Change-Id: I60d4b7c67c989eb9989fb7a0729b1d25e805ec4c

6 years agoGenerate rpm package with doxygen documentation 85/151085/3
Paweł Stawicki [Tue, 19 Sep 2017 15:50:29 +0000 (17:50 +0200)]
Generate rpm package with doxygen documentation

running gbs build with docs:
  gbs build <user config> --define "_with_docs 1"

Change-Id: Ica3d3834488539b78479c70b9a072f792256c1f4

6 years agoIntroduce dashed line state in PointScanner 66/151366/7
Mariusz Wachowicz [Tue, 19 Sep 2017 08:01:54 +0000 (10:01 +0200)]
Introduce dashed line state in PointScanner

Horizontal dashed line allow to revert to beginning of scanning
is case of missclick or inacurate selection

Change-Id: Iaa051cea74e7903f886a19e9b29ade0fb3d1fb27

6 years agoIncreaseValueActivity & DecreaseValueActivity 20/137920/16
Mariusz Wachowicz [Fri, 7 Jul 2017 07:54:23 +0000 (09:54 +0200)]
IncreaseValueActivity & DecreaseValueActivity

patch adds possibility to change value of
any widget with AtspiValueInterface

change value activity forwards task to
methods increase and decrease implemented in class UIElement
which in turn make asynchronous dbus calls to
methods from AtspiValueInterface

Change-Id: I4da3925e2dd37bf0c2033e54d24a91e9d55bd4bf

6 years agoAdd EscapeFrameEnabled parameter 93/150793/8
Mariusz Wachowicz [Mon, 18 Sep 2017 09:22:46 +0000 (11:22 +0200)]
Add EscapeFrameEnabled parameter

Allow rollback in row scanner state, after selecting dashed
frame in row stage, scanner state will be reset to starting state

Feauture is enabled only when EscapeFrameEnabled atribute
is added and it's value is set to true

Change-Id: I5149771137be44f083583a3184ecba1acec87ae6

6 years agoMove drawing methodes to evas namespace in Geometry 65/151365/12
Mariusz Wachowicz [Wed, 20 Sep 2017 13:08:48 +0000 (15:08 +0200)]
Move drawing methodes to evas namespace in Geometry

Change-Id: I814247f9e1ba006330f9b90b2130d4f0c7122242

6 years agoAdd enum class as result of timer callback method 97/151697/5
Lukasz Wlazly [Thu, 21 Sep 2017 13:54:34 +0000 (15:54 +0200)]
Add enum class as result of timer callback method

Change-Id: I4099240b0cf3a24e6eed4b504943a4c415d7a449

6 years agoFix for invalid Optional constructor 16/152316/2
Radoslaw Cybulski [Mon, 25 Sep 2017 15:27:09 +0000 (17:27 +0200)]
Fix for invalid Optional constructor

Fix for invalid Optional constructor, where Optional<int> a = {} would cause object a to be initialized with 0
value, rather than empty Optional.

Change-Id: I84c0f4fcd5da2bca77cde411c016068e3df6e605

6 years agoShow Optional implementation flaw 35/152235/2
Mariusz Wachowicz [Mon, 25 Sep 2017 09:59:33 +0000 (11:59 +0200)]
Show Optional implementation flaw

Optional do not call proper contructor when initializing
with default constructor

Change-Id: I225b0569a529039d26d3afda8732eea1c666f5be

6 years agoAppControlActivity template refactor 36/151936/4
Pawel Kurowski [Fri, 22 Sep 2017 10:21:37 +0000 (12:21 +0200)]
AppControlActivity template refactor

Registration of derived classes

Change-Id: I469cad7648a1a9d172d21865da319951c5067e86

6 years agoAdding all swipe-like activities 08/146608/7
Lukasz Wlazly [Mon, 18 Sep 2017 12:34:45 +0000 (14:34 +0200)]
Adding all swipe-like activities

To execute this activities following patch is required: https://review.tizen.org/gerrit/#/c/127916/

Change-Id: I759946d0e29354bce68deb9a73d22fd9080b9ada

6 years agoMouse events source moved from window to enlightenment module 71/147471/6
Lukasz Wlazly [Fri, 1 Sep 2017 12:17:13 +0000 (14:17 +0200)]
Mouse events source moved from window to enlightenment module

Class Window is used only for drawing, input region is always disabled.
Mouse events are sent as signals from enlightenment module for accessibility projects.

Change-Id: Id5d40e212f2f009a413e6ab086e32e0d700f3851

6 years agoAdd EventGenerator class to ecore namespace 80/151280/5
Lukasz Wlazly [Wed, 20 Sep 2017 09:51:39 +0000 (11:51 +0200)]
Add EventGenerator class to ecore namespace

Change-Id: I62e0f73655a17be89dc250eab388d43aac1b4002

6 years agoReimplement activate and getAtribute methodes 35/146435/10
Mariusz Wachowicz [Mon, 28 Aug 2017 14:12:04 +0000 (16:12 +0200)]
Reimplement activate and getAtribute methodes

methodes now use asynchronous mode

Change-Id: I89e9c2ed03c2d001269ef65880697f2d93acef14

6 years agoImplement feedback voice 85/150385/12
Mariusz Wachowicz [Wed, 13 Sep 2017 11:43:31 +0000 (13:43 +0200)]
Implement feedback voice

Add ToggleVoiceFeedbackEnabledActivity class
responsible for changing VConf keys

Add TextToSpeech class responsible for communication
with tts-engine

Change-Id: Icea8ecce2fe72396c0dc4084a866ea9f2499f443

6 years agoBugfix for Implement ecore::Timer in RowScanner 73/151673/3
Mariusz Wachowicz [Thu, 21 Sep 2017 11:59:44 +0000 (13:59 +0200)]
Bugfix for Implement ecore::Timer in RowScanner

callback was renewed with wrong time

Change-Id: I9af125af11334fdbaa0c138be667baf0e5735755

6 years agoAdd activities connected with calls 63/151063/3
Lukasz Wlazly [Tue, 19 Sep 2017 13:36:15 +0000 (15:36 +0200)]
Add activities connected with calls

This patch also adds special header file to keep parameters
requiered by dbus connection

Change-Id: I84de4abf8f918a99c4559a536d2daf73935c538a

6 years agoImplement ecore::Timer in RowScanner 78/150778/6
Mariusz Wachowicz [Tue, 12 Sep 2017 13:39:38 +0000 (15:39 +0200)]
Implement ecore::Timer in RowScanner

Change-Id: If05ded706375785d249a9d0ef135538f48cf3c5f

6 years agoExtension of Ecore Timer wrapper 52/150952/3
Lukasz Wlazly [Tue, 19 Sep 2017 07:10:56 +0000 (09:10 +0200)]
Extension of Ecore Timer wrapper

After this change:
    1. Timer can be reset during callback invokation
        Supported are changes of both time value and callback method
    2. Timer accept collection of time values,
        thus first cycle will last time of first value and so on.
        Last value will be kept when all values before would be used.

Change-Id: I46d34a73b180cf4f50ba161e43f467ac554a9fac

6 years agoAppControlActivity template 03/150803/3
Pawel Kurowski [Mon, 18 Sep 2017 13:21:35 +0000 (15:21 +0200)]
AppControlActivity template

Two new bindable activities - StartHomeScreenActivity, and StartTaskManagerActivity
One non-bindable activity - StartLockScreenActivity.

Change-Id: I3b978eaeec88fbc30310c571e9639ef07596963a

6 years agoFix for invalid marshalling of AtspiAccessible objects 44/151044/6
Radoslaw Cybulski [Tue, 19 Sep 2017 11:58:35 +0000 (13:58 +0200)]
Fix for invalid marshalling of AtspiAccessible objects

This change temporary requires following patches:
  https://review.tizen.org/gerrit/#/c/143845 (at-spi2-core)
  https://review.tizen.org/gerrit/#/c/143847 (elementary)
  https://review.tizen.org/gerrit/#/c/143623 (e-mod-tizen-screen-reader)
  https://review.tizen.org/gerrit/#/c/142317 (screen-reader)
Screen-reader has to be started before universal-switch.

Requirement for those patches is temporary and will be removed soon.

Change-Id: I3fe8e0fa4224ef5f03ecd2c1054e5ac2b383a040

6 years agoAdd asynchronous at-spi calls 73/146273/18
Radoslaw Cybulski [Fri, 25 Aug 2017 14:36:47 +0000 (16:36 +0200)]
Add asynchronous at-spi calls

Universal-switch displays it's own user interface. When querrying at-spi
properties of an object it's possible for universal-switch to inquire
about it's own user interface objects. When using synchronous calls it
leads to no-reply error, as thread, which should produce an answer is
stuck on waiting for it. This patch adds supports for sending
asynchronous dbus calls, which will be used to implement at-spi
asynchronous calls.

Change-Id: Icc88cea9416a004536d221a99d1c2769d763150b

6 years agoSet vconf keys on package installation 04/150204/5
Paweł Stawicki [Thu, 14 Sep 2017 17:47:24 +0000 (19:47 +0200)]
Set vconf keys on package installation

commit ensures that univeral-switch is disabled
on installation

Change-Id: If8e2e963b6a312e53ce211e77d240a9fb0ac34e2

6 years agoMinor refactor 31/149931/2
Pawel Kurowski [Wed, 13 Sep 2017 14:27:11 +0000 (16:27 +0200)]
Minor refactor

Removing wrappers for Observer template.
Fix missing debugs, and Null checks in SelectActivity.

Change-Id: If7b4d843e63b4bebed9696be2660228178430365

6 years agoAdd wrapper for Ecore_Event_Handler 09/149509/5
Lukasz Wlazly [Tue, 12 Sep 2017 08:24:55 +0000 (10:24 +0200)]
Add wrapper for Ecore_Event_Handler

Change-Id: Idf84070293dbdbcac3918e41fc5ce91d916cf1b3

6 years agoAdd ChangeSpeedAutoScanActivity 86/149486/7
Mariusz Wachowicz [Tue, 12 Sep 2017 09:12:06 +0000 (11:12 +0200)]
Add ChangeSpeedAutoScanActivity

Implements SpeedUpAutoScanActivity and SlowDownAutoScanActivity classes
responsibe for changing speed of scanning in row scanning method

Change-Id: I8c13d391c466efe7742c233ebdd6e2d117e8a9f4

6 years agoFix separation between VConfKey in production and tests 79/149879/2
Mariusz Wachowicz [Wed, 13 Sep 2017 10:56:29 +0000 (12:56 +0200)]
Fix separation between VConfKey in production and tests

Change-Id: I9ad4cd364795cfd9c54a4e4f2a262cc8b4d7c1ef

6 years agoAdding scanning coordinates to UIElement 06/147706/10
Lukasz Wlazly [Tue, 5 Sep 2017 09:17:10 +0000 (11:17 +0200)]
Adding scanning coordinates to UIElement

This commit:
    1. Adds to UIElement coordinates where scanning happend
        because some activities require such data

    2. Allows UIElement to not contain any AtspiAccessible object

Change-Id: Ibaa3f9faff4750938c24eb4297c1daab96765917

6 years agofix coding rule violation 54/149854/2
Mariusz Wachowicz [Wed, 13 Sep 2017 08:25:24 +0000 (10:25 +0200)]
fix coding rule violation

Change-Id: I8b665af379c53ef3919783eafa561bfad2efe84f

6 years agoRefactor scanner classes with use of geometry classes 64/148264/8
Mariusz Wachowicz [Wed, 6 Sep 2017 14:41:57 +0000 (16:41 +0200)]
Refactor scanner classes with use of geometry classes

addidtionally implements geometric intersection
between two rectangles

Change-Id: I377faccc1ec91d44eb2dc08e4a8212bcb0f9bf7f

6 years agoAdd wrapper for Ecore_Timer 42/148742/7
Lukasz Wlazly [Fri, 8 Sep 2017 10:42:07 +0000 (12:42 +0200)]
Add wrapper for Ecore_Timer

Wrapper simplifies usage of ecore timers.

Change-Id: Ibcb38e26abf1d38e555f0ec652f7f2bbecc0de61

6 years agoAdd Enable and Disable SoundFeedbackActivity 70/148370/5
Mariusz Wachowicz [Thu, 7 Sep 2017 12:33:46 +0000 (14:33 +0200)]
Add Enable and Disable SoundFeedbackActivity

activities change vconf key responsible for controling
universal-switch sound feedback

Change-Id: I0d93eb3fcaa85c7122da6a43e971c56840d9bdf9

6 years agoRefactor MenuBuilderTests 69/148369/7
Mariusz Wachowicz [Thu, 7 Sep 2017 14:05:34 +0000 (16:05 +0200)]
Refactor MenuBuilderTests

patch fixes expected order of menu items in Settings sub-menu
the valid order: Voice before Sound

patch removes overhead in test

tests are now executed with mocked set of keys

Change-Id: Ia4b4b1903e01e42105e7476e74df8db8f53bc3ba

6 years agoNullcheck on disable in ScreenSwitchProvider 88/149088/1
Lukasz Wlazly [Mon, 11 Sep 2017 11:38:13 +0000 (13:38 +0200)]
Nullcheck on disable in ScreenSwitchProvider

Change-Id: I22780155667503d218f1e1bf379b1004afa2ad38

6 years agoRemoving switches registration on app initialization 81/148081/2
Pawel Kurowski [Wed, 6 Sep 2017 14:06:12 +0000 (16:06 +0200)]
Removing switches registration on app initialization

Change-Id: I3c419e548ad0ab656b98f1bb677b3919a85d9b50

6 years agoChangeScanningMethodActivity 20/147020/4
Mariusz Wachowicz [Thu, 31 Aug 2017 12:31:08 +0000 (14:31 +0200)]
ChangeScanningMethodActivity

Add activity responsible for changing scanning method to next
available method. In order to prevent race condition between vconf key
update and scanner start form context change, delay in startAutoScanner
has been implemented

0a. SelectActivity is completed => ChangeScanningMethodActivity is invoked
0b. menu pop up disappear
0c. outer logic notice context change
1a. ChangeScanningMethod change vconf key responsible for
scanning method
1b. startAutoscanning from ScreenScannerManager is invoked
2. scanning properties cached value is
updated due to callback from vconf key change
3. context is reloaded and scanner is started with
updated scanning method

Change-Id: I8bfdf530cebd4eb5775a3c15f06502bb81873186

6 years agoRefactor in switch providers and interaction manager 08/148308/4
Lukasz Wlazly [Thu, 7 Sep 2017 08:25:08 +0000 (10:25 +0200)]
Refactor in switch providers and interaction manager

This commit:
    1. Moves functionality regarding catching ecore events from constructors
        to 'enable' and 'disable' methods in ScreenSwitchProvider and AccessoriesSwitchProvider
    2. Simplify events managing in AccessoriesSwitchProvider
    3. Changes usage of SwitchInteractionManager from singleton pattern to instance
        of template class Singleton

Change-Id: I909c30178c108346a96969ea0fc3367eb25ee5b7

6 years agoSelect activity will check UiElement atspi parameters only once 94/148094/4
Pawel Kurowski [Wed, 6 Sep 2017 18:13:58 +0000 (20:13 +0200)]
Select activity will check UiElement atspi parameters only once

Since realUiElement can't change during Select activity lifetime,
there is no need to call atspi functions each time.

Change-Id: Ia0442494592fbf7e94d6c9da1a4040612bdfd960

6 years agoBugfix: AccessoriesSwitchProvider losing key presses 92/147792/3
Paweł Stawicki [Tue, 5 Sep 2017 16:50:11 +0000 (18:50 +0200)]
Bugfix: AccessoriesSwitchProvider losing key presses

When AccessoriesSwitchProvider received keyDown, keyUp events
ocassionaly SwitchInteractionManager::minimalSwitchInteractionTimeCb timer
was not called even when minimalSwitchInteractionTime was set to 0.0f,
(interactionManager.stopInteraction(..) was called before the timer triggered)

Change-Id: I6c889ea542ccfc783a61497acbecdebeecfe1312

7 years agoAdd ChangeSoundProfileActivity class 63/147463/10
Mariusz Wachowicz [Thu, 31 Aug 2017 14:03:28 +0000 (16:03 +0200)]
Add ChangeSoundProfileActivity class

Sound profile (Sound, Vibrate, Mute) is changed by changing vconf keys
located in settings

business logic mimic logic implemented in:
https://review.tizen.org/gerrit/#/admin/projects/profile/mobile/apps/native/quickpanel
sound-profile.c @ 76 -> _set_sound_status

Change-Id: Id7eef8dbcf67d1aa44d92b0691dc41b1897c8478

7 years agoAdd name for window and popup 02/145502/5
Mariusz Wachowicz [Tue, 22 Aug 2017 13:13:19 +0000 (15:13 +0200)]
Add name for window and popup

window name added in order to satisfy navigation heuristics
IMPORTATNT: changes from this patch have to be removed after
reaching full functionality by navigation interface

Change-Id: If302cda75489f3a37e4be0ffc4d3e6ff8d62ebba

7 years agoAdd classes representing basic geometric concepts 73/147773/8
Lukasz Wlazly [Tue, 5 Sep 2017 12:56:33 +0000 (14:56 +0200)]
Add classes representing basic geometric concepts

This change provides three basic concepts:
    Point
    Size
    Rectangle

Change requires small refactor work in existing code

Change-Id: I78e16244b3607ad4281affa0045b46f8d6656465

7 years agoFix translation for select activity 87/147787/3
Mariusz Wachowicz [Tue, 5 Sep 2017 14:33:47 +0000 (16:33 +0200)]
Fix translation for select activity

Change-Id: Id169de3bcd6cec5491989759e645f1d67ba72a85

7 years agoAdd auto scan enabling and disabling activity 86/147786/5
Mariusz Wachowicz [Tue, 5 Sep 2017 09:12:02 +0000 (11:12 +0200)]
Add auto scan enabling and disabling activity

class changes bool key responsible for auto scan

Change-Id: Ib2bcc5c12c1bddd32f53621e9444fe134ac53f5c

7 years agoAdd bindable activity types 10/147510/5
Paweł Stawicki [Mon, 4 Sep 2017 17:02:57 +0000 (19:02 +0200)]
Add bindable activity types

Bindable activities is a sub-set of activities that can be mapped and triggered directly by switch.
It is used in Settings app in "add/update switch configuration" use case.
Not all activities are bindable, some of them can be triggered only via activity popup menu.

Change-Id: I45f4f625ca5cf0508fd5ca2122692ce9c1714066