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
Lukasz Wlazly [Mon, 6 Nov 2017 13:08:29 +0000 (14:08 +0100)]
Set file system writable when setting vconf keys
Change-Id: I03dc6615a3135efd127e6e92a9fa4b228c6dfcab
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
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
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
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
Paweł Stawicki [Tue, 31 Oct 2017 12:08:14 +0000 (13:08 +0100)]
Bugfix: Repeatable menu items
Change-Id: I35f2e7a0d2510f40ebaa987b63a0dc0ae2cf2697
Pawel Kurowski [Fri, 27 Oct 2017 15:30:19 +0000 (17:30 +0200)]
ToggleBoolVconfKeyActivity template
Refactor:
ToggleVoiceFeedbackEnabledActivity
ToggleSoundFeedbackEnabledActivity
Add:
ToggleAutoScrollEnabledActivity
Change-Id: I53b5046af34162f0f98671d5ecac96ea0fe420bc
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
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
Pawel Kurowski [Fri, 27 Oct 2017 09:40:06 +0000 (11:40 +0200)]
SelectAllActivity
Minor refactor in ClipboardActivity
Change-Id: I351c1809e9ca14de268937293aff78a98d5e5dae
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
Pawel Kurowski [Thu, 26 Oct 2017 14:00:11 +0000 (16:00 +0200)]
Clipboard Activities
CopyActivity, CutActivity, PasteActivity
Change-Id: I9111b303bdc595dbe7627aed96178bd1f88a71e5
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
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
Radoslaw Cybulski [Thu, 26 Oct 2017 11:21:43 +0000 (13:21 +0200)]
Add missing ATSPI_ROLE_PANEL to ignored roles
Change-Id: Ic1c857174fa6d3c84622a59230b9b3f1ca23fa23
Pawel Kurowski [Tue, 24 Oct 2017 11:47:16 +0000 (13:47 +0200)]
Escape frame using EventGenerator in RowScanner
Change-Id: I8106c8a1567f4e323f163f50bf16b5d9cb395041
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
Lukasz Wlazly [Mon, 23 Oct 2017 12:36:34 +0000 (14:36 +0200)]
Static code analysis
Change-Id: I062963ce901c7dc9940241008930980cf26f4c24
Lukasz Wlazly [Mon, 23 Oct 2017 06:12:09 +0000 (08:12 +0200)]
Fix for invalid error message in project tool
Change-Id: I668c66af16793506a16afba90e89e536977116c0
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
Pawel Kurowski [Fri, 20 Oct 2017 14:32:40 +0000 (16:32 +0200)]
Fix rpm path in project-tool
Change-Id: I2bb4ef259ae5bc2b221f2d6d02840389a7c6698b
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
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
Radoslaw Cybulski [Mon, 28 Aug 2017 15:15:01 +0000 (17:15 +0200)]
Implements screen-reader alike navigation for Universal Switch
Change-Id: I6db525ec2c9aab25822d4a72b47a258294c455e1
Pawel Kurowski [Thu, 19 Oct 2017 10:56:39 +0000 (12:56 +0200)]
Handling back button in SelectActivity
Change-Id: I31977a539f8a7451ce1fe7ef664a10408600c91d
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
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
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
Lukasz Wlazly [Tue, 17 Oct 2017 09:21:25 +0000 (11:21 +0200)]
Delete needless directory from tests
Change-Id: I40c565974689d0b2732389e5d7d0a22f2293c75e
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
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
Pawel Kurowski [Thu, 12 Oct 2017 13:01:03 +0000 (15:01 +0200)]
PowerKeyMenuActivity
Change-Id: I407978e21449b3d643e5e59665bacf446f877d53
Pawel Kurowski [Sun, 8 Oct 2017 13:34:59 +0000 (15:34 +0200)]
ScreenshotActivity
Change-Id: I40cf461f00ed1d6572c625fdd0935e74293b7346
Pawel Kurowski [Sun, 8 Oct 2017 18:23:25 +0000 (20:23 +0200)]
StartSettingsActivity
Change-Id: I8ae66bc73adc5bd997c2b545021d518e17d54469
Paweł Stawicki [Fri, 6 Oct 2017 11:19:22 +0000 (13:19 +0200)]
Add NextElementActivity, PrevElementActivity
Change-Id: Id96518134339d95a7b7e1648928bfba9298611bc
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
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
Paweł Stawicki [Thu, 5 Oct 2017 13:00:48 +0000 (15:00 +0200)]
Bugfix: RowScanner resumes scanning from beginning
Change-Id: I775a9b6dad9c847759196839df216ee8f2a71f2f
Pawel Kurowski [Thu, 5 Oct 2017 12:12:11 +0000 (14:12 +0200)]
IncreaseVolumeActivity & DecreaseVolumeActivity
Change-Id: I9714ed1ddd55ff356503b37c30f6bee0fd27bd0d
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
Pawel Kurowski [Mon, 2 Oct 2017 18:00:18 +0000 (20:00 +0200)]
MenuMap renamed to MenuBuilder
Change-Id: I83d0c4d2ebfea89f2588bb185f9fb568c942b77a
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
Pawel Kurowski [Sun, 1 Oct 2017 16:58:02 +0000 (18:58 +0200)]
Hide Implementation of MenuItem and Menu Map
Change-Id: I326557cb810af741d7c3fdab922b50fe38d4311c
Paweł Stawicki [Wed, 4 Oct 2017 12:29:44 +0000 (14:29 +0200)]
RowScanner: doubled sound fix on "repeatable" menu item
Change-Id: I3ddcc3b3d3ff2e814e94faaf8387d288cdc7f9fe
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
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
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
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
Pawel Kurowski [Mon, 2 Oct 2017 13:22:34 +0000 (15:22 +0200)]
Reduced number of arguments in Activities templates
Change-Id: I799603c6395c04974e12866a0121f1cb12e5c65c
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
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
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
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
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
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
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
Lukasz Wlazly [Tue, 26 Sep 2017 15:04:09 +0000 (17:04 +0200)]
Usage of efl_util to generate key events
Change-Id: I14f6e8b22dee2fc1b15679911dbf86caa0afccdd
Paweł Stawicki [Wed, 27 Sep 2017 17:03:58 +0000 (19:03 +0200)]
Add generateDocs.sh script runnable without gbs
Change-Id: Ibfd78440f7aa442fa27ee775d1444be1cf7a0a77
Lukasz Wlazly [Thu, 28 Sep 2017 07:19:02 +0000 (09:19 +0200)]
Add "zoom in" and "zoom out" activities
Change-Id: I60d4b7c67c989eb9989fb7a0729b1d25e805ec4c
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
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
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
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
Mariusz Wachowicz [Wed, 20 Sep 2017 13:08:48 +0000 (15:08 +0200)]
Move drawing methodes to evas namespace in Geometry
Change-Id: I814247f9e1ba006330f9b90b2130d4f0c7122242
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
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
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
Pawel Kurowski [Fri, 22 Sep 2017 10:21:37 +0000 (12:21 +0200)]
AppControlActivity template refactor
Registration of derived classes
Change-Id: I469cad7648a1a9d172d21865da319951c5067e86
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
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
Lukasz Wlazly [Wed, 20 Sep 2017 09:51:39 +0000 (11:51 +0200)]
Add EventGenerator class to ecore namespace
Change-Id: I62e0f73655a17be89dc250eab388d43aac1b4002
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
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
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
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
Mariusz Wachowicz [Tue, 12 Sep 2017 13:39:38 +0000 (15:39 +0200)]
Implement ecore::Timer in RowScanner
Change-Id: If05ded706375785d249a9d0ef135538f48cf3c5f
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
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
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
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
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
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
Lukasz Wlazly [Tue, 12 Sep 2017 08:24:55 +0000 (10:24 +0200)]
Add wrapper for Ecore_Event_Handler
Change-Id: Idf84070293dbdbcac3918e41fc5ce91d916cf1b3
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
Mariusz Wachowicz [Wed, 13 Sep 2017 10:56:29 +0000 (12:56 +0200)]
Fix separation between VConfKey in production and tests
Change-Id: I9ad4cd364795cfd9c54a4e4f2a262cc8b4d7c1ef
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
Mariusz Wachowicz [Wed, 13 Sep 2017 08:25:24 +0000 (10:25 +0200)]
fix coding rule violation
Change-Id: I8b665af379c53ef3919783eafa561bfad2efe84f
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
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
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
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
Lukasz Wlazly [Mon, 11 Sep 2017 11:38:13 +0000 (13:38 +0200)]
Nullcheck on disable in ScreenSwitchProvider
Change-Id: I22780155667503d218f1e1bf379b1004afa2ad38
Pawel Kurowski [Wed, 6 Sep 2017 14:06:12 +0000 (16:06 +0200)]
Removing switches registration on app initialization
Change-Id: I3c419e548ad0ab656b98f1bb677b3919a85d9b50
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
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
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
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
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
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