aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/DisplayApp.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Code cleanup (#466)Riku Isokoski2021-07-251-6/+6
| | | | * Code cleanup * Remove override again
* Dim screen before sleep (#464)Riku Isokoski2021-07-241-1/+12
| | | * Implement dimming
* Merge branch 'fix_touchevent_tap' of git://github.com/Riksu9000/InfiniTime ↵Jean-François Milants2021-07-241-30/+31
|\ | | | | | | | | | | | | into Riksu9000-fix_touchevent_tap # Conflicts: # src/displayapp/DisplayApp.cpp
| * Merge branch 'develop' into fix_touchevent_tapRiku Isokoski2021-07-141-29/+63
| |\
| * | Fix regressionRiku Isokoski2021-06-111-1/+3
| | |
| * | Fix touchevent tapRiku Isokoski2021-06-111-6/+5
| | |
* | | Make firmware updating more foolproof (#469)Riku Isokoski2021-07-221-1/+6
| | | | | | | | | | | | | | | | | | | | | * Make firmware updating more foolproof and fix bugs * No need to manually handle overflow * Make startTime TickType_t * Don't process TouchEvents::None * Fix sleep getting re-enabled issue more directly
* | | Set correct refresh times for lvgl (#488)Riku Isokoski2021-07-141-3/+5
| |/ |/|
* | Adjust displayapp delay to compensate time spent (#482)Riku Isokoski2021-07-131-2/+9
| |
* | Improve stopwatch (#432)Riku Isokoski2021-07-041-1/+1
| | | | | | | | | | | | | | * Improve stopwatch more * Make sure sleep gets reenabled * Cleanup and clang-format
* | Add support for BMA425 acceleration sensor. (#440)JF0022021-06-191-1/+1
| | | | | | * Add support for BMA425 acceleration sensor.
* | Fix build issues since Metronome app has been merged.Jean-François Milants2021-06-121-1/+1
| |
* | add basic metronome app (#409)Bryton Hall2021-06-121-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add basic metronome app * add bpb, tap to bpm, update widgets * use event pressed for bpm tap * move case statement break to the right place * narrow bpm selection range, override touch events * fix arc knob style * re-enable sleeping in destructor
* | Changed the namespace of SystemInfo::sortById to avoid a name conflict (#360)Avamander2021-06-121-2/+0
| |
* | Move most of the code from the constructor of the objects statically ↵Jean-François Milants2021-06-121-2/+4
| | | | | | | | initialized in main() into Start()/Init() functions to avoid Static Initialization Order Fiasco (https://en.cppreference.com/w/cpp/language/siof). See https://github.com/JF002/InfiniTime/pull/415#issuecomment-859004238.
* | Minor improvements: use std::make_unique when creating unique_ptr, check the ↵Jean-François Milants2021-06-101-6/+15
| | | | | | | | code is running from an IRQ before calling xQueueSendFromISR or xQueueSend)
* | Fix stack corruption when exiting an app (the app was destroyed while it was ↵Jean-François Milants2021-06-101-1/+7
| | | | | | | | executing the button handler).
* | Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants2021-06-061-12/+20
|/ | | | 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.
* Enable various compilation flags to reduce the binary size (#401)JF0022021-06-011-1/+1
| | | | | | | | | | | | * Add the following compilation flags: * -fno-exceptions and -fno-non-call-exceptions : disable exception handling * -fno-rtti : disable run time type information (needed by dynamic_cast, for example) These flags reduce the binary size by about 100KB! Also, -fstack-usage generate debug info (not in final binary) to allow tools like Puncover to do a stack analysis. * Remove unused CMake variables in CMake_nRF5x.cmake (duplicated in src/CMakeLists.txt). Replace -O0 by -Og in DEBUG builds. This generates a smaller binary (small enough for the internal memory) that is debugger friendly.
* Timer App (#355)Florian2021-05-201-2/+16
| | | | | | | | | | | * 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
* DisplayApp : returnApp was renamed ReturnApp() (manual fix after multiple ↵Jean-François Milants2021-05-151-1/+1
| | | | merges).
* Merge pull request #298 from joaquimorg/StepsAppJF0022021-05-151-0/+9
|\ | | | | New Steps app
| * Merge branch 'develop' ofJoaquim2021-04-261-64/+79
| |\ | | | | | | | | | https://github.com/JF002/InfiniTime into StepsApp
| * | New Steps appJoaquim2021-04-191-0/+9
| | | | | | | | | | | | | | | | | | Settings to set the steps goal More detail in Motion app New 42px Font
* | | Merge pull request #349 from Avamander/patch-2JF0022021-05-151-1/+1
|\ \ \ | | | | | | | | Switched to booleans for infinite while loops
| * | | Switched to booleans for infinite while loopsAvamander2021-05-141-1/+1
| | | |
* | | | Merge pull request #350 from Avamander/patch-3JF0022021-05-151-2/+4
|\ \ \ \ | | | | | | | | | | Added braces to a few if statements
| * | | | Added braces to a few if statementsAvamander2021-05-141-2/+4
| |/ / /
* / / / Fixed a naming inconsistency of DisplayApp::ReturnApp and a few formatting ↵Avamander2021-05-141-18/+18
|/ / / | | | | | | | | | errors
* | / short vibration when enabling itpetter2021-05-021-1/+4
| |/ |/|
* | Reformatted all the files according to clang-format styleAvamander2021-04-241-64/+79
|/
* In order to stabilize the battery reading,Joaquim2021-04-161-1/+1
| | | | | | I modified the process to make 5 consecutive readings, as the process is asynchronous, there is no interference in the main process.
* Move Task info to about menuJoaquim2021-04-111-6/+1
| | | | fix build error in WatchFaceDigital
* 0.16.0 TWI problems fixJoaquim2021-04-101-0/+5
| | | | | | | | More memory for freertos heap and timer stack Fix warning in watchface Fix number of bytes read by cst816 Debug app to show freertos tasks Increased the number of bytes of the twi write buffer
* Merge branch 'develop' into motion-sensorJean-François Milants2021-04-091-81/+170
|\ | | | | | | | | | | | | | | | | | | | | | | # 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
| * add more memory to displayapp taskJoaquim2021-04-091-1/+1
| |
| * Big UI and navigation RewriteJoaquim2021-04-041-79/+165
| | | | | | | | | | | | | | | | | | | | | | 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-5/+10
|/ | | | wrist rotation + app to see the value of the 3 axis in "real time".
* replaced all unique_ptr.reset calls with std::make_uniqueNiall Cooling2021-03-221-18/+22
|
* Reverted the paddle app in displayapp.cpppanky-codes2021-03-211-2/+2
|
* Merged upstreampanky-codes2021-03-201-6/+9
|\
| * Merge branch 'develop' of github.com:JF002/Pinetime into developJean-François Milants2021-03-201-5/+7
| |\ | | | | | | | | | | | | | | | # Conflicts: # src/main.cpp # src/systemtask/SystemTask.h
| | * Multi face support, analog clock, 12/24 configJoaquim2021-02-241-5/+7
| | |
| * | Merge branch 'develop' into recovery-firmwareJean-François Milants2021-03-071-9/+2
| |\| | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/CMakeLists.txt # src/displayapp/DisplayApp.h # src/systemtask/SystemTask.cpp # src/systemtask/SystemTask.h
| * | Generate pinetime-recovery : a light version of InfiniTime design to be used ↵Jean-François Milants2021-01-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | as a recovery firmware : it only provides basic UI and BLE connectivity for OTA. This new FW is build on the same codebasse than the actual InfiniTime. Only the display task is different (this allows to remove lvgl from the recovery fw, which is very heavy). CMake builds and docker have been modified accordingly. Note than the fw is converted into an image and then into a DFU in the cmake build (previously, it was only done in the
* | | Removed unused variables. Tested.panky-codes2021-03-151-1/+1
| | |
* | | Basic logic done. Need to change the timer source to get ms. Also need to ↵panky-codes2021-03-111-1/+3
| |/ |/| | | | | replace with paddle app in displayApp.cpp and ApplicationList.cpp later.
* | Merge branch 'LVGL7' of https://github.com/joaquimorg/Pinetime into ↵Jean-François Milants2021-02-231-3/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | joaquimorg-LVGL7 # Conflicts: # src/CMakeLists.txt # src/displayapp/DisplayApp.cpp # src/displayapp/screens/Modal.cpp # src/displayapp/screens/Modal.h # src/displayapp/screens/Notifications.cpp # src/displayapp/screens/Tile.h
| * | CleanupJoaquim2021-02-011-8/+1
| | |
| * | LVGL v7.10.0Joaquim2021-01-281-1/+3
| |/