summaryrefslogtreecommitdiffstats
path: root/gui (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-02-12Properly delete all GUIObjects and pages on theme reloadVojtech Bocek4-7/+31
Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I8df41877f8f4439a434becfd47a9914b50649b34
2014-02-12Conditional -> GUIObject and make all gui objects children of GUIObjectVojtech Bocek19-42/+119
Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: Ic0a7d6354dabe5919b83942f2f1aa0715625e522
2014-02-08Add vibrations to Checkbox, Fileselect, Listbox and PartitionlistVojtech Bocek4-0/+10
Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I7b0e27930857add1ac88671a71310bea56fc4e74
2014-02-07Implement mouse cursorVojtech Bocek34-4/+384
Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I66d6db7b3ed9cca50b469d125b36224332e06913
2014-02-07Expansion of vibrate optionsEthan Yonker18-51/+783
Improve location / timing of vibration Split out vibrate settings for buttons, keyboard, and long actions Change-Id: I282825cc5f3e44ed6dcabe65dc1f4cb21b407b67
2014-02-06Add option to print render time of each frame to log fileVojtech Bocek1-0/+27
Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: Id158a6375fbadf4cdf0a8c7d143759e602419e7f
2014-02-06Add haptic feedbackSamer Diab (S.a.M.e.R_d)6-1/+55
Change-Id: I15d723f73c0b0bb4a40645d1c3f4c1c616f36998
2014-01-29Don't switch between fast and normal scroll during drag in listviewsVojtech Bocek2-4/+12
Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I925adda7f417c6e578f501babc8ef2bec638f66b
2014-01-21Force GUI render after setting brightnessMatt Mower1-0/+1
Change-Id: I4470a3a090d10f400575d45338a8349fbee8a027
2014-01-15Initial 240x240 thememasteroftime34-0/+3821
Change-Id: I478f172e1a549b50ebe29cf9a8b8618a84b3cb17
2014-01-14Fix white point on top-bar images in some themesKra1o53-0/+0
Change-Id: Ic6a0b4b3e41818ff510ca652d5f14bdecd531826
2013-12-07Add support for persistent variables in theme's <variables> sectionVojtech Bocek1-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
2013-11-29Fix render issue when button has conditionalDees Troy1-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
2013-11-26Update partition sizes after sideloadDees Troy1-0/+1
Change-Id: I4dbb4677f1c3bcfa0b0a9248ae0b411c155f927e
2013-11-16Add check for making sure theme exists for devicebigbiff bigbiff1-1/+9
Change-Id: I9b178cebbb2834cd0c86088c8e78678f55d14e62
2013-11-16Add warning if DEVICE_RESOLUTION is not set in BoardConfig.mkbigbiff bigbiff1-0/+8
Change-Id: Ifc71c2e2078dbcd4b4893205bea9988e1e129f83
2013-10-24Update licenses to all matchDees Troy6-49/+85
Change-Id: I3be70a897e563658736b2dec3a9ea2697b69b225
2013-10-22Update licenses to all matchDees Troy6-49/+85
2013-10-11Add conditions support to GUIImageVojtech Bocek2-2/+5
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
2013-09-12Add 1200x1920 themeVojtech Bocek34-0/+3862
Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I558c988c94f750607f58aa3dd22736447c78a214
2013-09-12Add TWFunc::Exec_Cmd() with no 'result' agrumentVojtech Bocek1-14/+10
Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: Id8acff1ac9b3c7e4b562c80562a8ff42a1d132b9
2013-09-12Make fixing su perms automaticDees Troy14-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
2013-09-12Pull ROM info from build.prop for backup namesDees Troy16-101/+237
Change-Id: I7847fca22b5d4f0a35da41625b15bd677a1e9768
2013-09-10Kang in older minzip for building in CM9 & CM7Dees Troy6-1/+29
CM7 and CM9 do not have libselinux needed in the newer minzip.
2013-08-30Fix backup list height on 1080x1920Dees_Troy1-1/+1
2013-08-25Add a TW_NO_TIMEOUT optionRicardo Gomez17-2/+84
Change-Id: Ifb3a5bd9f1e6c2e9810c90b0aec198e91d5956fc
2013-08-24Unify indentation and little clean-up in TWRP filesVojtech Bocek23-3294/+3327
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
2013-08-24Add ability to run scripts after screen timeout/wakeDees_Troy1-0/+2
2013-08-24Revert "Fix touch not working due to gr_fb_width returning 0 in some cases"Dees_Troy1-3/+1
This reverts commit 70e1129612765b14e5aace0155d4683c91cde951. No longer needed after http://review.teamw.in/#/c/655/
2013-08-22Remove graphics.c from libguitwrpDees_Troy1-2/+2
2013-08-11Fix touch not working due to gr_fb_width returning 0 in some casesDees_Troy1-1/+3
Change-Id: Id5ce607a181110118ebc647fc07d387a7a3dc660
2013-07-06Fix background image for 1920x1200Dees_Troy1-0/+0
2013-07-05Update themesDees_Troy44-162/+180
Change-Id: Iedb50aca0132259bfe4297e187dbc2d40a38a34b
2013-07-01Fix some issues with wipe partition listDees_Troy1-0/+7
Change-Id: Ie7d5878faf86b8fa824b72211be7fd3596b471d7
2013-06-22Support encrypted backup filesDees_Troy14-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
2013-06-08Do not render the GUI when the blanktimer turns off the display.gordon13373-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.
2013-06-08Console Render Bug caused by touch drag eventgordon13371-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.
2013-04-05Improve handling of XML errors for fix permissionsDees_Troy2-10/+29
2013-04-04Add new SliderValue GUI widgetVojtech Bocek18-1008/+992
Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: Ic5d44314f501341140dd7059d1cb753341f5844c
2013-04-04Move all AOSP code out of recovery binaryDees_Troy22-183/+165
Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
2013-03-30Add partition list GUI elementDees_Troy69-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
2013-03-11add no fb blankingbigbiff bigbiff2-0/+7
Change-Id: Iaf771257d8f904807ca6f6c1a6c3d7993abadb85
2013-03-11Remove unused fonts from 320x480Dees_Troy3-0/+0
2013-03-11Remove mutex from file seselectorDees_Troy2-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.)
2013-03-04More file selector fixesDees_Troy2-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
2013-03-01Add 2 second pre-dim and bugfix blank timerDees_Troy2-27/+33
2 second predim code courtesy of bigbiff Change-Id: I052ac422f78dc82c05f58c188587534b800b935a
2013-02-28Fix file selector crashDees_Troy2-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.
2013-02-28Load user saved setting for blank timer on recovery startupbigbiff bigbiff2-1/+4
Fix persistence of military time
2013-02-27Copy fast scroll feature to listboxDees_Troy2-2/+101
2013-02-27Add fast scroll bar to fileselectorVojtech Bocek14-2/+256
Also fix build problems with libblkid in CM7 Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I1cd4573e25b247171e4bd8cc05b70543f897a454
2013-02-21Remove ignore image size settingDees_Troy12-122/+175
Move military time setting up and remove the now unused ignore image size setting from XML layouts.
2013-02-21Check for root and root perms and offer to install/fixDees_Troy14-31/+1665
Also fix sort order for file selector by date and file sizes Change-Id: Idff9fe4232c19d4ed1082e78fabe6f921aa0a114
2013-02-21add military time optionbigbiff bigbiff12-1/+98
2013-02-20Configurable timeout and brightness settingsDees_Troy14-314/+1663
Change-Id: I924297ab0dcf920cd4b4b617949c3b16cbc68e43
2013-02-19Minor fix for listbox codeDees_Troy1-1/+1
2013-02-15Fix keyboard layout on 800x1280Dees_Troy1-6/+6
2013-02-15Update listbox codeDees_Troy14-297/+656
2013-02-15Add highlight to file selectorDees_Troy14-80/+236
2013-02-15Add button highlightDees_Troy14-13/+1040
2013-02-13This adds a 60 second screen timeout for TWRP. Might consider making this configurable in the future.bigbiff bigbiff6-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
2013-01-28file manager updates for exFATDees_Troy1-2/+9
Change-Id: I06fa6120a975cbc3d4eef9bc2ca034ec716740ee
2013-01-28Remove thread logging from actions.cppDees_Troy1-3/+0
Change-Id: I2d2af963f4d6990191d91a336f682516af61d734
2013-01-25Fix file manager displays empty list when folder is deletedDees_Troy1-14/+14
2013-01-25adding sideload page with wipe cache and dalvikbigbiff bigbiff13-135/+741
fix variable Change-Id: I72eed7b4d709a184e53cc94165a1817a7dcf041e
2013-01-25Use GUI for ORS instead of console onlyDees_Troy14-207/+93
2013-01-24Convert AOSP commands to ORS for encrypted devicesDees_Troy1-0/+12
Change-Id: I6a76a51cd9efd7db67d7abeeb26f9bdd0eebf5a9
2013-01-24change tar create to pthreadbigbiff bigbiff1-1/+2
Change-Id: I5a33d207ec6683de20da37e6f4f174c67785fc52
2013-01-18Improve ORS sideload to display GUI with cancel buttonDees_Troy3-5/+82
2013-01-16Fix problems with thread creation on some devicesDees_Troy1-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.
2013-01-10Increase char array sizes to allow for null char for strcpyDees_Troy1-1/+1
2013-01-09Add libtar to TWRP instead of using busybox tarbigbiff bigbiff2-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
2012-12-18Fix keyboard layout on 800x1280 layoutDees_Troy1-1/+1
2012-12-18Fix defines on pages.hpp to not collide with pages.hDees_Troy1-4/+3
2012-11-22add Decrypt Data buttonGary Peck12-0/+144
Allow to decrypt /data even if decryption was skipped during the initial loading of recovery Change-Id: If2251757a276dd069578e93e5a038b25a825bff6
2012-11-19Fix renaming of backups with spaces, 2.3.2.3Dees_Troy11-11/+11
2012-11-19Finish 2560x1600 themeDees_Troy41-120/+120
2012-11-15Fixes for multi-user in 4.2Dees_Troy51-11/+3634
Also fixed inability to delete backups with a space in the name. Change-Id: I2f6639d33caa3c4542960f76adbd59b25ab64f5d
2012-10-20Add keyboard key highlightDees_Troy14-15/+117
2012-10-19Add ability for buttons to have highlights on touchDees_Troy4-4/+66
2012-10-16Update injecttwrp for Epic 4G TouchDees_Troy1-1/+23
2012-10-15Fix weird keyboard problemDees_Troy1-3/+3
2012-10-10Remove text about fix perms taking a few minsDees_Troy11-22/+0
2012-10-10Finalize 2.3.0.0Dees_Troy1-14/+4
Fix permission setting for other Add new fix permissions to GUI actions Update version number
2012-10-08Add reboot system button after sideload, backup, and restoreDees_Troy11-341/+385
A few other minor xml tweaks
2012-10-08Fix exclamation point on 720x1280 themeDees_Troy1-2/+4
2012-10-01Fix output of version numberDees_Troy1-1/+0
2012-09-28Fix some derpsDees_Troy2-0/+1
2012-09-28Revert busybox for CM7 compatibility, add exclamation point to format dataDees_Troy21-17/+169
2012-09-27Save version number to storageDees_Troy1-0/+1
2012-09-27Create symlinks at compile time for busyboxDees_Troy1-1/+2
2012-09-27Update sdcard partitioning to C++Dees_Troy1-68/+4
2012-09-27Port backup name checking to Partition ManagerDees_Troy1-3/+2
2012-09-27Port reboot functions to C++Dees_Troy1-12/+11
2012-09-27Display symlinks and block devices in file managerDees_Troy1-1/+1
2012-09-26Add option to wipe android secureDees_Troy12-0/+200
2012-09-26Fix permissions updatesDees_Troy1-8/+17
Also redirect stderr output on terminal commands for display in GUI console
2012-09-26Fix SDCard partitioningDees_Troy12-14/+22
2012-09-26Fix a problem with scrolling in the consoleDees_Troy1-1/+1
2012-09-26Allow spaces in backup namesDees_Troy11-22/+22
2012-09-26Unify portrait layouts againDees_Troy6-409/+404
2012-09-24Change curtain to file and remove curtain raiseDees_Troy23-31899/+6
2012-09-24Update tablet layouts with ADB sideloadDees_Troy5-2/+187
2012-09-22Fix 320x480 themeDees_Troy1-37/+37
2012-09-20Update portrait themes with ADB sideloadDees_Troy3-27/+141
2012-09-20Various fixesDees_Troy1-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.
2012-09-20Add and improve OpenRecoveryScript supportDees_Troy1-3/+3
Improve zip finding in ORS engine Add support for restoring with just a backup name
2012-09-19Fix ext storage and zip pathsDees_Troy2-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.
2012-09-19Improve adb sideload - use storage vs tmpDees_Troy1-11/+8
2012-09-19Improve adb sideload -- add cancelDees_Troy2-7/+97
Also copy zip from /tmp to storage and remove from /tmp to prevent running out of RAM.
2012-09-18Cleanup extra-functionsDees_Troy1-27/+13
2012-09-17Update backup and restore code, adb sideloadDees_Troy2-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.
2012-09-14Add wipe functions, compiles in CM7, text shows in UI, zips installDees_Troy1-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
2012-09-12Make text appear in GUI console, Zip install works.Dees_Troy3-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.
2012-09-11Zip install works againDees_Troy2-10/+15
2012-09-10Improve storage size code, mount, unmountDees_Troy1-15/+7
Add flag parsing from recovery.fstab
2012-09-07Add processing of fstab, mounting, and decryptDees_Troy5-935/+31
2012-09-06Hax to make it bootDees_Troy6-5/+919
2012-09-05TWRP-ify AOSP codeDees_Troy497-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