aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/DisplayApp.h
Commit message (Collapse)AuthorAgeFilesLines
* StopWatch: add persistenceJan Hustak2025-11-041-0/+3
| | | | | # Conflicts: # src/displayapp/screens/StopWatch.h
* Initialise DisplayApp components in DisplayApp contextmark90642025-06-281-1/+1
|
* Improve sleep time calculation docsmark90642024-10-271-1/+1
|
* Refactor into defined statesmark90642024-10-271-1/+1
|
* Display the SPI flash JEDEC IDs in SystemInformation.Jean-François Milants2024-08-051-1/+3
| | | | This is needed since a new memory chip will be used in future batches of PineTimes.
* aod: constant frequency idle framesmark90642024-08-051-0/+7
|
* Watch face selection with CMakeJean-François Milants2023-12-231-1/+1
| | | | Move displayapp/Apps.h into a header only library (to make the integration easier in InfiniSim.
* SimpleWeather service : new weather implementationJean-François Milants2023-12-231-1/+2
| | | | | | | | | | This new implementation of the weather feature provides a new BLE API and a new weather service. The API uses a single characteristic that allows companion apps to write the weather conditions (current and forecast for the next 5 days). The SimpleWeather service exposes those data as std::optional fields. This new implementation replaces the previous WeahterService. The API is documented in docs/SimpleWeatherService.md.
* Application selection at build timeJean-François Milants2023-11-191-0/+5
| | | | | | | A list of "user applications" is built at compile time. It contains all the info needed to create the application at runtime (ptr to a create() function) and to display the app in the application menu. All applications declare a TypeTrait with these information. When a new app must be loaded, DisplayApp first check if this app is a System app (in which case it creates it like it did before). If it's not a System app, it looks for the app in the list of User applications and creates it if it found it. Those changes allow to more easily add new app and to select which app must be built into the firmware. Switch to C++20 (and fix a few issues in SpiMaster.cpp and Watchdog.cpp.
* TimerController: Rename to TimerRiku Isokoski2023-04-161-2/+2
|
* TimerController: Make TimerController reusableRiku Isokoski2023-04-161-2/+1
| | | | TimerController instance was moved to DisplayApp.
* staticstack: Move to src/utilityFinlay Davidson2023-03-271-3/+3
|
* inactivity: Use LVGL inactivity timersRiku Isokoski2023-03-181-0/+2
| | | | | | | | | | | | | | | | | Replace custom FreeRTOS inactivity timers with LVGL inactivity timers. DisplayApp: Trigger display activity on timer done. inactivity: Add additional checks The backlight could be turned on by RestoreBrightness() on ble connect event. inactivity: Trigger activity on screen switch A notification timing out could put the watch to sleep immediately. While this could be ideal behaviour, it was caused by delay in processing the EnableSleeping event and pushing RestoreBrightness to DisplayApp.
* date: Remove date libRiku Isokoski2023-02-251-1/+0
| | | | DateTimeController can provide everything we need.
* LittleVgl: Instantiate in DisplayAppRiku Isokoski2023-02-251-2/+1
| | | | | | | LVGL is only a part of the main DisplayApp. Other "DisplayApps" can be implemented without LVGL. DummyLittleVgl isn't needed anymore and has been removed
* watchdog: Replace WatchdogView with const WatchdogRiku Isokoski2023-02-251-3/+3
|
* displayapp: Make Ble references constRiku Isokoski2023-02-241-2/+2
|
* displayapp: Make Cst816S references constRiku Isokoski2023-02-241-2/+2
|
* displayapp: Make Battery class references constRiku Isokoski2023-02-241-2/+2
|
* Format header filesFinlay Davidson2023-01-091-0/+2
| | | | In my PR updating clang-format, I forgot to also format the headers.
* Implement a return app stackRiku Isokoski2023-01-051-2/+8
| | | | | | Each opened app (screen) is pushed on a stack, which is then popped from when returning instead of hard coded "previous apps". Return swipe and refresh directions are automatically determined from the app transition.
* Brightness management in DisplayApp : do not allow the brightness level OFF ↵Jean-François Milants2022-10-021-0/+1
| | | | when loading app and going to running mode. Such issue could occur in case of inconsistent or corrupted settings.
* Infineat : Add support for external resources, and read the images and fonts ↵Jean-François Milants2022-09-111-1/+3
| | | | from the ilesystem
* Apply clang-format to all C++ filesFinlay Davidson2022-06-051-1/+1
|
* Provide reference to BrightnessController in DisplayAppReinhold Gschweicher2022-02-191-1/+2
| | | | | | | | For the simulator I need a way to get to the brightnessController object and handle the set brightness-levels accoringly. This is done by the constructor expecting a brightnessController object instead of initializing one itself
* Update includes to to be relative to src directoryReinhold Gschweicher2021-11-151-4/+4
| | | | | | | Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
* Merge branch 'develop' into update_touch_driverRiku Isokoski2021-10-051-4/+0
|\
| * Merge pull request #623 from Riksu9000/lvgl_queuetimeoutJF2021-10-031-3/+0
| |\ | | | | | | Let LVGL control queueTimeout
| | * Remove unused variableRiku Isokoski2021-09-211-1/+0
| | |
| | * Let lvgl control queueTimeoutRiku Isokoski2021-08-291-2/+0
| | |
* | | Merge branch 'develop' into update_touch_driverRiku Isokoski2021-09-181-0/+4
|\| |
| * | Created basic alarm appMark Russell2021-09-101-0/+4
| |/
* | Merge branch 'develop' into update_touch_driverRiku Isokoski2021-08-281-5/+6
|\|
| * Fix most issuesRiku Isokoski2021-07-161-4/+0
| |
| * New touch handler, with issuesRiku Isokoski2021-07-151-2/+6
| |
* | Automatic error detectionRiku Isokoski2021-08-181-1/+4
| |
* | Merge branch 'fix_touchevent_tap' of git://github.com/Riksu9000/InfiniTime ↵Jean-François Milants2021-07-241-1/+0
|\ \ | |/ |/| | | | | | | | | into Riksu9000-fix_touchevent_tap # Conflicts: # src/displayapp/DisplayApp.cpp
| * Merge branch 'develop' into fix_touchevent_tapRiku Isokoski2021-07-141-2/+9
| |\ | |/ |/|
| * Fix touchevent tapRiku Isokoski2021-06-111-1/+1
| |
* | Adjust displayapp delay to compensate time spent (#482)Riku Isokoski2021-07-131-0/+1
| |
* | Fix stack corruption when exiting an app (the app was destroyed while it was ↵Jean-François Milants2021-06-101-0/+3
| | | | | | | | executing the button handler).
* | Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants2021-06-061-2/+5
|/ | | | variable instead of variables on the heap. We don't need them on the heap as we know their size at build time, it'll reduce memory fragmentation and it'll make memory analysis easier.
* Timer App (#355)Florian2021-05-201-1/+4
| | | | | | | | | | | * built timer app * Style improvements * making sure buttons stay hidden when the app is reopened and reappear after the timer runs out * more sensible calculations of time deltas. eliminated that mysterious scaling factor * changing the timer icon
* Fixed a naming inconsistency of DisplayApp::ReturnApp and a few formatting ↵Avamander2021-05-141-1/+1
| | | | errors
* short vibration when enabling itpetter2021-05-021-0/+3
|
* Changed access modified indentationAvamander2021-04-241-2/+2
|
* Reformatted all the files according to clang-format styleAvamander2021-04-241-56/+55
|
* Merge branch 'develop' into motion-sensorJean-François Milants2021-04-091-26/+32
|\ | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/DisplayApp.h # src/displayapp/lv_pinetime_theme.c # src/displayapp/screens/ApplicationList.cpp # src/drivers/TwiMaster.cpp # src/systemtask/SystemTask.h
| * Big UI and navigation RewriteJoaquim2021-04-041-25/+31
| | | | | | | | | | | | | | | | | | | | | | new navigation add some color to the apps redesign menus new settings menu new quick settings code clean up size reduction by converting navigation images to font and more...
* | First integration of the motion sensor (bma 421) : step counting + wake on ↵Jean-François Milants2021-04-041-1/+4
|/ | | | wrist rotation + app to see the value of the 3 axis in "real time".