summaryrefslogtreecommitdiffstats
path: root/gui/checkbox.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Prevent having to double-tap some check boxesEthan Yonker2019-04-041-1/+6
| | | | | | | | | Check boxes that do not have a default value set usually required you to tap them twice to toggle them on the very first time. This patch checks the return value from GetValue and sets a default of 0 if the variable does not already exist in the Data Manager. Change-Id: I1ff26e756764ed2a00b10102f13a5bce0119771a
* Vibration: allow BoardConfig to disable vibration for a device.bigbiff bigbiff2019-03-181-0/+3
| | | | Change-Id: Ibd2f67391ce6d7774498839829e0de9391508781
* Merge AOSP android-9.0.0_r3Ethan Yonker2018-08-241-4/+5
| | | | | | Fix conflicts and make it build in 5.1, 6.0, 7.1, 8.1, and 9.0 Change-Id: Ida0a64c29ff27d339b7f42a18d820930964ac6e4
* Add another license headerMatt Mower2017-01-201-0/+18
| | | | | | * Missed this one in the first sweep Change-Id: I5f2753f93ce3e9888c553de4c2e510137e818a29
* Update minuitwrp graphics in line with latest minuiEthan Yonker2016-01-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Note: events.cpp is still old code renamed to cpp to make it easier to call functions like gr_fb_width(). I had to modify AOSP fbdev code to provide a separate memory surface for drawing to as drawing directly to the framebuffer resulted in rendering taking about 5 times longer. I also modified AOSP adf code to provide a separate memory surface for drawing for the same performance reasons. The Nexus 9 supports adf graphics. Overlay graphics work on at least one device. Overlay provides a separate memory buffer already so performance is good. I do not have a drm device yet that I know of. I made some attempt to update the drm code to determine the correct pixel format based on the drm graphics format, but what is available in pixel flinger and what is available in drm do not line up all that well. Reports are that the Pixel C is using drm graphics, but performance is slow, likely due to the use of a mmap instead of a memory buffyer. Change-Id: Ibd45bccca6ac2cb826037aa9b2aa5065cf683eed
* Fix a bunch of warningsEthan Yonker2015-10-251-1/+1
| | | | | | Mostly adding __unused where needed. Change-Id: Ia4f675b9b360782728c361ed1699db0cc277c3a5
* Allow text to scale to fitEthan Yonker2015-10-161-1/+3
| | | | Change-Id: Iacd4bb78f551b51d092ecde09521b5541e7dadcd
* GUI: Support styles in xml to reduce xml file sizeEthan Yonker2015-02-211-2/+2
| | | | | | | Also allow sliders to have their own text label instead of requiring a whole separate text object for the label in the xml. Change-Id: I6e314efb4bb454d496555ff7e003d743063a1308
* gui: make resources type safethat2015-02-151-16/+7
| | | | | | | | | | | - add string, int, color and resource loading helpers - use typed resource classes, and some cleanup in loading code - remove abstract GetResource() to enforce type safe access - add height and width query methods to resources and use them - minor cleanup - simplify LoadPlacement Change-Id: I9b81785109a80b3806ad6b50cba4d893b87b0db1
* Conditional -> GUIObject and make all gui objects children of GUIObjectVojtech Bocek2014-02-121-1/+1
| | | | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: Ic0a7d6354dabe5919b83942f2f1aa0715625e522
* Add vibrations to Checkbox, Fileselect, Listbox and PartitionlistVojtech Bocek2014-02-081-0/+2
| | | | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I7b0e27930857add1ac88671a71310bea56fc4e74
* Unify indentation and little clean-up in TWRP filesVojtech Bocek2013-08-241-110/+114
| | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* Move all AOSP code out of recovery binaryDees_Troy2013-04-041-2/+1
| | | | | | Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
* TWRP-ify AOSP codeDees_Troy2012-09-051-0/+169
Pull in most TWRP sources Stub out partition management code Make it compile -- probably will not boot Kind of a mess but have to start somewhere