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
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
Mariusz Wachowicz [Tue, 5 Sep 2017 14:33:47 +0000 (16:33 +0200)]
Fix translation for select activity
Change-Id: Id169de3bcd6cec5491989759e645f1d67ba72a85
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
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
Pawel Kurowski [Tue, 5 Sep 2017 10:34:28 +0000 (12:34 +0200)]
Fix redefinition of VCONF_KEY_FEEDBACK_VOICE_ENABLED
Change-Id: I8241ebaefd0fdab3d10a5d0d076eac0993a1eba9
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
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
Paweł Stawicki [Mon, 4 Sep 2017 12:01:53 +0000 (14:01 +0200)]
Add runTests.sh to utils
Change-Id: I766286b21d27c7bdeab4a141ace63a74942747df
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
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
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
Mariusz Wachowicz [Thu, 24 Aug 2017 11:36:57 +0000 (13:36 +0200)]
adds sound volume control via vconf keys
Change-Id: Ia0f4fc09d135e1c95178c6b8c175ed5d61fa044d
Paweł Stawicki [Fri, 25 Aug 2017 13:20:16 +0000 (15:20 +0200)]
Add passive/active mode to universal-switch
Change-Id: Ib724da281dff0269fc7c63965a5bf930a5b26a3d
Paweł Stawicki [Fri, 18 Aug 2017 17:16:15 +0000 (19:16 +0200)]
Add captureSwitch to DBusInterface
Change-Id: I34ac8777c45703642154908a9448c9f5831a814d
Mariusz Wachowicz [Tue, 22 Aug 2017 14:20:26 +0000 (16:20 +0200)]
VConf keys moved to one file
Change-Id: Ic9d35221d7cc8ca745860ada250c3fb0c6b1e953
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
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
Mariusz Wachowicz [Wed, 23 Aug 2017 08:56:53 +0000 (10:56 +0200)]
class Window use singleton template
Change-Id: Iadc820dfdda4df7756f0b9d622a2ef0d6c82f909
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
Mariusz Wachowicz [Fri, 18 Aug 2017 12:18:25 +0000 (14:18 +0200)]
class Singleton refactored
solves static initialization order fiasco
Change-Id: I909cd25305f8660ac3548126ebf65eec2d0421e5
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