platform/core/accessibility/universal-switch.git
6 years agoAdds support for executing batch file given in command line 52/164552/34
Radoslaw Cybulski [Tue, 19 Dec 2017 15:02:53 +0000 (16:02 +0100)]
Adds support for executing batch file given in command line

Change-Id: If7322e67dc39687b6d3a6eea65d60f1557dc328f

6 years agoMinor refactor of NavigationInterface 51/164551/31
Radoslaw Cybulski [Tue, 19 Dec 2017 14:58:37 +0000 (15:58 +0100)]
Minor refactor of NavigationInterface

Adds methods to receive current context element and current visible
root atspi object.
Removes dependency on Window object to retrieve screen size -
constructing Window object in batch mode was causing constant
navigation context changes.

Change-Id: I37851c7aaa8a6267060f63937b59222131b67394

6 years agoAdds missing functions to Atspi 50/164550/28
Radoslaw Cybulski [Tue, 19 Dec 2017 14:53:31 +0000 (15:53 +0100)]
Adds missing functions to Atspi

States and roles setter in Atspi::Match will now accept template based
iterators begin and end.
Adds Atspi::getScreenPosition synchronous version.

Change-Id: I35a941dc7ab5caf10bf96a594892f6102c7df352

6 years agoDBus calls will now optionally call notification callback 49/164549/26
Radoslaw Cybulski [Tue, 19 Dec 2017 14:50:34 +0000 (15:50 +0100)]
DBus calls will now optionally call notification callback

Adds support for notification callbacks to DBus wrapper. Once set
it will be called, when DBus wrapper calls any dbus function or
received a call.

Change-Id: Idcb0b777167cfef606b0d7df379406b3896234cd

6 years agoActivites usable from batch must be now marked 48/164548/22
Radoslaw Cybulski [Tue, 19 Dec 2017 14:45:48 +0000 (15:45 +0100)]
Activites usable from batch must be now marked

Activities, that are suuposed to be callable from batch test, must
override getRequiredNumberOfArgumentsIfAllowedInTesting method
and return number of expected arguments.

Change-Id: Iffeb1b4ee7576a11bf260a47e98748f422f94786

6 years agoAdds support for in operator 46/164546/20
Radoslaw Cybulski [Tue, 19 Dec 2017 14:34:12 +0000 (15:34 +0100)]
Adds support for in operator

Adds support for in operator, which returns true, if value is in given
collection. Works with vectors, sets and dicts.

Change-Id: Ied91f37e7ad1857c977cdba19074230902fc114b

6 years agoAdds support for - single value operator (negation) 45/164545/20
Radoslaw Cybulski [Tue, 19 Dec 2017 14:30:46 +0000 (15:30 +0100)]
Adds support for - single value operator (negation)

Adds support for - operator, which allows creating negative values.
Works only integer and double.

Change-Id: I0fa06ce5982b59947e8b8cff969f2db01c809666

6 years agoAdds support for vector's / string's array set / get operators 44/164544/20
Radoslaw Cybulski [Tue, 19 Dec 2017 14:23:24 +0000 (15:23 +0100)]
Adds support for vector's / string's array set / get operators

Adds support for accessing elements by index in string / vector values.
Both single indexes and dual (range - first inclusive, second
exclusive) versions are supported. You can do v[1] to get first element
of v, v[-1] to get last element of v (negative indexes are counted from
the end) and v[1:3] to get array including first and second element,
but not third.

Change-Id: I622d1c22a30f708007f0e8d27b4d9f3d5eb51b63

6 years agoAdds support for executing parsed batch test 43/164543/19
Radoslaw Cybulski [Tue, 19 Dec 2017 13:38:51 +0000 (14:38 +0100)]
Adds support for executing parsed batch test

Change-Id: I59aa25a4142b1ed331db78a7136603ca8ea48973

6 years agoAdd parsing support for batch execution 42/164542/17
Radoslaw Cybulski [Tue, 19 Dec 2017 13:26:10 +0000 (14:26 +0100)]
Add parsing support for batch execution

Adds parser, which will parse tokens generated from lexing batch source
file. Parser will output execution tree, where every element executes
some atomic operation.

Change-Id: I028c1a49bc9513bfa836b146a9294d8b72fadf73

6 years agoAdd lexer support for batch execution 41/164541/15
Radoslaw Cybulski [Tue, 19 Dec 2017 13:12:01 +0000 (14:12 +0100)]
Add lexer support for batch execution

Adds lexer, which will lex (tokenize) batch file into tokens.

Change-Id: I2b76b12b9eafd6c135b3094b13f5156d97429ce5

6 years agoParsing arguments in main function 30/162630/20
Lukasz Wlazly [Tue, 19 Dec 2017 12:34:52 +0000 (13:34 +0100)]
Parsing arguments in main function

Adds support to parse arguments from command line in main function.
Argument passing will be used in test instrumentation.

Change-Id: I109442f16270879fb84313df08742d9a6002c54b

6 years agoAdded callback to notify, that activity and it's direct side effects are done 66/163866/8
Radoslaw Cybulski [Wed, 13 Dec 2017 18:02:33 +0000 (19:02 +0100)]
Added callback to notify, that activity and it's direct side effects are done

Added callback functionality to all activities to notify, that
activity and all it's direct side effects is done. Used mostly for
batch processing. Note, that activity might report it's done before all
side effects complete, for example in case of tapping an icon on
homescreen application might complete launching long after activity
will report being done.

Change-Id: I8bec969bfbfe26097605ff030a65ba2c660c6e9a

6 years agoFix for bug in get***Interface family functions. 56/165856/3
Radoslaw Cybulski [Thu, 4 Jan 2018 10:19:25 +0000 (11:19 +0100)]
Fix for bug in get***Interface family functions.

Change-Id: I397df51c9d375cb2e39fa72579ab1f7463c76a23

6 years agoPointScanner slight refactor 94/163494/2
Radoslaw Cybulski [Mon, 11 Dec 2017 14:06:34 +0000 (15:06 +0100)]
PointScanner slight refactor

Minor refactor of point scanner to publish get at point functionality
as stand-alone static function.

Change-Id: I9db6befc71ccaf5d672c1db398470dde20fa8525

6 years agoRotateActivity 89/162989/6
Pawel Kurowski [Wed, 6 Dec 2017 18:54:41 +0000 (19:54 +0100)]
RotateActivity

Change-Id: I3605d0a2be96ef9a30b44e41236beba17d2499c6

6 years agoSupport for many different icons for menu item. 38/162838/6
Pawel Kurowski [Tue, 5 Dec 2017 13:07:07 +0000 (14:07 +0100)]
Support for many different icons for menu item.

Change-Id: I34c812d0eb98f8893487ebba9b216b846163e60a

6 years agoSupport for landscape mode. 88/162988/4
Pawel Kurowski [Wed, 6 Dec 2017 18:16:03 +0000 (19:16 +0100)]
Support for landscape mode.

Change-Id: Ib16cc0b433631d199f22589d4669374e5a123eb9

6 years agoTouchHoldThenDragActivity & TouchAndHoldActivity 48/162648/7
Pawel Kurowski [Mon, 4 Dec 2017 18:35:47 +0000 (19:35 +0100)]
TouchHoldThenDragActivity & TouchAndHoldActivity

Minor fix of CancelActivity

Change-Id: I587727c8732ce035f08f3326499e06e81e3b24c6

6 years agoGtest library is installed only with tests package 05/163105/2
Lukasz Wlazly [Thu, 7 Dec 2017 07:51:06 +0000 (08:51 +0100)]
Gtest library is installed only with tests package

Change-Id: Iaefa40d72f06a0c5967503a5cf1f9de9312f73c2

6 years agoRemove line using elm_config_all_flush 30/162830/1
Shinwoo Kim [Tue, 5 Dec 2017 12:30:17 +0000 (21:30 +0900)]
Remove line using elm_config_all_flush

The elm_config_all_flush makes all running application have same config value.
This API should be called by setting application such as elementary_config.

Change-Id: Icbf7b5d2b99798c6ce2cf8e91b45251a57e68954

6 years agoDrag functionality 41/159241/13
Radoslaw Cybulski [Tue, 7 Nov 2017 13:38:47 +0000 (14:38 +0100)]
Drag functionality

Calls e-mod-screen-reader DispatchDragEvent DBUS function.

Requires patch https://review.tizen.org/gerrit/#/c/159676

Change-Id: Ibfbcbcee05621c1a0f7558e0acab8136317e08d5

6 years agoMove to left/right page using custom swipe. 16/161316/18
Pawel Kurowski [Wed, 22 Nov 2017 18:50:12 +0000 (19:50 +0100)]
Move to left/right page using custom swipe.

Change-Id: I853ce733009ffbafb9ccccea75a64c9bae3eb682

6 years agoAdd support for homescreen, and keyboard menu. 20/161820/3
Pawel Kurowski [Mon, 27 Nov 2017 15:21:08 +0000 (16:21 +0100)]
Add support for homescreen, and keyboard menu.

Change-Id: I268b906b82b56267e63f53a3b08805ddb36b3bdf

6 years agoKeyboard handling in row scanner 03/161503/21
Radoslaw Cybulski [Thu, 23 Nov 2017 17:05:11 +0000 (18:05 +0100)]
Keyboard handling in row scanner

Minor refactor for row scanner / point scanner and navigation subsystem.
Now navigable elements are put in tree, without further distinction between
rows and items. Every tree level has it's own scanning direction (horizontal
or vertical). New navigation allows easy merging different trees together,
for example embedding keyboard or running more, than one application on screen,

Change-Id: I29a30f44c4d0f3eee2aa49f05facff65787364dd

6 years agoSound (SoundFeedback) class refactor 83/161683/4
Pawel Kurowski [Fri, 24 Nov 2017 19:44:20 +0000 (20:44 +0100)]
Sound (SoundFeedback) class refactor

sound object will be released in passive mode.

Change-Id: I101cba28f0df5accd25cab669984f45fbe311bc9

6 years agoFix regresion in TextToSpeech 82/161682/2
Pawel Kurowski [Fri, 24 Nov 2017 17:15:57 +0000 (18:15 +0100)]
Fix regresion in TextToSpeech

Change-Id: I884c2ff6dce0f7ad1ac6169c738e2c4ca31d1cc2

6 years agoRemove eldbus.hpp and refactor all it's uses 21/160921/1
Radoslaw Cybulski [Mon, 20 Nov 2017 16:36:59 +0000 (17:36 +0100)]
Remove eldbus.hpp and refactor all it's uses

All previous uses of eldbus.hpp functionality has been rewritten
to use new DBus.hpp wrapper.

Change-Id: I9a8457f7ba131cb382bf8c2f107dba9fb7a5d13c

6 years agoRowScanner ereses frame as soon as scanning is completed. 48/159548/4
Pawel Kurowski [Thu, 9 Nov 2017 14:35:31 +0000 (15:35 +0100)]
RowScanner ereses frame as soon as scanning is completed.

Minor fix: removed unnecessary sound feedback in RowScanner

Change-Id: I4e5d63bb8e9f8977f9cf36b0977c60b57a6351e7

6 years agoUniversal Switch will stay in passive mode when screen is turned off 92/160692/7
Pawel Kurowski [Fri, 17 Nov 2017 14:00:14 +0000 (15:00 +0100)]
Universal Switch will stay in passive mode when screen is turned off

Change-Id: I4415574ac73a98267d851d0c054dd0d5613b1727

6 years agoAdd project name to doxygen 15/160715/2
Paweł Stawicki [Fri, 17 Nov 2017 14:59:11 +0000 (15:59 +0100)]
Add project name to doxygen

Change-Id: I170ac777c9203a9a23710ec112d0a872c1f55624

6 years agoDocumentation for Atspi wrapper, minor refactor of Atspi.hpp 75/160675/4
Radoslaw Cybulski [Fri, 17 Nov 2017 11:18:42 +0000 (12:18 +0100)]
Documentation for Atspi wrapper, minor refactor of Atspi.hpp

Change-Id: I88a8e3439c5e6d2d0aaf50f16d3d511a979f23d9

6 years agoAdd examples to VConfInterface documentation 89/160689/2
Paweł Stawicki [Fri, 17 Nov 2017 13:25:34 +0000 (14:25 +0100)]
Add examples to VConfInterface documentation

Change-Id: I6d9dd00a0b4100ed1af562ed82cebfacd99267e2

6 years agoAdd documentation for Optional class 18/160518/2
Radoslaw Cybulski [Thu, 16 Nov 2017 11:52:26 +0000 (12:52 +0100)]
Add documentation for Optional class

Change-Id: I3b651d9b161a4d1deabcb630b78d9e1c9f4fe9e8

6 years agoAdd documentation for DBus namespace and all functionality 36/160536/6
Radoslaw Cybulski [Thu, 16 Nov 2017 15:45:25 +0000 (16:45 +0100)]
Add documentation for DBus namespace and all functionality

Change-Id: If0d9262bde31c90fac8063c22869e45eb0fcfe9a

6 years agoAdd documentation for scanners 09/153009/12
Mariusz Wachowicz [Wed, 27 Sep 2017 08:58:11 +0000 (10:58 +0200)]
Add documentation for scanners

Change-Id: I3912df2d834c592d6286b5b0c19d86dbcf7a7f25

6 years agoAlways on display 44/160344/7
Pawel Kurowski [Wed, 15 Nov 2017 12:14:26 +0000 (13:14 +0100)]
Always on display

Screen won't be dimmed when Universal Switch window exist.

Asumption:
Window Manager handles EFL_UTIL_SCREEN_MODE_ALWAYS_ON properly

Change-Id: I5de38f8e9a194b847a183979a170ad8bf6e7f1a9

6 years agoAdd ChangeVolumeActivity template, and fix AppControlActivity 42/160142/14
Pawel Kurowski [Tue, 14 Nov 2017 14:03:09 +0000 (15:03 +0100)]
Add ChangeVolumeActivity template, and fix AppControlActivity

remove static_cast to DerivedType in AppControlActivity template

Using template allows to delete RETURN_DEFAULT_SOUND_TYPE_ON_ERROR macro

Change-Id: Icc4b8b184345da9c4dbbd271cb6f303be55f062e

6 years agoCommon macros definitions in utils.hpp 41/160141/9
Pawel Kurowski [Tue, 14 Nov 2017 13:43:07 +0000 (14:43 +0100)]
Common macros definitions in utils.hpp

PRINT_ERROR_IF
RETURN_IF
RETURN_DEFAULT_IF

Change-Id: Ibd904bd39d2d900e00c0b0b9f6264148d346a948

6 years agoAtspi: change EXIT_IF_NULLPTR to RETURN_EMPTY_ON_NULLPTR 11/160111/3
Shinwoo Kim [Tue, 14 Nov 2017 11:25:05 +0000 (20:25 +0900)]
Atspi: change EXIT_IF_NULLPTR to RETURN_EMPTY_ON_NULLPTR

There is a RETURN_ON_NULLPTR macro, so RETURN_EMPTY_ON_NULLPTR would be better
than EXIT_IF_NULLPTR. This kind of macro should be located separated part.

Change-Id: Ied5620f3c75f928aa7c5b97085813bed8541aabd

6 years agoFlora licence changed into Apache-2.0 licence 32/160332/2
Lukasz Wlazly [Wed, 15 Nov 2017 10:54:26 +0000 (11:54 +0100)]
Flora licence changed into Apache-2.0 licence

Licence was placed in every header file

Change-Id: I3f48e9738f2d44406283b3bcacd61430caf95346

6 years agoChangeScanningDirectionActivity 98/159698/6
Pawel Kurowski [Fri, 10 Nov 2017 19:08:56 +0000 (20:08 +0100)]
ChangeScanningDirectionActivity

Change-Id: If9d4424d0e82b7732ac618849dc708736c6ad393

6 years agoRemove unused methods 30/160030/4
Lukasz Wlazly [Tue, 14 Nov 2017 07:29:28 +0000 (08:29 +0100)]
Remove unused methods

Change-Id: Ied233d41931183fdbc35dcccb00ac0c420e9a905

6 years agoFix in licence text 39/160039/2
Lukasz Wlazly [Tue, 14 Nov 2017 08:06:17 +0000 (09:06 +0100)]
Fix in licence text

Change-Id: I1eac948fdd969535b1e8ae9c22a67411158cd468

7 years agoSelection mode in Editing text 81/159681/2
Pawel Kurowski [Fri, 10 Nov 2017 11:56:13 +0000 (12:56 +0100)]
Selection mode in Editing text

Change-Id: I578b76666fa51e6ea89cebcc10bb2cebdba63076

7 years agoNextGranularityUnitActivity & PrevGranularityUnitActivity 10/159510/6
Pawel Kurowski [Thu, 9 Nov 2017 09:59:00 +0000 (10:59 +0100)]
NextGranularityUnitActivity & PrevGranularityUnitActivity

Change-Id: I43875cf5d7f4f96d6af2b20289e09b2dad47d566

7 years ago[FIX] Scroll Activities are not bindable 47/159547/1
Pawel Kurowski [Thu, 9 Nov 2017 14:20:57 +0000 (15:20 +0100)]
[FIX] Scroll Activities are not bindable

Change-Id: Ib7d6f83b16fa44eba79b0bf615e528b8493058f8

7 years agoMenu gestures divided into scrollable, and non scrollable versions. 82/158882/4
Pawel Kurowski [Fri, 3 Nov 2017 17:04:59 +0000 (18:04 +0100)]
Menu gestures divided into scrollable, and non scrollable versions.

Change-Id: I8768534f180ef7df0e4fdb1abe46e143989074ce

7 years agoautoscroll functionality 79/157879/16
Radoslaw Cybulski [Wed, 18 Oct 2017 08:34:01 +0000 (10:34 +0200)]
autoscroll functionality

Adds support for scrolling operations to universal-switch,
based on additional (non-standard) at-spi functionality.
Requires at-spi functions:
- GetScrollableElement - finds scrollable element (self or ancestor)
- ScrollAuto - starts or continues scrolling animation
- ScrollPage - scrolls single page
- ScrollToEnd - scrolls to the end

Scroll* functions work on scrollable element found by call to
GetScrollableElement.

Change-Id: I1c85201b857ac4c209fdfd9457336079c2d398a6

7 years agoSet file system writable when setting vconf keys 36/159036/4
Lukasz Wlazly [Mon, 6 Nov 2017 13:08:29 +0000 (14:08 +0100)]
Set file system writable when setting vconf keys

Change-Id: I03dc6615a3135efd127e6e92a9fa4b228c6dfcab

7 years agoRefactor of main functions in no-ui-scenarios tests 44/159044/6
Lukasz Wlazly [Mon, 6 Nov 2017 13:57:13 +0000 (14:57 +0100)]
Refactor of main functions in no-ui-scenarios tests

Uninitialized variable removed

Change-Id: I4478b784ad95cdfd94ce56587289bc20dd08bcbb

7 years agoMenuBuilder returns class Menu 13/158713/6
Pawel Kurowski [Thu, 2 Nov 2017 13:02:46 +0000 (14:02 +0100)]
MenuBuilder returns class Menu

Menu contains MenuItems colection, information about Alignment, and NavigateToSuperMenu.
AutoScroll Menu will be displayed at the bottom of screen.
MenuItems in AutoScroll Menu will be repeatable.
multimap changed to unordered_map.

Change-Id: I06df0bd41877fe9d67390d83eeb22ed428341066

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

Change-Id: I407978e21449b3d643e5e59665bacf446f877d53

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

Change-Id: I40cf461f00ed1d6572c625fdd0935e74293b7346

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

Change-Id: I8ae66bc73adc5bd997c2b545021d518e17d54469

7 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

7 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

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