summaryrefslogtreecommitdiffstats
path: root/gui (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Properly delete all GUIObjects and pages on theme reloadVojtech Bocek2014-02-124-7/+31
| | | | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I8df41877f8f4439a434becfd47a9914b50649b34
* Conditional -> GUIObject and make all gui objects children of GUIObjectVojtech Bocek2014-02-1219-42/+119
| | | | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: Ic0a7d6354dabe5919b83942f2f1aa0715625e522
* Add vibrations to Checkbox, Fileselect, Listbox and PartitionlistVojtech Bocek2014-02-084-0/+10
| | | | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I7b0e27930857add1ac88671a71310bea56fc4e74
* Merge "Add option to print render time of each frame to log file" into android-4.4Dees Troy2014-02-071-0/+27
|\
| * Add option to print render time of each frame to log fileVojtech Bocek2014-02-061-0/+27
| | | | | | | | | | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: Id158a6375fbadf4cdf0a8c7d143759e602419e7f
* | Implement mouse cursorVojtech Bocek2014-02-0734-4/+384
| | | | | | | | | | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I66d6db7b3ed9cca50b469d125b36224332e06913
* | Expansion of vibrate optionsEthan Yonker2014-02-0718-51/+783
| | | | | | | | | | | | | | Improve location / timing of vibration Split out vibrate settings for buttons, keyboard, and long actions Change-Id: I282825cc5f3e44ed6dcabe65dc1f4cb21b407b67
* | Add haptic feedbackSamer Diab (S.a.M.e.R_d)2014-02-066-1/+55
|/ | | | Change-Id: I15d723f73c0b0bb4a40645d1c3f4c1c616f36998
* Don't switch between fast and normal scroll during drag in listviewsVojtech Bocek2014-01-292-4/+12
| | | | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I925adda7f417c6e578f501babc8ef2bec638f66b
* Force GUI render after setting brightnessMatt Mower2014-01-211-0/+1
| | | | Change-Id: I4470a3a090d10f400575d45338a8349fbee8a027
* Initial 240x240 thememasteroftime2014-01-1534-0/+3821
| | | | Change-Id: I478f172e1a549b50ebe29cf9a8b8618a84b3cb17
* Fix white point on top-bar images in some themesKra1o52014-01-143-0/+0
| | | | Change-Id: Ic6a0b4b3e41818ff510ca652d5f14bdecd531826
* Add support for persistent variables in theme's <variables> sectionVojtech Bocek2013-12-071-5/+10
| | | | | | | | | | | * Add support for variables with persist="1", which will cause them saved into settings file and reloaded on next boot. * This is handy for theme makers, who can use this to implement "theme settings". Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I6415979011b38cbb15dec9909c445b02da6eadc0
* Fix render issue when button has conditionalDees Troy2013-11-291-5/+9
| | | | | | | | | | If the button has a conditional, the image render function will return a 0 which indicated that an image was present even if it was not if the condition was not being met during boot. When the condition is met, mButtonImg was not set to NULL causing a render request failure. Change-Id: I32be0ddcdc1bf7ad22440d66018ef09484280afa
* Update partition sizes after sideloadDees Troy2013-11-261-0/+1
| | | | Change-Id: I4dbb4677f1c3bcfa0b0a9248ae0b411c155f927e
* Add check for making sure theme exists for devicebigbiff bigbiff2013-11-161-1/+9
| | | | Change-Id: I9b178cebbb2834cd0c86088c8e78678f55d14e62
* Add warning if DEVICE_RESOLUTION is not set in BoardConfig.mkbigbiff bigbiff2013-11-161-0/+8
| | | | Change-Id: Ifc71c2e2078dbcd4b4893205bea9988e1e129f83
* Update licenses to all matchDees Troy2013-10-226-49/+85
|
* Add conditions support to GUIImageVojtech Bocek2013-10-112-2/+5
| | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* Add 1200x1920 themeVojtech Bocek2013-09-1234-0/+3862
| | | | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I558c988c94f750607f58aa3dd22736447c78a214
* Add TWFunc::Exec_Cmd() with no 'result' agrumentVojtech Bocek2013-09-121-14/+10
| | | | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: Id8acff1ac9b3c7e4b562c80562a8ff42a1d132b9
* Make fixing su perms automaticDees Troy2013-09-1214-704/+3
| | | | | | | | In 4.3+ with SELinux, su perms will be lost on every reboot so users will get the prompt to fix su perms in TWRP every time. Make fixing the su perms automatic instead of nagging the user. Change-Id: Ia8a2652018db5e1f6ffc5fec2a4ac0db3a8f32bb
* Pull ROM info from build.prop for backup namesDees Troy2013-09-1216-101/+237
| | | | Change-Id: I7847fca22b5d4f0a35da41625b15bd677a1e9768
* Kang in older minzip for building in CM9 & CM7Dees Troy2013-09-106-1/+29
| | | | CM7 and CM9 do not have libselinux needed in the newer minzip.
* Fix backup list height on 1080x1920Dees_Troy2013-08-301-1/+1
|
* Add a TW_NO_TIMEOUT optionRicardo Gomez2013-08-2517-2/+84
| | | | Change-Id: Ifb3a5bd9f1e6c2e9810c90b0aec198e91d5956fc
* Unify indentation and little clean-up in TWRP filesVojtech Bocek2013-08-2423-3294/+3327
| | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* Add ability to run scripts after screen timeout/wakeDees_Troy2013-08-241-0/+2
|
* Revert "Fix touch not working due to gr_fb_width returning 0 in some cases"Dees_Troy2013-08-241-3/+1
| | | | | This reverts commit 70e1129612765b14e5aace0155d4683c91cde951. No longer needed after http://review.teamw.in/#/c/655/
* Remove graphics.c from libguitwrpDees_Troy2013-08-221-2/+2
|
* Fix touch not working due to gr_fb_width returning 0 in some casesDees_Troy2013-08-111-1/+3
| | | | Change-Id: Id5ce607a181110118ebc647fc07d387a7a3dc660
* Fix background image for 1920x1200Dees_Troy2013-07-061-0/+0
|
* Update themesDees_Troy2013-07-0544-162/+180
| | | | Change-Id: Iedb50aca0132259bfe4297e187dbc2d40a38a34b
* Merge changes I0d9133d6,I10355093 into twrp2.5Dees Troy2013-07-014-0/+15
|\ | | | | | | | | | | * changes: Do not render the GUI when the blanktimer turns off the display. Console Render Bug caused by touch drag event
| * Do not render the GUI when the blanktimer turns off the display.gordon13372013-06-083-0/+14
| | | | | | | | | | Normally, when the display has been turned off by blanktimer, the GUI actually still renders the GUI elements (eg. progressbar while doing backup/restore/etc.) This patch will check whenever the display is turned off, and if it is turned off simply dont render. This avoids heating up the device and will save battery.
| * Console Render Bug caused by touch drag eventgordon13372013-06-081-0/+1
| | | | | | | | | | | | With starting the console the touch drag event is active without even touching the display. This causes to render the console at any time it is displayed, which consumes alot of battery and heats up the device. What the patch does is resetting the touch drag state to ensure it is only re-rendering the console when it it really needed.
* | Fix some issues with wipe partition listDees_Troy2013-07-011-0/+7
| | | | | | | | Change-Id: Ie7d5878faf86b8fa824b72211be7fd3596b471d7
* | Support encrypted backup filesDees_Troy2013-06-2214-162/+4083
|/ | | | | | | | | | | | | | | Also includes features merged from: Update twrpTar by kokotas Revised function entryExists(). Added function to get archive's uncompressed size. Added option to exclude item(s) from the archive. Revised forks() http://review.teamw.in/#/c/590/ Change-Id: I01fa2c81643161984eff2625247af75990684bd9
* Improve handling of XML errors for fix permissionsDees_Troy2013-04-052-10/+29
|
* Add new SliderValue GUI widgetVojtech Bocek2013-04-0418-1008/+992
| | | | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: Ic5d44314f501341140dd7059d1cb753341f5844c
* Move all AOSP code out of recovery binaryDees_Troy2013-04-0422-183/+165
| | | | | | Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
* Add partition list GUI elementDees_Troy2013-03-3069-8239/+8596
| | | | | | | | | | | | Add partition list GUI element and update backup, restore, mount, storage selection, and wipe sections of GUI and partition manager code to reflect the new GUI element. Update ORS engine to handle new backup and restore setup. Fix a bug with decrypt. Add 1080x1920 layout. Change-Id: Iaa2f44cb707167e66f935452f076ba00e68a2aa4
* Merge "add no fb blanking Change-Id: Iaf771257d8f904807ca6f6c1a6c3d7993abadb85" into twrp2.4Dees Troy2013-03-122-0/+7
|\
| * add no fb blankingbigbiff bigbiff2013-03-112-0/+7
| | | | | | | | Change-Id: Iaf771257d8f904807ca6f6c1a6c3d7993abadb85
* | Remove unused fonts from 320x480Dees_Troy2013-03-113-0/+0
| |
* | Remove mutex from file seselectorDees_Troy2013-03-112-13/+4
|/ | | | | | | | | | mutex would, in some rare cases fail to lock and cause a freeze of the GUI. Also restored some code that was removed before and should not have been removed to fix a bug with folder selection where you select the same file or folder twice (e.g. select a backup on the restore page, press back, then select that backup again.)
* More file selector fixesDees_Troy2013-03-042-12/+31
| | | | | | | | Fix a freeze that occurs when you move or delete a file in the file manager Make file sort buttons work again Change-Id: Ifcb68edf3c29c475946d538748729485d0840842
* Merge "Add 2 second pre-dim and bugfix blank timer" into twrp2.4Dees_Troy2013-03-012-27/+33
|\
| * Add 2 second pre-dim and bugfix blank timerDees_Troy2013-03-012-27/+33
| | | | | | | | | | | | 2 second predim code courtesy of bigbiff Change-Id: I052ac422f78dc82c05f58c188587534b800b935a
* | Fix file selector crashDees_Troy2013-02-282-13/+19
|/ | | | | | | | Sometimes a var change event came in while the file selector was being rendered. Changes to the mFolderList or mFileList vectors sometimes resulted in a crash. This patch set moves the GetFileList call to the Render function to prevent the vectors from changing while the render is taking place.
* Load user saved setting for blank timer on recovery startupbigbiff bigbiff2013-02-282-1/+4
| | | | Fix persistence of military time
* Copy fast scroll feature to listboxDees_Troy2013-02-272-2/+101
|
* Add fast scroll bar to fileselectorVojtech Bocek2013-02-2714-2/+256
| | | | | | | Also fix build problems with libblkid in CM7 Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I1cd4573e25b247171e4bd8cc05b70543f897a454
* Remove ignore image size settingDees_Troy2013-02-2112-122/+175
| | | | | Move military time setting up and remove the now unused ignore image size setting from XML layouts.
* Check for root and root perms and offer to install/fixDees_Troy2013-02-2114-31/+1665
| | | | | | Also fix sort order for file selector by date and file sizes Change-Id: Idff9fe4232c19d4ed1082e78fabe6f921aa0a114
* add military time optionbigbiff bigbiff2013-02-2112-1/+98
|
* Configurable timeout and brightness settingsDees_Troy2013-02-2014-314/+1663
| | | | Change-Id: I924297ab0dcf920cd4b4b617949c3b16cbc68e43
* Minor fix for listbox codeDees_Troy2013-02-191-1/+1
|
* Merge "Fix keyboard layout on 800x1280" into twrp2.4Dees Troy2013-02-191-6/+6
|\
| * Fix keyboard layout on 800x1280Dees_Troy2013-02-151-6/+6
| |
* | Merge "Update listbox code" into twrp2.4Dees Troy2013-02-1914-297/+656
|\|
| * Update listbox codeDees_Troy2013-02-1514-297/+656
| |
* | Merge "Add highlight to file selector" into twrp2.4Dees Troy2013-02-1914-80/+236
|\|
| * Add highlight to file selectorDees_Troy2013-02-1514-80/+236
| |
* | Merge "Add button highlight" into twrp2.4Dees Troy2013-02-1914-13/+1040
|\|
| * Add button highlightDees_Troy2013-02-1514-13/+1040
| |
* | This adds a 60 second screen timeout for TWRP. Might consider making this configurable in the future.bigbiff bigbiff2013-02-136-480/+751
|/ | | | | | | | | | | | | | | Will also set overlay to lockscreen so we don't have inadvetent screen selections. Touching the screen will bring the display back up. add back check script for poweroff move diff time function to twrp-functions.cpp make sure we chmod after copy_file add read_file and write_file functions to twrp-functions.cpp make single thread try to force update screen add forceRender drop caches after tar processing Change-Id: I3c5c509dd39dbb05451bbfe5d8b56d53c90d8d1b
* file manager updates for exFATDees_Troy2013-01-281-2/+9
| | | | Change-Id: I06fa6120a975cbc3d4eef9bc2ca034ec716740ee
* Remove thread logging from actions.cppDees_Troy2013-01-281-3/+0
| | | | Change-Id: I2d2af963f4d6990191d91a336f682516af61d734
* Merge "Fix file manager displays empty list when folder is deleted" into twrp2.4Dees_Troy2013-01-281-14/+14
|\
| * Fix file manager displays empty list when folder is deletedDees_Troy2013-01-251-14/+14
| |
* | adding sideload page with wipe cache and dalvikbigbiff bigbiff2013-01-2513-135/+741
|/ | | | | fix variable Change-Id: I72eed7b4d709a184e53cc94165a1817a7dcf041e
* Use GUI for ORS instead of console onlyDees_Troy2013-01-2514-207/+93
|
* Convert AOSP commands to ORS for encrypted devicesDees_Troy2013-01-241-0/+12
| | | | Change-Id: I6a76a51cd9efd7db67d7abeeb26f9bdd0eebf5a9
* change tar create to pthreadbigbiff bigbiff2013-01-241-1/+2
| | | | Change-Id: I5a33d207ec6683de20da37e6f4f174c67785fc52
* Improve ORS sideload to display GUI with cancel buttonDees_Troy2013-01-183-5/+82
|
* Fix problems with thread creation on some devicesDees_Troy2013-01-161-1/+35
| | | | | | | | This fixes a problem with not reaching the backup completed page after a backup is complete on certain devices (GNex, Note2). Changing the stack size to 512KB seems to be the actual fix but leaving the other changes in place as they may be helpful or are better practices.
* Increase char array sizes to allow for null char for strcpyDees_Troy2013-01-101-1/+1
|
* Add libtar to TWRP instead of using busybox tarbigbiff bigbiff2013-01-092-29/+32
| | | | | | | Add proper mkdosfs tool Add fuse to TWRP Add experimental exfat-fuse to TWRP Convert all system() functions to use new Exec_Cmd function
* Fix keyboard layout on 800x1280 layoutDees_Troy2012-12-181-1/+1
|
* Fix defines on pages.hpp to not collide with pages.hDees_Troy2012-12-181-4/+3
|
* add Decrypt Data buttonGary Peck2012-11-2212-0/+144
| | | | | | | Allow to decrypt /data even if decryption was skipped during the initial loading of recovery Change-Id: If2251757a276dd069578e93e5a038b25a825bff6
* Fix renaming of backups with spaces, 2.3.2.3Dees_Troy2012-11-1911-11/+11
|
* Finish 2560x1600 themeDees_Troy2012-11-1941-120/+120
|
* Fixes for multi-user in 4.2Dees_Troy2012-11-1551-11/+3634
| | | | | | Also fixed inability to delete backups with a space in the name. Change-Id: I2f6639d33caa3c4542960f76adbd59b25ab64f5d
* Add keyboard key highlightDees_Troy2012-10-2014-15/+117
|
* Add ability for buttons to have highlights on touchDees_Troy2012-10-194-4/+66
|
* Update injecttwrp for Epic 4G TouchDees_Troy2012-10-161-1/+23
|
* Fix weird keyboard problemDees_Troy2012-10-151-3/+3
|
* Remove text about fix perms taking a few minsDees_Troy2012-10-1011-22/+0
|
* Finalize 2.3.0.0Dees_Troy2012-10-101-14/+4
| | | | | | Fix permission setting for other Add new fix permissions to GUI actions Update version number
* Add reboot system button after sideload, backup, and restoreDees_Troy2012-10-0811-341/+385
| | | | A few other minor xml tweaks
* Fix exclamation point on 720x1280 themeDees_Troy2012-10-081-2/+4
|
* Fix output of version numberDees_Troy2012-10-011-1/+0
|
* Fix some derpsDees_Troy2012-09-282-0/+1
|
* Revert busybox for CM7 compatibility, add exclamation point to format dataDees_Troy2012-09-2821-17/+169
|
* Save version number to storageDees_Troy2012-09-271-0/+1
|
* Create symlinks at compile time for busyboxDees_Troy2012-09-271-1/+2
|
* Update sdcard partitioning to C++Dees_Troy2012-09-271-68/+4
|
* Port backup name checking to Partition ManagerDees_Troy2012-09-271-3/+2
|
* Port reboot functions to C++Dees_Troy2012-09-271-12/+11
|
* Display symlinks and block devices in file managerDees_Troy2012-09-271-1/+1
|
* Add option to wipe android secureDees_Troy2012-09-2612-0/+200
|
* Fix permissions updatesDees_Troy2012-09-261-8/+17
| | | | | Also redirect stderr output on terminal commands for display in GUI console
* Fix SDCard partitioningDees_Troy2012-09-2612-14/+22
|
* Fix a problem with scrolling in the consoleDees_Troy2012-09-261-1/+1
|
* Allow spaces in backup namesDees_Troy2012-09-2611-22/+22
|
* Unify portrait layouts againDees_Troy2012-09-266-409/+404
|
* Change curtain to file and remove curtain raiseDees_Troy2012-09-2423-31899/+6
|
* Update tablet layouts with ADB sideloadDees_Troy2012-09-245-2/+187
|
* Fix 320x480 themeDees_Troy2012-09-221-37/+37
|
* Update portrait themes with ADB sideloadDees_Troy2012-09-203-27/+141
|
* Various fixesDees_Troy2012-09-201-0/+38
| | | | | | Modify AOSP mount and wipe functions to use Partition Manager. Update wipe code to reset the log file index when wiping cache. Add ADB sideload to 540x960 theme.
* Add and improve OpenRecoveryScript supportDees_Troy2012-09-201-3/+3
| | | | | Improve zip finding in ORS engine Add support for restoring with just a backup name
* Fix ext storage and zip pathsDees_Troy2012-09-192-0/+29
| | | | | | Fix a bug with handling external storage during boot. Check zip root path when switching storage and ensure that the path is in the new storage path to prevent user confusion.
* Improve adb sideload - use storage vs tmpDees_Troy2012-09-191-11/+8
|
* Improve adb sideload -- add cancelDees_Troy2012-09-192-7/+97
| | | | | Also copy zip from /tmp to storage and remove from /tmp to prevent running out of RAM.
* Cleanup extra-functionsDees_Troy2012-09-181-27/+13
|
* Update backup and restore code, adb sideloadDees_Troy2012-09-172-5/+53
| | | | | | | Fixed a problem with using make_ext4fs by making its lib a dynamic lib. Added ADB sideload zip install feature - no way to cancel it yet. Improve backup and restore code.
* Add wipe functions, compiles in CM7, text shows in UI, zips installDees_Troy2012-09-141-39/+34
| | | | | | | | Zip install works, had to move mincrypt code into TWRP to prevent a crash when checking the zip signature. Added wipe functions Made it compile in CM7 Made text show up in console and logging
* Make text appear in GUI console, Zip install works.Dees_Troy2012-09-123-0/+9
| | | | | | | Move TW zip install code to C++ so that it can use the ui->functions. Bring in mincrypt code to fix a crash during signature checking.
* Zip install works againDees_Troy2012-09-112-10/+15
|
* Improve storage size code, mount, unmountDees_Troy2012-09-101-15/+7
| | | | Add flag parsing from recovery.fstab
* Add processing of fstab, mounting, and decryptDees_Troy2012-09-075-935/+31
|
* Hax to make it bootDees_Troy2012-09-066-5/+919
|
* TWRP-ify AOSP codeDees_Troy2012-09-05497-0/+83509
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