summaryrefslogtreecommitdiffstats
path: root/gui/devices/480x800/res/ui.xml (follow)
Commit message (Collapse)AuthorAgeFilesLines
* gui: remove old unmaintained 2.x themethat2017-01-181-469/+0
| | | | Change-Id: I1181307989c7478ac6b84bf77732ee5dcff52ed1
* gui: PatternPassword: allow any N*N gridAleksa Sarai2016-01-021-2/+41
| | | | | | | | | | Rather than only supporting a 3x3 grid, allow for multiple grid sizes (using the CyanogenMod method of generating passphrases for non-3x3 grids). Also fix the detection of touches, as the old code was far too sensitive for larger grids (and also didn't make much sense). Change-Id: I343ef654e6d29ce0cb790a28281be7c7c9b171d9 Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
* Remove support for non-TTF fontsEthan Yonker2015-10-151-3/+3
| | | | | | | | | | | This patch set removes support in TWRP for the old .dat file format as well as support for the AOSP style fonts in header files. We need TTF for scaling. Note that the old AOSP style header font is still supported in minui which is not used by TWRP. Change-Id: I6124a3333d479f1fc668138f7e32c4be9b519552
* Unicode for temperatureKetut Putu Kumajaya2015-10-151-1/+1
| | | | Change-Id: Ie86dc63f83ae51e9947debc7191fd91d61b83008
* Really fix background color on 480x800 themeEthan Yonker2015-07-221-0/+2
| | | | Change-Id: I70324ae3e4fffe88bc2b5a02becb7d1f4f0ceab0
* Fix minor background bug in 480x800 xmlEthan Yonker2015-07-131-2/+0
| | | | Change-Id: Ib67a356f8d5e6bb0f982c081fc88b6462c7fbd74
* Mount system as read-only by defaultEthan Yonker2015-05-271-0/+1
| | | | | | | | | | | | | | Mounting system as rw can prevent future OTA updates. The purpose of this patch set is to prevent TWRP from mounting sytem as rw on the first boot. Device maintainers should update their twrp.fstab files on these devices to include an additional line: /system_image emmc /dev/block/../system This line will allow TWRP to create a raw system image backup to ensure that the user can return to an original state for future OTA updates. Change-Id: I8929d85bc3a5b96cc564bc7f734b58d5612ec833
* Add UI for entering pattern for device decryptionVojtech Bocek2015-03-131-0/+8
| | | | | Change-Id: Ia2d3268a96423e9ca3846500c57e674c4f8fa60b Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* GUI: Add monospace TTFMatt Mower2015-03-131-0/+1
| | | | Change-Id: I287722719c1f73cc8f7214549f9a890f03d4a586
* Reduce themes to 5 and rely on scalingEthan Yonker2015-03-131-18/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will significantly reduce theme maintainence and should be a lot more sustainable over time. Eliminate most themes leaving only 5 remaining in 3 categores: * watch_mdpi: 320x320 * portrait_mdpi: 480x800 * portrait_hdpi: 1080x1920 * landscape_mdpi: 800x480 * landscape_hdpi: 1920x1200 Add handling to map the old DEVICE RESOLUTION to the new TW_THEME build flag. New devices should specify a theme using the new TW_THEME build flag using one of the 5 values from the list above. Long term we will eliminate the use of the DEVICE_RESOLUTION flag in favor of the new flag. Change the way sliders render so that they completely follow the placement="5". This will probably break some custom themes but is necessary so that we can retain the aspect ratio on slider images and still have them rendered at the center of the screen. Add code to the console slideout button so that it can be centered. Centering the slideout button allows us to keep the button at the center of the screen when retaining aspect ratios on the image. Add more retain aspect ratios for home, back, slideout, folder, file, and lock screen images. Change the way we build the top bar in TWRP. It is now mostly drawn using fill objects and the TWRP logo is a separate image so that we can retain its aspect ratio during scaling. Thanks to Mark Norelus for providing the TWRP logo. Change-Id: I801a7b3163cad9ef353461f4c327690a9ccbb3aa
* gui: make scroll bars smaller and transparentthat2015-03-061-4/+4
| | | | | | | | | Not all themes tested. To center the scrollbar horizontally on the line, the width must be fastscroll_linew + 2 * something. Change-Id: I3c2878734ffbd2e8ef3bc7c64b2f16d4f61aeda5
* GUI: Use valid XML syntaxMatt Mower2015-03-051-4/+4
| | | | | | | | | | | | | Safer handling: & --> &amp; > --> &gt; < --> &lt; Broken tags: </function> --> </action> <folders="1"...> --> <filter folders="1"...> Change-Id: Iaddaf9db163e08250cb4deefdfdb814c589ccb47
* Scale the GUI to fit the screenEthan Yonker2015-02-101-5/+5
| | | | | | | | | | | | With this patch set, if needed, we scale the images during early boot. TTF support is needed to properly scale the font. No font scaling is done on the old style fixed width font used in the console. Special thanks to _that for figuring out the scaling and blending function calls to make this possible. Change-Id: If2f79bef16d6db2e1298bfc3d00c9bcca2bee37a
* Allow flashing of images via the GUIEthan Yonker2015-01-091-0/+1
| | | | | | | | | | | - Use the Images... button in the lower right of the zip install page - Unify image flashing functions between restore and image flash - boot and recovery partitions are flashable by default - use fstab flag flashimg=1 or 0 to override defaults - file system partitions are currently not flashable Change-Id: I822dc446030543c55d2153e219d67a1292374ffc
* display cpu temperature in twrpJenkins2014-10-141-1/+10
| | | | | | | use TW_NO_CPU_TEMP := true to disable display use TW_CPU_CUSTOM_PATH := path to set custom path Change-Id: Id260ecbb4ec36a78442387329944f67003d0f6a0
* Add support for TrueType fontsVojtech Bocek2014-10-141-3/+3
| | | | | | | | | | | | | * Keeps original font system in place * Uses the same API as original font system: - You can render only one line at a time - You can only use one font and color for one gr_text* call * Caches all rendered text, with a string cache limited to 400 entries, then it trucates to 250, which results in memory usage hovering around 5-10MB Change-Id: I36107b9dcd8d57bae4486fce8b8f64e49ef3d906 Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* Allow ui.xml to include additional xml files to readEthan Yonker2014-07-281-3884/+4
| | | | | | | Use common portrait and landscape xml files based on resolution defined by the device. Change-Id: Iec528f9d846d49857ff98de1ac201e25dbb60339
* Implement "take a screenshot" featureVojtech Bocek2014-07-091-0/+5
| | | | | | | | * Like in android - press power+volume down, screenshots are saved in /sdcard/Pictures/Screenshots (if /sdcard is mounted) or /tmp Change-Id: Iaefa15b11a1d5fdfac57d77388db1621f378a8d4 Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* Track backup and restore progressEthan Yonker2014-07-091-0/+18
| | | | | | | | Track backup and restore progress based on the sizes of the files as they are being added to the tar backup file. Update the progress bar based on the sizes of the files. Change-Id: Idf649efa1db3e91830b4b2add86203a3f30042ff
* Color in the consoleEthan Yonker2014-07-091-0/+3
| | | | | | | | Allow each gui_print command to specify a color Change LOGERR to use the error color Theme should specify colors for error, warning, and highlight Change-Id: Ie8ece34111f604e25fcb79e5b731cd4e61038ff9
* Whitespace and minor code cleanupMatt Mower2014-06-041-3/+3
| | | | | | This is by no means comprehensive, but is quite a bit better already. Change-Id: Ibc8654a5dfb0eec39cbd0b64bdb52bb4fbfe2f7e
* Add options to repair or change file systemEthan Yonker2014-06-041-3/+345
| | | | Change-Id: I9043e98e1e1ed4722f05c13a60b43d2d0bf739f6
* Support alternative .android_secure locationMatt Mower2014-04-161-1/+4
| | | | | | | | | | | | | | | | Some devices (jewel, m8) have .android_secure at a non-standard location. Allow a different partition to be specified as the home of .android_secure using the fstab flag 'andsec'. Using the /data/media variant of jewel as an example, recovery.fstab or twrp.fstab could be edited like follows: /external_sd vfat /dev/block/mmcblk1p1 flags=display="MicroSD";andsec Note, this is NOT a method to move .android_secure in your ROM. Your ROM must already write to this alternative location. Change-Id: I3a6e4e63aaddb35870b79e80938b0f9c2c902443
* Refresh page after updating partition sizesMatt Mower2014-04-021-1/+4
| | | | | | | | Some (all?) devices do not update the partition size displayed on the backup screen when selecting "Refresh Sizes". Refresh the page after recalculating sizes. Change-Id: Id34da6c738f86501f73cbd7874f6921d1cda32c4
* Fix incorrect alignment of Restore Defaults button in some themesKra1o52014-03-101-8/+8
| | | | Change-Id: I11bd9fea2a900a92794c5c297846eb87265eeee7
* Add capslock support to keyboardEthan Yonker2014-02-171-1/+3
| | | | Change-Id: I4be3849ff0485536575395d798aa5edbe12651a7
* Implement mouse cursorVojtech Bocek2014-02-071-0/+7
| | | | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I66d6db7b3ed9cca50b469d125b36224332e06913
* Expansion of vibrate optionsEthan Yonker2014-02-071-1/+56
| | | | | | | Improve location / timing of vibration Split out vibrate settings for buttons, keyboard, and long actions Change-Id: I282825cc5f3e44ed6dcabe65dc1f4cb21b407b67
* Make fixing su perms automaticDees Troy2013-09-121-54/+0
| | | | | | | | 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-121-7/+16
| | | | Change-Id: I7847fca22b5d4f0a35da41625b15bd677a1e9768
* Add a TW_NO_TIMEOUT optionRicardo Gomez2013-08-251-0/+3
| | | | Change-Id: Ifb3a5bd9f1e6c2e9810c90b0aec198e91d5956fc
* Update themesDees_Troy2013-07-051-6/+18
| | | | Change-Id: Iedb50aca0132259bfe4297e187dbc2d40a38a34b
* Support encrypted backup filesDees_Troy2013-06-221-9/+318
| | | | | | | | | | | | | | | 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
* Add new SliderValue GUI widgetVojtech Bocek2013-04-041-84/+38
| | | | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: Ic5d44314f501341140dd7059d1cb753341f5844c
* Add partition list GUI elementDees_Troy2013-03-301-693/+319
| | | | | | | | | | | | 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
* Add fast scroll bar to fileselectorVojtech Bocek2013-02-271-0/+12
| | | | | | | 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-211-10/+2
| | | | | 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-211-0/+150
| | | | | | Also fix sort order for file selector by date and file sizes Change-Id: Idff9fe4232c19d4ed1082e78fabe6f921aa0a114
* add military time optionbigbiff bigbiff2013-02-211-0/+8
|
* Configurable timeout and brightness settingsDees_Troy2013-02-201-21/+132
| | | | Change-Id: I924297ab0dcf920cd4b4b617949c3b16cbc68e43
* Update listbox codeDees_Troy2013-02-151-9/+7
|
* Add highlight to file selectorDees_Troy2013-02-151-6/+12
|
* Add button highlightDees_Troy2013-02-151-1/+83
|
* adding sideload page with wipe cache and dalvikbigbiff bigbiff2013-01-251-11/+61
| | | | | fix variable Change-Id: I72eed7b4d709a184e53cc94165a1817a7dcf041e
* Use GUI for ORS instead of console onlyDees_Troy2013-01-251-15/+5
|
* add Decrypt Data buttonGary Peck2012-11-221-0/+12
| | | | | | | 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-191-1/+1
|
* Fixes for multi-user in 4.2Dees_Troy2012-11-151-1/+1
| | | | | | Also fixed inability to delete backups with a space in the name. Change-Id: I2f6639d33caa3c4542960f76adbd59b25ab64f5d
* Add keyboard key highlightDees_Troy2012-10-201-0/+1
|
* Remove text about fix perms taking a few minsDees_Troy2012-10-101-2/+0
|
* Add reboot system button after sideload, backup, and restoreDees_Troy2012-10-081-31/+35
| | | | A few other minor xml tweaks
* Revert busybox for CM7 compatibility, add exclamation point to format dataDees_Troy2012-09-281-2/+16
|
* Add option to wipe android secureDees_Troy2012-09-261-0/+18
|
* Fix SDCard partitioningDees_Troy2012-09-261-1/+1
|
* Allow spaces in backup namesDees_Troy2012-09-261-2/+2
|
* Unify portrait layouts againDees_Troy2012-09-261-52/+54
|
* Update portrait themes with ADB sideloadDees_Troy2012-09-201-0/+38
|
* TWRP-ify AOSP codeDees_Troy2012-09-051-0/+3501
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