Commit Graph

84 Commits

Author SHA1 Message Date
Michał Kamoń
0f3fb7c152 [EGD-6736] Add app's state dependent autoLock mechanism
This PR provides the implementation of the auto-locking mechanism that
is dependent on an application's current auto-locking policy. Three
auto-lock policies have been introduced:

* DetermineByWindow
* DetermineByAppState
* PreventPermanently

Also changed the AutoLockWindow set/get auto-lock time value to the
message-based approach.
2021-05-26 08:31:33 +02:00
Przemyslaw Brudny
bcdaf15ed1 [EGD-6740] Availability and Change handled by PhoneLockHandler
Availability and Change in phoneLock handled by
PhoneLockHandler. Removed old implementation from
onBoarding and Settings. Cleared language assets.
2021-05-14 13:07:49 +02:00
Pawel.Paprocki
db8c1d35e5 [EGD-6739] Fix Enable change of display resolution on simulator
Define screen dimesions in one place
2021-05-14 08:50:11 +02:00
Michał Kamoń
0bad6d643b [EGD-6657] ApplicationDesktop clean-up
This PR cleans-up `ApplicationDesktop` after recent changes in
home screen notifications handling.
2021-05-07 15:41:14 +02:00
Przemyslaw Brudny
25ba341e6c [EGD-5884] Added Lock Screen popup handling
Moved lock screen window to popup. Split DesktopMainWindow into
two parts (popup and regular). Added LockPhoneHandler into
ApplicationManager.
2021-04-29 12:06:59 +02:00
Artur Śleszyński
71465d8990 [EGD-3119] Hide InputEvent's member fields
Use the InputEvent's convenience methods to express intent.
2021-04-29 08:01:18 +02:00
Michał Kamoń
eec4370cdc [EGD-5703] Fix SimCard topBar icon on Desktop
In initial design a `TobBar`'s SimCard icon with number is supposed
to display on the home screen only if there are two cards inserted.
Because of the hardware limitations (there is no way of telling if
there is a single or two cards inserted) the established consensus is
that home screen should not display SimCard widget unless it's
indication error state.

Although in the task description there is only home screen mentioned,
the behaviour was established for all `ApplicationDesktop`'s windows.
2021-04-27 08:14:17 +02:00
Marek Niepieklo
226e9e4c0b [EGD-6515] Answer/reject calls using headset
Clean up propagation of headset keys events
Clean up volume control with headset keys
Update key mappings for simulator
Use headset OK key to answer/reject calls
2021-04-15 14:19:50 +02:00
tkros
1860bf210f [EGD-5744] Phone mode status bar widget
Added phone mode widget to top bar. The widget is mutually exclusive
with NAT widget. Phone mode is determined using phone mode observer.
2021-03-23 19:38:57 +01:00
Wojtek Rzepecki
e69576aa60 [EGD-6192] Add torch hw control v2
Change behavior of torch
control according to newest
design.
2021-03-18 08:53:19 +01:00
Alek Rudnik
efef3c368c [EGD-6043] Change status bar layout
Status bar is rewritten to use box layout
2021-03-09 22:53:06 +01:00
Przemyslaw Brudny
84095629df [EGD-5883] Added generic button popups attach to applications
Created structure and implementation for popup windows
attachments on button actions into applications. Moved Volume
window to fit into solution. BarGraph refactored.
2021-03-03 22:21:11 +01:00
Alek Rudnik
7ccc68c202 [EGD-5832] Status bar widgets refactor
Status bar SIM widget refactor
Status bar time widget recfactor
Status bar lock widget refactor
Separation of status bar time widget and desktop main window time widget
Fixed issue with wrong calculation of timezone based time
2021-03-03 13:37:11 +01:00
Mateusz Grzegorzek
8f0797218f [EGD-5312] Add Time selection window
- add ChangeDateAndTimeWindow,
- extract EventTimeItem to common widgets folder
  and rename it to TimeWidget,
- extract EventDateItem to common widgets folder
  and rename it to DateWidget,
- replace timeWidget with common TimeWidget
  in NightshiftWindow,
- refactor time setting in
  DesktopMainWindow and TopBar,
- Remove dead code from EventManager
  (GetNextAlarmTimestamp and HandleAlarmTrigger)
2021-02-23 15:59:51 +01:00
Przemyslaw Brudny
a951f85753 [EGD-5688] Fixed specialInput selection blocking next action
Adding character by specialInput caused next input action
to be blocked.
2021-02-17 17:52:50 +01:00
Wojtek Rzepecki
323786c4d2 [EGD-4797] Battery bar as widget
Battery bar now is present as
a separate widget in top bar.
Additionally refactored passing
battery status.
2021-02-15 13:05:56 +01:00
Piotr Tański
4c61595a27 [EGD-4801] Add application-wide top bar manager
Applications configure the top bar once for all their windows.
Sometimes, windows need to configure top bars with its configuration.
2021-01-21 10:46:57 +01:00
Mateusz Grzywacz
262127229f battery renames, clean up, degreasing 2021-01-04 13:14:30 +01:00
Mateusz Grzywacz
3b08e4c358 [EGD-4932] new battery icons + battery in TopBar rework 2021-01-04 13:14:30 +01:00
Wojtek Rzepecki
24e2607f6b [EGD-4727] Change Torch hardware control
Change way of button usage
2020-12-22 13:27:33 +01:00
jimmorrisson
14918dc4f9 [EGD-4925] Change new filesystem handling implementation in module-gui. (#1193)
Due to vfs deprecation there is need to remove all vfs calls from code. This PR covers module gui. There are some modifications in other modules included which are necessary because of build system issues.
2020-12-16 15:23:11 +01:00
Michał Kamoń
9e961b6072 [EGD-3589] gui - DOM dump functionality for gui::Item (#1148) 2020-12-09 15:57:20 +01:00
Krzysztof Mozdzynski
0ef0d615f3 [EGD-4150] Change filename i18 to i18n (#1108)
Change filename of internationalization files from i18 to i18n.

I18n should stand for internationalization, not i18. That's why I changed in 'module-utils' name of the folder 'i18' and both .cpp and .hpp files to 'i18n'.
2020-11-27 18:31:00 +01:00
Piotr Tanski
fe86716984 [EGD-4153] Use actions instead explicit applications switch. (#1032) 2020-11-23 09:32:42 +01:00
PrzeBrudny
701641b87c [EGD-4396] Fixed onClose call at application close. (#1011) 2020-11-16 11:36:53 +01:00
Radoslaw Wicik
4bdfb00de7 [EGD-4214] Convert service audio to library 2020-11-09 11:56:19 +01:00
Adam
64db7d8327 EDG-3585 Small fixup for refresh & cleanup in buildDrawLists (#916)
* EGD-3585 Minor refresh fixup&  Normalised buildDrawList everywhere
2020-10-30 10:13:47 +01:00
alek
81a62fdb16 [EGD-4158] Added network access technology indicator 2020-10-27 10:13:41 +01:00
Piotr Tanski
dd50838789 [EGD-4051] Based application manager app switching on application stack. (#858)
* [EGD-4051] Based application manager app switching on application stack.

* [EGD-4051] Application manager thorough refactor.
2020-10-23 15:45:58 +02:00
Adam
91e67f4865 EGD-4102 (#871)
* EGD-4102 Added log to refreshed window and null check

* EGD-4102 Fixed messages crash

* EGD-4102 Fixed calendar crash and some funky code
2020-10-23 13:00:39 +02:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
Piotr Tanski
fdb2cfdb5a [EGD-3597] Shape rendering refactored. (#827) 2020-10-14 12:24:41 +02:00
Adam Dobrowolski
7b4a706cd6 EGD-4036 Application windows - added register mechanism
* Moved ApplicationLauncher to separate files - declutering
* WindowsStore renamed to WindowsFactory - Store needs to be splitted toavoid antipattern
* Options window build dynamically onBeforeShow
* Dialog windows dynamically built
2020-10-13 17:46:10 +02:00
Adam
f5f27d642f EGD-2955 EGD-3588 Timers fully refactored & updated (#721)
* Timers now are Application thread safe
* Timers now have consistent API independend of Application (no more c style timers)
* Timers can have either: callback or override onTimer() method - this
  way we can create more complicated timers or just use existing ones
* gui::Timer added via adapter class GuiTimer to decouple sys::Timer
  with gui::Timer
* Fixed race in wrapper
* Updated docs
* fixed using std and cpp_freertos and DataReceivedHandler hidden in Application.hpp
2020-10-02 14:04:57 +02:00
Piotr Tanski
9447da6585 [EGD-2870] Message drafts feature implemented. (#704)
- Save unsent messages as drafts on thread view window close.
- Queries for SMS add and update introduced.
- Fix for windows IDs all being zeroes across the GUI.
2020-09-21 10:25:00 +02:00
pawpMudita
acd5c12cbf [EGD-3604] Make SAVE button appear when at least one field is fulfilled 2020-09-15 12:46:26 +02:00
Przemyslaw Brudny
a97898f9e3 [EGD-3265] Reply icon import, bottom bar setters added, first SMSInputWidget version added. 2020-09-02 18:54:41 +02:00
KacperLewandowski
767c1f2286 [EGD-3314] PR changes 2020-08-14 00:09:43 +02:00
KacperLewandowski
cea4786a00 [EGD-3314] Develop EventTime, SeveralOptions and CheckBox items 2020-08-14 00:09:43 +02:00
Mateusz Grzywacz
8225e51d7e [EGD-3501] torch - toggle colour temperatures. order: warm, cold, off 2020-08-13 12:26:28 +02:00
Mateusz Grzywacz
258ef22228 [EGD-3482] torch sevm - glue layer 2020-08-06 12:46:17 +02:00
Przemyslaw Brudny
5c64f96b11 [EGD-3336] Alignment refactor. 2020-07-15 13:07:20 +02:00
Przemyslaw Brudny
504108f43f [EGD-3346] BottomBar temporary mode extended. 2020-06-26 11:48:48 +02:00
Alek Rudnik
ce2251535b Egd 3263 simplified text input mode (#417)
* [EGD-3263] recursive Item::getFocusItem

* [EGD-3263] Bottomr bar store and restore

* [EGD-3263] simplfied display of text input mode

* [EGD-3263] renamed CB names

* [EGD-3263] fixes in store/restore of bottombar

* [EGD-3263] Text::onInput fixes

* [EGD-3236] ranemed store to chache

* [EGD-3263] minor clean up
2020-06-05 11:56:08 +02:00
alek
8e6050fef9 [GED-2830] fixes fo Dialog layout 2020-05-28 14:13:12 +02:00
alek
432e3ad7e2 [EGD-3237] fixed return type of switchWindow and returnToPreviousWindow 2020-05-27 09:55:11 +02:00
Alek Rudnik
08358df991 Egd 2825 sms clipboard (#362)
* [EGD-2825] clipboard class implementation

* [EGD-2825] returnToPreviousView moved from appwindow to application class

* [EGD-2825] paste

* [EGD-2825] fixed paste label

* [EGD-2825] copy

* [EGD-2825] comment

* [EGD-2825] removed init data

* [EDG-2825] add clipboard UT

* [EGD-2825] add sms fw option
renamed SMSTemplateData to SMSTextData

* [EGD-2825] fxies in EventStore

* [EGD-2825] PR fixes

* [EGD-2825] rem not needed comment
2020-05-15 13:34:26 +02:00
Adam Dobrowolski
8edd7a6887 EGD-2964 memory leak in DesktopApp 2020-05-04 08:45:20 +02:00
Adam Dobrowolski
99d959c43a EGD-3165 Ellipsis removed not needed Struct - left enum only 2020-04-28 09:50:48 +02:00
Adam Dobrowolski
d574354eea EGD-3165 gui::Label setDotsMode renamed to setEllipsis
- renamed function to more proper naming
- added Ellipsis struct instead of bool arguments
2020-04-28 09:50:48 +02:00