platform/core/accessibility/universal-switch.git
7 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

7 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

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

Change-Id: I9714ed1ddd55ff356503b37c30f6bee0fd27bd0d

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 years agoFix redefinition of VCONF_KEY_FEEDBACK_VOICE_ENABLED 36/147736/1
Pawel Kurowski [Tue, 5 Sep 2017 10:34:28 +0000 (12:34 +0200)]
Fix redefinition of VCONF_KEY_FEEDBACK_VOICE_ENABLED

Change-Id: I8241ebaefd0fdab3d10a5d0d076eac0993a1eba9

7 years agoSynchronize vconf keys with settings 02/147502/3
Pawel Kurowski [Mon, 4 Sep 2017 13:47:40 +0000 (15:47 +0200)]
Synchronize vconf keys with settings

requires:
https://review.tizen.org/gerrit/#/c/147503/

Change-Id: I2d842fc4255b72d952ed4e2b919617893fd7c88b

7 years agoRegistrate callbacks for _ENABLED vconf keys 11/147211/3
Pawel Kurowski [Fri, 1 Sep 2017 11:08:42 +0000 (13:08 +0200)]
Registrate callbacks for _ENABLED vconf keys

According to settings, data stored in vconf as _VALUE should not be used,
when user set them as disabled.

Change-Id: I002306003266ee9b3e22ef78e001a2149f383df6

7 years agoAdd runTests.sh to utils 85/147485/2
Paweł Stawicki [Mon, 4 Sep 2017 12:01:53 +0000 (14:01 +0200)]
Add runTests.sh to utils

Change-Id: I766286b21d27c7bdeab4a141ace63a74942747df

7 years agoFix bug in Optional copy / move constructor 48/147248/2
Radoslaw Cybulski [Fri, 1 Sep 2017 14:13:57 +0000 (16:13 +0200)]
Fix bug in Optional copy / move constructor

Both copy and move constructor of Optional would unconditionally
copy content of it's value, when in uninitialized state. Thus
copy / move constructor of type A would be called with garbage
data and probably crash.

Change-Id: Iacbd82c68b64698e51dccf7307cb615be4103852

7 years agoResizing of scanning area on signal 'ContextChanged' 41/146441/12
Mariusz Wachowicz [Mon, 21 Aug 2017 14:08:26 +0000 (16:08 +0200)]
Resizing of scanning area on signal 'ContextChanged'

feature will be used in keyboard point scanning
and voice capture UI

Change-Id: Ie733eb0d75634c7973a277d52a1e7a7c16f2dc05

7 years agoenable/disable atspi on active/passive mode 29/146829/4
Paweł Stawicki [Wed, 30 Aug 2017 17:30:22 +0000 (19:30 +0200)]
enable/disable atspi on active/passive mode

In passive mode (when universal-switch only runs a configruation api)
atspi will be turned off.

Change-Id: I27fa0c26dea9fccad8803896fefc745c35f3bf27

7 years agoadds sound volume control via vconf keys 57/146057/6
Mariusz Wachowicz [Thu, 24 Aug 2017 11:36:57 +0000 (13:36 +0200)]
adds sound volume control via vconf keys

Change-Id: Ia0f4fc09d135e1c95178c6b8c175ed5d61fa044d

7 years agoAdd passive/active mode to universal-switch 72/146272/6
Paweł Stawicki [Fri, 25 Aug 2017 13:20:16 +0000 (15:20 +0200)]
Add passive/active mode to universal-switch

Change-Id: Ib724da281dff0269fc7c63965a5bf930a5b26a3d

7 years agoAdd captureSwitch to DBusInterface 66/144966/6
Paweł Stawicki [Fri, 18 Aug 2017 17:16:15 +0000 (19:16 +0200)]
Add captureSwitch to DBusInterface

Change-Id: I34ac8777c45703642154908a9448c9f5831a814d

7 years agoVConf keys moved to one file 23/145523/9
Mariusz Wachowicz [Tue, 22 Aug 2017 14:20:26 +0000 (16:20 +0200)]
VConf keys moved to one file

Change-Id: Ic9d35221d7cc8ca745860ada250c3fb0c6b1e953

7 years agobug fix on context change 58/146058/1
Mariusz Wachowicz [Thu, 24 Aug 2017 16:27:38 +0000 (18:27 +0200)]
bug fix on context change

solves bug:
in case of not receiving context changed signal
allows use of default vconf scanning method
before: allowed was only PointScanner

Change-Id: I0f0e1d01cf733c93519994c8b66389aeced88001

7 years agoUpgrade of language standard to c++14 77/145977/3
Lukasz Wlazly [Thu, 24 Aug 2017 09:36:02 +0000 (11:36 +0200)]
Upgrade of language standard to c++14

C++14 features enabled

Change-Id: Ia8269ce6fa985194c0bc445c82cfb3f9d347ee30

7 years agoclass Window use singleton template 82/145682/2
Mariusz Wachowicz [Wed, 23 Aug 2017 08:56:53 +0000 (10:56 +0200)]
class Window use singleton template

Change-Id: Iadc820dfdda4df7756f0b9d622a2ef0d6c82f909

7 years agoadd sounds during scanning via RowScanner 61/144361/7
Mariusz Wachowicz [Thu, 10 Aug 2017 12:19:30 +0000 (14:19 +0200)]
add sounds during scanning via RowScanner

sound is played after context change and
after iteration to next element during traverse

Change-Id: Ie92ac393e3b2bafb8ef7350866bfa40d540a40a2

7 years agoclass Singleton refactored 62/144962/9
Mariusz Wachowicz [Fri, 18 Aug 2017 12:18:25 +0000 (14:18 +0200)]
class Singleton refactored

solves static initialization order fiasco

Change-Id: I909cd25305f8660ac3548126ebf65eec2d0421e5

7 years agoShowing popup when accessory was disconnected 25/144725/8
Lukasz Wlazly [Thu, 17 Aug 2017 08:38:23 +0000 (10:38 +0200)]
Showing popup when accessory was disconnected

If exists mapping between accessory and switch popup message
with proper statement is being shown.

Change-Id: I8ae3dc3f80703793898c301e9829900ab7b0f069

7 years agoAdd localized name/description to CameraSwitchProviders switches 52/143852/5
Paweł Stawicki [Fri, 11 Aug 2017 13:24:42 +0000 (15:24 +0200)]
Add localized name/description to CameraSwitchProviders switches

Change-Id: Id22442a8c459345c877a390e4d3b8be4afb4358a

7 years agosupport changing of scanning area size in PointScanner 69/142569/4
Mariusz Wachowicz [Fri, 4 Aug 2017 08:47:50 +0000 (10:47 +0200)]
support changing of scanning area size in PointScanner

patch adds methods allowing controll
of scanning area dimensions in PointScanner

TODO: add callback for changed area dimensions
caused for example by keyboard appearance

TODO: support change of screen orientation

Change-Id: I5abd21c201cbdd6ab2c0e40a70dec4616739658c

7 years agorefactor UIElement.cpp 88/144388/3
Mariusz Wachowicz [Wed, 16 Aug 2017 10:56:51 +0000 (12:56 +0200)]
refactor UIElement.cpp

refactors activate method in class UIElement

Change-Id: I0f64f8dab2177e855d09e48b7c04cfece5ca3cd9

7 years agorefactor CMakeList files 10/144310/4
Mariusz Wachowicz [Wed, 16 Aug 2017 07:57:08 +0000 (09:57 +0200)]
refactor CMakeList files

files added automatically

Change-Id: I4ebcc072147593b19981608409c4390fd70ca27b

7 years agomanifest installation 05/144605/1
Mariusz Wachowicz [Thu, 17 Aug 2017 08:07:34 +0000 (10:07 +0200)]
manifest installation

manifest files are also installed during
installation of .rpm files

Change-Id: Ie11283cf206fc4276ae54aec3e1b816ee42f6527

7 years agoTapActivity 07/137407/3
Mariusz Wachowicz [Wed, 5 Jul 2017 13:46:28 +0000 (15:46 +0200)]
TapActivity

Change-Id: Ia57c458a7eea8b1dc012a63026e20c5f0e1d4129

7 years agoRowScanner 79/136179/38
Mariusz Wachowicz [Mon, 26 Jun 2017 06:45:13 +0000 (08:45 +0200)]
RowScanner

RowScanner use communication via NavigationInterface to Navigator Shared Library

Note: function setLocalScanningMethod was deleted, functionality for forcing scanning method will be implemented via context changed callback

Requires:
1. (at-spi2-core) https://review.tizen.org/gerrit/143845
2. (e-mod-tizen-screen-reader) https://review.tizen.org/gerrit/143623/
3. (elementary) https://review.tizen.org/gerrit/143847
4. (screen-reader started) https://review.tizen.org/gerrit/143846

Change-Id: I15f26ac3e75e7dc5c389981e6aca5905bbac6098

7 years agoPreparing of CameraSwitchProvider with constructor only 79/143779/4
Lukasz Wlazly [Fri, 11 Aug 2017 08:28:01 +0000 (10:28 +0200)]
Preparing of CameraSwitchProvider with constructor only

Change-Id: Ibd721691f760828b432fe3c31e092621ef873e4e

7 years agoDBusInterface add/update SwitchConfigurationItem interface fix 95/143795/3
Paweł Stawicki [Fri, 11 Aug 2017 09:14:52 +0000 (11:14 +0200)]
DBusInterface add/update SwitchConfigurationItem interface fix

Change-Id: Id65e21cb84b2b669b33b365182c2a70aa43b2d93

7 years agoNavigationInterface 53/141753/10
Mariusz Wachowicz [Tue, 1 Aug 2017 09:12:55 +0000 (11:12 +0200)]
NavigationInterface

implement NavigationInterface required for RowScanner

requirements:
1. screen-reader (https://review.tizen.org/gerrit/#/c/142317/)
2. at-spi2-core (https://review.tizen.org/gerrit/#/c/143553/)

Change-Id: Ida0c358764b32160ed43ab7d723b8cd725c035cc

7 years agoRunning universal-switch-tests as regular tizen application 98/143098/6
Lukasz Wlazly [Tue, 8 Aug 2017 09:36:44 +0000 (11:36 +0200)]
Running universal-switch-tests as regular tizen application

1. All tests has been moved to separated rpm package
2. Tests has been divided into two groups:
    - tests without UI elements: they are being run as particular binary files
    - tests with UI elements: they are being run from org.tizen.universal-switch-tests application
3. FooTest will be replaced as soon as suitable test appears

Change-Id: Ie25fa1ad209e9ea905316925950bb1a7360bcb18

7 years agoMenu Builder now skips disabled items 33/143133/3
Pawel Kurowski [Tue, 8 Aug 2017 18:44:32 +0000 (20:44 +0200)]
Menu Builder now skips disabled items

Item can be disabled by vconf value.
Also, depending on vconf, special main menu can be reduced to normal.

Change-Id: Ifcbbd7bf74961485dfa15fc8cbf485d233ba526f

7 years agoSelectActivity 63/135663/26
Pawel Kurowski [Thu, 20 Jul 2017 14:47:01 +0000 (16:47 +0200)]
SelectActivity

Change-Id: I81449851b7a9012ba4efbc894f9fb3f11de58b9f

7 years agoFix in SwitchInteractionManager 18/141818/1
Lukasz Wlazly [Tue, 1 Aug 2017 11:59:39 +0000 (13:59 +0200)]
Fix in SwitchInteractionManager

This patch restores proper behavior in ScreenSwitchProvider when used manually.
The way tests are executed has been changed: key released is added to event loop
by timer with small delay

Change-Id: I9aeebcb2b6c05816389fd00e82bd2927c3520a21

7 years agoFix for ConfigurationTests and ActivityProcessingTests suits 14/141414/3
Lukasz Wlazly [Fri, 28 Jul 2017 10:19:11 +0000 (12:19 +0200)]
Fix for ConfigurationTests and ActivityProcessingTests suits

Architecture changes required modifications of way the integration tests are executed.

This patch:
    1. changes default values of properties in SwitchInteractionManager
    2. overrides 'detach' method of Subject in CompositeSwitchProvider
    3. adds some nullptr verifications
    4. introduces invokation of ecore main loop to tests what enables using ecore timers during them

Change-Id: Id2fbbba163117bf9c415639d96223c5f758182a5

7 years agoSingleton class refactor 65/140965/2
Lukasz Wlazly [Thu, 27 Jul 2017 08:49:32 +0000 (10:49 +0200)]
Singleton class refactor

Aim of this commits is to clarify ambiguities regarding usage of template classes:
SingletonBase, Singleton and MockableSingleton. Needless class has been removed.

Change-Id: I49baeb84b13a9ca7af0eea48c29b355fce6fe40c