Commit Graph

101 Commits

Author SHA1 Message Date
Ricardo Gomez
c9ecd4473c Add a TW_NO_TIMEOUT option
Change-Id: Ifb3a5bd9f1e6c2e9810c90b0aec198e91d5956fc
2013-08-25 21:10:08 +00:00
Vojtech Bocek
fafb0c541b Unify indentation and little clean-up in TWRP files
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
2013-08-24 07:56:48 -05:00
Dees_Troy
1c8d4fb0ea Add ability to run scripts after screen timeout/wake 2013-08-24 07:45:46 -05:00
Dees_Troy
b7ecc09d93 Revert "Fix touch not working due to gr_fb_width returning 0 in some cases"
This reverts commit 70e1129612.
No longer needed after http://review.teamw.in/#/c/655/
2013-08-24 07:43:14 -05:00
Dees_Troy
94e2a46402 Remove graphics.c from libguitwrp 2013-08-22 12:25:14 +00:00
Dees_Troy
70e1129612 Fix touch not working due to gr_fb_width returning 0 in some cases
Change-Id: Id5ce607a181110118ebc647fc07d387a7a3dc660
2013-08-11 13:47:26 +00:00
Dees_Troy
9309fad4ca Fix background image for 1920x1200 2013-07-06 13:19:21 +00:00
Dees_Troy
e7e0ae87df Update themes
Change-Id: Iedb50aca0132259bfe4297e187dbc2d40a38a34b
2013-07-05 16:09:04 +00:00
Dees Troy
c322a1bc50 Merge changes I0d9133d6,I10355093 into twrp2.5
* changes:
  Do not render the GUI when the blanktimer turns off the display.
  Console Render Bug caused by touch drag event
2013-07-01 15:34:53 -05:00
Dees_Troy
74fb2e94d5 Fix some issues with wipe partition list
Change-Id: Ie7d5878faf86b8fa824b72211be7fd3596b471d7
2013-07-01 20:20:58 +00:00
Dees_Troy
83bd483f3d Support encrypted backup files
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-22 16:16:55 -05:00
gordon1337
0d9133d654 Do not render the GUI when the blanktimer turns off the display.
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-08 14:17:07 +02:00
gordon1337
1035509376 Console Render Bug caused by touch drag event
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-06-08 14:15:32 +02:00
Dees_Troy
34614eb94f Improve handling of XML errors for fix permissions 2013-04-05 12:04:38 -05:00
Vojtech Bocek
85932344cd Add new SliderValue GUI widget
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>

Change-Id: Ic5d44314f501341140dd7059d1cb753341f5844c
2013-04-04 18:59:08 +00:00
Dees_Troy
2673cec07a Move all AOSP code out of recovery binary
Improves license compatibility between GPL and Apache

Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
2013-04-04 18:57:34 +00:00
Dees_Troy
a13d74fc95 Add partition list GUI element
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-30 08:56:39 -05:00
Dees Troy
4771e0130a Merge "add no fb blanking Change-Id: Iaf771257d8f904807ca6f6c1a6c3d7993abadb85" into twrp2.4 2013-03-11 21:35:23 -05:00
bigbiff bigbiff
8794036ba3 add no fb blanking
Change-Id: Iaf771257d8f904807ca6f6c1a6c3d7993abadb85
2013-03-11 18:45:06 -04:00
Dees_Troy
cc5859fea1 Remove unused fonts from 320x480 2013-03-11 18:00:48 +00:00
Dees_Troy
146d72a739 Remove mutex from file seselector
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-11 17:46:33 +00:00
Dees_Troy
4622cf9f52 More file selector fixes
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-04 19:10:37 +00:00
Dees_Troy
07712b2226 Merge "Add 2 second pre-dim and bugfix blank timer" into twrp2.4 2013-02-28 19:37:36 -06:00
Dees_Troy
70237dc675 Add 2 second pre-dim and bugfix blank timer
2 second predim code courtesy of bigbiff

Change-Id: I052ac422f78dc82c05f58c188587534b800b935a
2013-02-28 19:36:09 -06:00
Dees_Troy
c0583f54e4 Fix file selector crash
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-28 11:29:36 -06:00
bigbiff bigbiff
f8e2f37565 Load user saved setting for blank timer on recovery startup
Fix persistence of military time
2013-02-27 20:50:43 -05:00
Dees_Troy
58f5cf0ab5 Copy fast scroll feature to listbox 2013-02-27 22:21:41 +00:00
Vojtech Bocek
7cc278bb99 Add fast scroll bar to fileselector
Also fix build problems with libblkid in CM7

Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
Change-Id: I1cd4573e25b247171e4bd8cc05b70543f897a454
2013-02-27 21:59:21 +00:00
Dees_Troy
8211102b4e Remove ignore image size setting
Move military time setting up and remove the now unused ignore
image size setting from XML layouts.
2013-02-21 21:14:08 +00:00
Dees_Troy
6ef6635ad3 Check for root and root perms and offer to install/fix
Also fix sort order for file selector by date and file sizes

Change-Id: Idff9fe4232c19d4ed1082e78fabe6f921aa0a114
2013-02-21 18:23:43 +00:00
bigbiff bigbiff
4efe9c3c7d add military time option 2013-02-20 18:58:11 -05:00
Dees_Troy
2f9117af30 Configurable timeout and brightness settings
Change-Id: I924297ab0dcf920cd4b4b617949c3b16cbc68e43
2013-02-20 09:35:23 -06:00
Dees_Troy
e42845962d Minor fix for listbox code 2013-02-19 16:59:35 +00:00
Dees Troy
c81c3cad51 Merge "Fix keyboard layout on 800x1280" into twrp2.4 2013-02-19 08:41:38 -06:00
Dees Troy
72394403b9 Merge "Update listbox code" into twrp2.4 2013-02-19 08:41:23 -06:00
Dees Troy
94a599f575 Merge "Add highlight to file selector" into twrp2.4 2013-02-19 08:41:07 -06:00
Dees Troy
c4517b2042 Merge "Add button highlight" into twrp2.4 2013-02-19 08:40:49 -06:00
Dees_Troy
f5f395b8ca Fix keyboard layout on 800x1280 2013-02-15 14:45:53 -06:00
Dees_Troy
eead985c57 Update listbox code 2013-02-15 14:31:58 -06:00
Dees_Troy
e7585ca9b5 Add highlight to file selector 2013-02-15 11:42:29 -06:00
Dees_Troy
1a7a6675ea Add button highlight 2013-02-15 09:42:35 -06:00
bigbiff bigbiff
8a68c31ffc This adds a 60 second screen timeout for TWRP. Might consider making this configurable in the future.
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-02-13 13:16:03 -06:00
Dees_Troy
3ee47bc2ab file manager updates for exFAT
Change-Id: I06fa6120a975cbc3d4eef9bc2ca034ec716740ee
2013-01-28 15:20:03 +00:00
Dees_Troy
eb50caaa7a Remove thread logging from actions.cpp
Change-Id: I2d2af963f4d6990191d91a336f682516af61d734
2013-01-28 15:12:30 +00:00
Dees_Troy
8005946bd2 Merge "Fix file manager displays empty list when folder is deleted" into twrp2.4 2013-01-28 09:09:37 -06:00
Dees_Troy
80a11d9a6e Fix file manager displays empty list when folder is deleted 2013-01-25 16:36:07 +00:00
bigbiff bigbiff
7ce7f0cde4 adding sideload page with wipe cache and dalvik
fix variable
Change-Id: I72eed7b4d709a184e53cc94165a1817a7dcf041e
2013-01-25 15:59:19 +00:00
Dees_Troy
6ed34b7f61 Use GUI for ORS instead of console only 2013-01-25 15:10:48 +00:00
Dees_Troy
01b6d0c9be Convert AOSP commands to ORS for encrypted devices
Change-Id: I6a76a51cd9efd7db67d7abeeb26f9bdd0eebf5a9
2013-01-24 19:48:08 +00:00
bigbiff bigbiff
3bf2b0e630 change tar create to pthread
Change-Id: I5a33d207ec6683de20da37e6f4f174c67785fc52
2013-01-24 19:44:11 +00:00