summaryrefslogtreecommitdiff
path: root/src/displayapp
AgeCommit message (Collapse)AuthorFilesLines
2021-08-01ImprovementsRiku Isokoski5-99/+41
2021-08-01Merge branch 'develop' into HEADRiku Isokoski64-1047/+3264
2021-07-28Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray25-182/+221
2021-07-25Increment settings value, remove old hacky fixKieran Cawthray1-20/+8
2021-07-25Tile event handler : read the event data only if the event is a "value ↵Jean-François Milants2-9/+11
changed event". LVGL sends many other event and some of them do not set the event data (global static variable) to a valid address, which may cause an invalid read. I noticed that when porting this class on RISC-V platform (BL602).
2021-07-25Merge branch 'develop' into new_touch_handlerRiku Isokoski20-127/+176
2021-07-25Merge branch 'develop' into fit_more_tasksRiku Isokoski25-181/+249
2021-07-25Fix compile warningsJonathan Vander Mey1-0/+2
2021-07-25Fix slow scrollRiku Isokoski2-4/+1
2021-07-25Fix cases where Get() isn't usedRiku Isokoski1-2/+6
2021-07-25Add new unique icons for some appsRiku Isokoski7-49/+79
2021-07-25Add task state info to SystemInfoRiku Isokoski1-10/+32
2021-07-25Code cleanup (#466)Riku Isokoski10-66/+42
* Code cleanup * Remove override again
2021-07-24Dim screen before sleep (#464)Riku Isokoski2-3/+16
* Implement dimming
2021-07-24Merge branch 'develop' into new_touch_handlerRiku Isokoski1-1/+1
2021-07-24Merge branch 'fix_touchevent_tap' of git://github.com/Riksu9000/InfiniTime ↵Jean-François Milants4-40/+33
into Riksu9000-fix_touchevent_tap # Conflicts: # src/displayapp/DisplayApp.cpp
2021-07-24Add extra screen in settings to show scrollbar correctlyKieran Cawthray1-3/+3
2021-07-23Merge branch 'develop' into refresh_reworkRiku Isokoski3-7/+35
2021-07-23Merge branch 'develop' into new_touch_handlerRiku Isokoski3-8/+35
2021-07-23Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray3-9/+40
2021-07-22Make firmware updating more foolproof (#469)Riku Isokoski3-9/+40
* 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
2021-07-21FixRiku Isokoski1-2/+1
2021-07-21Fit more tasks in SystemInfoRiku Isokoski1-4/+8
2021-07-20Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray15-105/+73
2021-07-19Set remaining default periods to LV_DISP_DEF_REFR_PERIODRiku Isokoski6-6/+6
2021-07-19Refresh reworkRiku Isokoski72-306/+198
2021-07-19Restore Tile.cpp changesRiku Isokoski2-4/+6
2021-07-16Fix remaining known issuesRiku Isokoski2-2/+5
2021-07-16Fix gesturesRiku Isokoski2-12/+0
2021-07-16Fix touch wakeup and code cleanupRiku Isokoski1-21/+0
2021-07-16Fix most issuesRiku Isokoski8-23/+6
2021-07-15New touch handler, with issuesRiku Isokoski15-98/+91
2021-07-15Merge branch 'develop' into update_touch_driverRiku Isokoski3-35/+38
2021-07-14Multiple wakeup sources (#290)Kozova12-32/+33
* Allow multiple wakeup modes at the same time. This commit adds multiple wakeup modes support. It does so by storing them as a uint8_t bitfield enum. It changes the following functions: Since multiple modes can be on now, older version would not cut it: WakeUpMode getWakeupMode() -> std::bitset<3> getWakeUpModes() Where each bit corresponds to a WakeUpMode We still need a way to check whether a specific wakeup mode is on, so: bool isWakeUpModeOn(const WakeUpMode mode) This function was changed to work correctly with the new implementation. setWakeUpMode(WakeupMode mode, bool enable) Previously, systemtask would exit SystemTask::OnTouchEvent() if the wake up mode was None or RaiseWrist, to prevent waking up when a touch was received. However, after enabling using multiple WakeUpModes, this caused a bug where when RaiseWrist was checked with SingleTap or DoubleTap, the tap detection wouldn't work. This commit fixes that bug. Next commit will update the settings WakeUpMode select UI to reflect these changes. Signed-off-by: Kozova1 <mug66kk@gmail.com> * Updated UI to reflect multiple WakeUp sources being available. Signed-off-by: Kozova1 <mug66kk@gmail.com>
2021-07-14Set correct refresh times for lvgl (#488)Riku Isokoski1-3/+5
2021-07-14Update touchpad driverRiku Isokoski3-7/+15
2021-07-14Merge branch 'develop' into fix_touchevent_tapRiku Isokoski49-753/+2626
2021-07-13Merge branch 'develop' of github.com:JF002/Pinetime into developJean-François Milants2-2/+10
2021-07-13Merge branch 'lvgl_use_system_tick' of ↵Jean-François Milants4-37/+6
https://github.com/Riksu9000/InfiniTime into Riksu9000-lvgl_use_system_tick # Conflicts: # src/displayapp/screens/BatteryInfo.cpp # src/displayapp/screens/BatteryInfo.h
2021-07-13Adjust displayapp delay to compensate time spent (#482)Riku Isokoski2-2/+10
2021-07-13Merge branch 'develop' into notify-battery-levelJean-François Milants2-36/+48
# Conflicts: # src/displayapp/screens/BatteryInfo.cpp
2021-07-12Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray20-395/+269
2021-07-11Refactor trig functions into LUT (#476)Jonathan Vander Mey1-32/+44
Replaced the use of the standard library trig functions with a LUT-based implementation instead. The standard library implementations produce more accurate results but the usage here doesn't need that. This ends up saving nearly 7kB of binary size.
2021-07-11Modify status text in BatteryInfo so it fits on screen (#437)kieranc1-4/+4
* Modify status text in BatteryInfo so it fits on screen
2021-07-11Notify battery level every 10 minutes when connected to a BLE host.Jean-François Milants9-47/+35
Refactor battery percent : only use uint8_t to store the battery % remaining.
2021-07-11Change step gauge range to 100 and calculate progress as percantage (#468)kieranc1-3/+3
2021-07-09Code optimizations in SettingSetDate and SettingSetTimeTim Taenny2-13/+7
Instead of calling lv_obj_align after each button click, the labels have their auto_realign property set.
2021-07-09Code optimizations in SettingSetTimeTim Taenny1-9/+17
The positions of the labels are controlled by #define's, just like in SettingSetDate.
2021-07-09Modified Settings menu as per suggestionTim Taenny1-4/+4
Moved "Set date" and "Set time" to the second page of the Settings menu.
2021-07-09Code optimizations in SettingSetDateTim Taenny1-41/+2
Using static method of DateTimeController for retrieving month texts instead of implementing it in SettingSetDate again.