Ethan Yonker
6b4276f760
Remove size parameter from substr call
...
Change-Id: I2745bcf8f242fe4a1992aa547efaccf33db0fb5b
2014-03-07 06:48:45 -06:00
Vojtech Bocek
d5b26d61e7
Fix "\n\n" string in gui_print(), remove unused gui_print_overwrite()
...
Change-Id: Ib23354a706013c8cee6665c720fa3b890f3fb3de
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
2014-03-06 22:59:22 +01:00
Dees Troy
eacfc37083
Merge "Tweak 240x240 theme" into android-4.4
2014-03-06 17:11:22 +01:00
Dees Troy
54a69f4d59
Tweak 240x240 theme
...
Change-Id: I0801d29aeb66678157123e3630b09a2b527ad4df
2014-03-06 14:22:28 +00:00
Vojtech Bocek
c58846b200
Fix wordwrap in console eating last char if str.size() == max_line_len
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
Change-Id: I4a23cd78bd63d63f4d6ec8f34dcc6eced824123b
2014-03-04 19:58:01 +01:00
Ethan Yonker
04a5b0e0e2
Merge "Allow sideloading from /tmp" into android-4.4
2014-02-26 20:58:51 +01:00
Ethan Yonker
45312e551f
Allow sideloading from /tmp
...
Change-Id: I7ba9a8a496536ed55241e45e18297bd824d7e28c
2014-02-26 09:23:53 -06:00
Dees Troy
31218ec952
Add word wrap to console output and fix scrolling in console
...
Change-Id: Ibcf89952ee1391350c715f1ec82cf0cdb9b0ca7d
2014-02-26 08:52:05 -06:00
Ethan Yonker
30e41c784e
Merge "Remove some unneeded code" into android-4.4
2014-02-25 18:05:45 +01:00
Ethan Yonker
c3120d41b8
Add capslock support to keyboard
...
Change-Id: I4be3849ff0485536575395d798aa5edbe12651a7
2014-02-17 08:11:14 -06:00
Ethan Yonker
8214f0ae64
Remove some unneeded code
...
Change-Id: I52b34a316950e92a3aa4c1675475fca8dc08d2c8
2014-02-16 15:15:34 -06:00
Vojtech Bocek
072205626c
Cache results of GUIObject::isConditionTrue()
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
Change-Id: Ia50f7c365b2dc0a65ee046bb42972e3594264878
2014-02-12 19:19:32 +01:00
Vojtech Bocek
bfb6334ca8
Properly delete all GUIObjects and pages on theme reload
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
Change-Id: I8df41877f8f4439a434becfd47a9914b50649b34
2014-02-12 19:19:15 +01:00
Vojtech Bocek
ede51c528e
Conditional -> GUIObject and make all gui objects children of GUIObject
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
Change-Id: Ic0a7d6354dabe5919b83942f2f1aa0715625e522
2014-02-12 18:30:41 +01:00
Vojtech Bocek
5af8f3faca
Add vibrations to Checkbox, Fileselect, Listbox and Partitionlist
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
Change-Id: I7b0e27930857add1ac88671a71310bea56fc4e74
2014-02-08 02:22:23 +01:00
Dees Troy
3b2be98ca4
Merge "Add option to print render time of each frame to log file" into android-4.4
2014-02-07 19:46:59 +01:00
Vojtech Bocek
1fc30fc77b
Implement mouse cursor
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
Change-Id: I66d6db7b3ed9cca50b469d125b36224332e06913
2014-02-07 12:37:13 -06:00
Ethan Yonker
03db326c64
Expansion of vibrate options
...
Improve location / timing of vibration
Split out vibrate settings for buttons, keyboard, and long actions
Change-Id: I282825cc5f3e44ed6dcabe65dc1f4cb21b407b67
2014-02-07 09:53:41 -06:00
Vojtech Bocek
e5ffcd1af2
Add option to print render time of each frame to log file
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
Change-Id: Id158a6375fbadf4cdf0a8c7d143759e602419e7f
2014-02-06 21:18:08 +01:00
Samer Diab (S.a.M.e.R_d)
71e9b049c2
Add haptic feedback
...
Change-Id: I15d723f73c0b0bb4a40645d1c3f4c1c616f36998
2014-02-06 20:27:28 +01:00
Vojtech Bocek
59e51a4349
Don't switch between fast and normal scroll during drag in listviews
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
Change-Id: I925adda7f417c6e578f501babc8ef2bec638f66b
2014-01-29 19:15:56 +01:00
Matt Mower
b53907e594
Force GUI render after setting brightness
...
Change-Id: I4470a3a090d10f400575d45338a8349fbee8a027
2014-01-20 22:16:39 -05:00
masteroftime
b58e6d253a
Initial 240x240 theme
...
Change-Id: I478f172e1a549b50ebe29cf9a8b8618a84b3cb17
2014-01-15 20:36:29 +00:00
Kra1o5
b99d8f2c2e
Fix white point on top-bar images in some themes
...
Change-Id: Ic6a0b4b3e41818ff510ca652d5f14bdecd531826
2014-01-14 18:12:01 +01:00
Vojtech Bocek
81c29dc7c4
Add support for persistent variables in theme's <variables> section
...
* 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-12-07 23:05:10 +01:00
Dees Troy
4168a07310
Fix render issue when button has conditional
...
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-29 05:02:40 +00:00
Dees Troy
8c0f06b0d3
Update partition sizes after sideload
...
Change-Id: I4dbb4677f1c3bcfa0b0a9248ae0b411c155f927e
2013-11-26 21:21:29 +00:00
bigbiff bigbiff
163d474803
Add check for making sure theme exists for device
...
Change-Id: I9b178cebbb2834cd0c86088c8e78678f55d14e62
2013-11-16 13:47:30 -05:00
bigbiff bigbiff
705f16ea4b
Add warning if DEVICE_RESOLUTION is not set in BoardConfig.mk
...
Change-Id: Ifc71c2e2078dbcd4b4893205bea9988e1e129f83
2013-11-16 10:15:46 -05:00
Dees Troy
3be70a897e
Update licenses to all match
2013-10-22 14:25:12 +00:00
Vojtech Bocek
6041a78f8f
Add conditions support to GUIImage
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
2013-10-11 14:41:39 +02:00
Vojtech Bocek
1239ee8b34
Add 1200x1920 theme
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
Change-Id: I558c988c94f750607f58aa3dd22736447c78a214
2013-09-12 15:40:22 +00:00
Vojtech Bocek
05534209f1
Add TWFunc::Exec_Cmd() with no 'result' agrument
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
Change-Id: Id8acff1ac9b3c7e4b562c80562a8ff42a1d132b9
2013-09-12 15:36:40 +00:00
Dees Troy
f193f88e6d
Make fixing su perms automatic
...
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-12 09:11:32 -05:00
Dees Troy
b21cc64ca8
Pull ROM info from build.prop for backup names
...
Change-Id: I7847fca22b5d4f0a35da41625b15bd677a1e9768
2013-09-12 09:11:13 -05:00
Dees Troy
b7ae098e21
Kang in older minzip for building in CM9 & CM7
...
CM7 and CM9 do not have libselinux needed in the newer minzip.
2013-09-10 20:47:46 +00:00
Dees_Troy
7abb7a5813
Fix backup list height on 1080x1920
2013-08-30 02:07:19 +00:00
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