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

6 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

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

Change-Id: I43875cf5d7f4f96d6af2b20289e09b2dad47d566

6 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

6 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

6 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

6 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

6 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

6 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

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