summaryrefslogtreecommitdiffstats
path: root/gui/theme/common (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-01-21Support power key on slideoutMatt Mower3-0/+15
Change-Id: Ic1cba57b6d0fbefee2391d06d140da9e4e3dbb32
2017-01-21Whitespace cleanup in ThemesMatt Mower3-54/+52
Commit 'Copy Kernel Logs' did not adhere to tab spacing. Change-Id: Ie036aa6b973e01f992199787c64b54a6ccb73a7e
2017-01-18gui: Actions: Toggle backlight on power keyMatt Mower3-0/+15
Create GUIAction to handle KEY_POWER with a screen backlight toggle. Change-Id: Iad0a7923b4a776e0336722db74d6fc46cd0107a2
2017-01-18Whitespace cleanupMatt Mower1-2/+2
Change-Id: I93c65973679894bb8587da4b38b410d38036b8bd
2016-12-16Update Ukraine language translation (via jemmini)Ethan Yonker1-254/+681
Change-Id: Ice2bb6c66d47ca2da968f223dd47207159cc0b66
2016-12-16Add TWRP app install via TWRP recoveryEthan Yonker2-6/+112
Note: I will have to add a build flag for excluding the app later for watches and maybe Android TV. I will also have to add support in the tablet and watch layouts later. I will merge this for the initial roll out to select devices and finish up later. Change-Id: Ia4ce5522fae542afa1539b10c0691315392a19ab
2016-12-15TWRP Language UpdateMiroslav Brzychcy1-640/+640
Update slovak language on behalf of translator. Change-Id: I90f289dd082aef1780d63b4880092f57c48ad9ac
2016-12-13Support File Based EncryptionEthan Yonker1-0/+1
Change-Id: Ib688ddd0c32d3999590cacd86b6d9b18eac336e9
2016-12-13Add boot slot supportEthan Yonker2-0/+82
Change-Id: I7eaf80e327985f53791f90fbdebad022a9650d31
2016-12-05Support new AB OTA zipsEthan Yonker1-1/+1
Change-Id: I1ff883375a0a769bf27a834c9bf04c6cdbb42117
2016-12-02Copy Kernel Logsbigbiff bigbiff4-29/+116
Give user option to copy kernel logs to current storage Change-Id: I0c61122fb34826ddb08977e6cbf98e3adf477acd
2016-11-30MD5 verification sanityJames Christopher Adduono14-1/+15
We can use switches and enums to make things more understandable and work with results in a more sensible manner. PS2: Move file MD5 verification and error handling into a separate function to reduce code. PS3: Default to false in Check_Restore_File_MD5 function Change-Id: Id3ee0bb444cf13be67bb5dec2c43f7c26a86b954 (cherry picked from commit 5c3950716e5c7c6279efd5f3f338d6d22e5215e2)
2016-08-19GUI: Use standard routine for auto-rebootMatt Mower3-104/+65
If 'reboot after install' is enabled, follow the standard reboot routine to process 'No OS' and 'Install SuperSU' checks. Since the system reboot routine is repeated several times, it has been separated into its own routine. Change-Id: I4c1882ecb8dc2d153ec2378b2e0973ab1a2a8278
2016-08-19Fixup reboot after install variablesMatt Mower3-6/+15
* Create correctly named data manager variable 'tw_install_reboot' * Make configurable through Settings * Remove closing tag space in theme files (not personal preference, but should match surrounding code style) * Fix the "two presses needed to enable" issue for the checkbox on the install screen Change-Id: I0ceb60b4888a672e2f0ecb5672b03cc86615621a
2016-08-19GUI: Add countdown & cancel to install auto-rebootMatt Mower4-1/+178
Provide a countdown from 5 sec for the automated reboot after install. Include a cancel button to interrupt the process. Change-Id: Ib5e1447918adfde45eba361c088800812b690890
2016-08-19Finish creating disable_free_space_check variableMatt Mower4-5/+14
* Create data manager variable for 'tw_disable_free_space' * Make configurable through Settings * Fix the "two presses needed to enable" issue for the checkbox on the backup screen * No need to capitalize every word, but do specify precedes backup Change-Id: Id436cef13e4ca9349618420aac03862ec4e3c35e
2016-08-04Optimize and reduce size of PNG filesJames Christopher Adduono2-0/+0
Done using: find -type f -name *.png -exec optipng -o7 -nc -fix {} + (-nc is required as TWRP png lib can't handle color type changes) find -type f -name *.png -exec advdef -4 -z {} + (use Zopfli compressor on insane prefix to reduce size even more) Total amount of bytes saved: 317,491 Change-Id: I545c678f71942e6ceb95acb631841ea7ef82a049
2016-08-01ADB: Add adb backup for TWRP.bigbiff4-7/+30
Functionality for client side to backup tar and image streams over adbd to the client under backup.ab. Using adb backup on the client side you can backup the partitions TWRP knows about. On the client side you can do the following: adb backup -f <filename> --twrp <options> where options are --compress: compress data system: backup system cache: backup cache data: backup data boot: backup boot etc for each partition. You can string multiple options, i.e. adb backup -f <filename> --twrp --compress cache system data adb backup in TWRP will take any option corresponding to TWRP fstab partitions, e.g. efs boot as well. If you do not specify the filename with the -f option, adb will backup your data to a filename backup.ab on the client. You can then rename the file and encrypt it with desktop tools. If you don't want to use command line arguments: adb backup --twrp will bring up the gui and allow you to choose partitions from the backup page. To restore the backup use the following convention: adb restore <filename> Structures are used to store metadata in binary inside of the file itself. If the metadata structure is modified, update the adb version so that it will invalidate older backups and not cause issues on restore. When restoring, we currently do not support picking specific partitions. It's all or nothing. Change-Id: Idb92c37fc9801dc8d89ed2a4570e9d12e76facf8
2016-04-28Improve greek translationAlex Kalles1-19/+19
Some words are too big for the boxes Change-Id: I48c2361dd9c7937361c3fb63b9bd8834c57fe0e0
2016-04-09Update spanish translationmagdeoz1-228/+270
Change-Id: I4591a5fae396e7a993d4f70d80a1d1f3b2a83654
2016-04-06Update hungarian translationWechy771-0/+2
Change-Id: Iabd66596c0d1b83935c4adc4ac048f3881284269
2016-04-05translate install reboot option to dutchthecrazyskull1-0/+2
Change-Id: I23b2c44afca5c903becd201503f81766828c9304
2016-04-04Greek Translation from the updated en.xmlAlex Kalles1-0/+651
Change-Id: I5cd1b9c394c2777503e5567aaaa01210cfdb4caa
2016-04-04language: add 2 new strings in it.xmlSlimShadys1-0/+2
Change-Id: I45a6a75d2b9332e523a7f61f19594c4029665ed7
2016-04-04languages: add 2 new strings for RUSevenMaxs1-1/+3
Added translation Reboot Option and minor fix for Russian localization. Change-Id: Ibeade0ce85ac65daf68dfd6b085a32148f66d1cb
2016-04-03fix typothecrazyskull1-1/+1
Change-Id: I65f16530565c4b510274c72227a5f1483519a677
2016-03-31language: add 2 new strings to DEz31s1g1-0/+2
Change-Id: Ic9d51ddb7a8e47c62399d2e3101e788994276104
2016-03-31languages: add Reboot Option translationDaniel Sikorski1-0/+2
Change-Id: I33acec5b4d0a371978bf2a6ab3beb26d0d18400f
2016-03-31TWRP Install Reboot Optionbigbiff4-1/+21
This is a simple patch to allow users to reboot after installation of zip queue. Current timeout is 5 seconds before reboot. Change-Id: I1a18cbf7025086e35031ab7241b330babebb8343
2016-03-31languages: fix and improve german translationAndreas Blaesius1-2/+2
Change-Id: I7c5a0fbb1853836cfb5a7d1dfbbeb5f5613572b7
2016-03-31languages: add Polish translationdadi111-0/+670
translated by @dadi11 & @linar10 Change-Id: I09a550c3ee99d44c4ada0bb7d71eb763471c7fda
2016-03-31twrp: update Dutch translationsAndreas Blaesius1-1/+555
Change-Id: Ibcad999a1276b4519fc2b104b458ee77c984dc8b
2016-03-31Update & Fix ru.xmlSevenMaxs1-52/+52
Updating and minor fix of the translation for Russian localization. Change-Id: Ic68e0580a12521e71a8da926901a30a31489a079
2016-03-31recovery: update italian translationAndreas Blaesius1-491/+491
Translated by: Death Mask Salesman Change-Id: I87f1f4417689b62c171264bfc05bf58e2ddfea03
2016-03-31gui: add italian translationDiegool1-0/+670
Change-Id: Ia0bf0a3e1831016a0a418095356e236d55b07fe6
2016-03-31TWRP: hungarian translationWechy771-2/+33
add more strings and fixes my mistakes in crowdin ps2 remove whitespace Change-Id: If79e61fba5c1b2e54be29286b23a1b418095b07c
2016-03-05recovery: czech translationAndreas Blaesius1-0/+639
Uploaded on XDA from XDA-User "kodein" http://forum.xda-developers.com/showpost.php?p=65371227&postcount=1400 Change-Id: I6c3c4fe90b91a21400b11541f3895d92cc80ea1d
2016-02-29Unix file endings and remove execute permissionMatt Mower2-669/+669
Change-Id: Iceaae3f7f20c3c6f23da807786b4cf4739c887c9
2016-02-05twrp: translations: formatting and fix Turkish language fileAndreas Blaesius5-2616/+2617
Change-Id: I3159a2a0c37589f9472aba83b699840356da33a7
2016-02-05More languages, some partial, from Omni crowdinEthan Yonker6-0/+2924
Change-Id: I05d0e8516686ba2610ea4b437c83323e84eb4595
2016-02-05Add font settings to some language filesEthan Yonker3-0/+18
Change-Id: I949fe4bd99d2a4471fef3e3967980a6163943e71
2016-02-05Import approved translations from crowdinAndreas Blaesius4-0/+1999
- PS2: generic xml instead android xml - PS3: formatting Change-Id: I4c552e172d670278ab2bad1897ceb89b7ee7fec2
2016-02-05gui: imrove Russian translationAlexander Agura1-163/+162
Seems that previous translator is overmind Anyway, thanx him for initial translation Change-Id: Ia98e344c24671cb60a0765e7c6dcb8aace6428fb
2016-02-05gui: add german translationz31s1g5-28/+672
also correct typo in all language files also remove dummy language files for ES and FI german translation was done on omni crowdin by multiple translators: https://crowdin.com/project/OmniROM/de# result was updated in line with latest changes (as of 02032016) to en.xml Change-Id: Iddd8dbee7e050833a4dc61174288514d408267f7 Signed-off-by: z31s1g <z31s1g@googlemail.com>
2016-02-03Add ru.xml to translation engine on behalf on jemminiMax Matviychuk1-0/+672
Change-Id: I5d2d92f0d24228de9c63640d866e087542499d9d
2016-02-02gui: tweak storage selectionz31s1g2-13/+15
minor changes to the storage selection that was intrduced with commit 16373 (improve sdcard partitioning) Change-Id: I50437111f45d0b7e2b78a655424daa63aea374cc Signed-off-by: z31s1g <z31s1g@googlemail.com>
2016-01-29Remove execute permissions from source filesthat4-0/+0
Change-Id: I5deef665ab374491c0f498b498971abd525d1111
2016-01-29Replace fix permissions with fix contexts for emulated storageEthan Yonker4-62/+45
Fix permissions rarely fixed anything on more recent versions of Android and usually made things worse. Instead we will replace it with a more dumbed down option that should fix contexts on /data/media with a few improvements to ensure that contexts get fixed for multiple users and on adopted storage. Change-Id: If5523781936a0b04196e2ad871cae767ebae2583
2016-01-29Fix translation spellingssndnvaps4-8/+8
Change-Id: I16f71797901ed21763b52a5cf750f383a460ce4d Signed-off-by: sndnvaps <sndnvaps@gmail.com>
2016-01-29gui: move "(Up A Level)" in file selector to resource stringthat1-0/+1
Doing it at display time is easier. Change-Id: Ic0f2ca1f425f6267452157524a05b51d9324be16
2016-01-25Adopted Storage supportEthan Yonker3-0/+13
-Detects, decrypts, and mounts an adopted SD card if a secondary block device is defined (usually mmcblk1) -Handles unified storage -Displays the adopted storage in MTP along with internal -Factory Reset - wiped just like a data media device, we retain the keys folder and the storage.xml during a factory reset -Backup / Restore -Disable mass storage when adopted storage is present -Read storage nickname from storage.xml and apply it to display names in the GUI -Read storage.xml and determine what storage location is in use for /sdcard and remap accordingly libgpt_twrp is source code mostly kanged from an efimanager project. It is GPL v2 or higher, so we will opt for GPL v3. Change-Id: Ieda0030bec5155ba8d2b9167dc0016cebbf39d55
2016-01-25gui: add icons on settings tabsz31s1g1-2/+6
use icons instead of text on settings tabs portrait themes only, landscape has no problems if a translated label needs more space Change-Id: I611ee9e34d5641c00d8894e219502a6198648339 Signed-off-by: z31s1g <z31s1g@googlemail.com>
2016-01-25Fix bracket in watch themeEthan Yonker1-1/+1
Change-Id: Ic30b56840f32215c2f171e043c99e679d33957fd
2016-01-23gui: add language selection to several pagesz31s1g4-102/+539
Language selection for decrypt, decrypt_pattern and system_readonly pages. Done: portrait landscape watch Change-Id: I5fd595cadcdebdd06e9dbb164d0736c84426ff1b Signed-off-by: z31s1g <z31s1g@googlemail.com>
2016-01-22gui: language EN fixesz31s1g1-2/+4
-swipe to reboot added -added comment regarding "type yes to confirm format data" -Remove the word "Settings" from the from some header subheadings (some had it, some don't) Change-Id: Id3810c4f3aa5c02e94d854118805da7e51d309f3 Signed-off-by: z31s1g <z31s1g@googlemail.com>
2016-01-22Fix a bunch of messagesMatt Mower4-28/+23
* Find and rename/remove duplicate string variable names * Add missing string variables to en language file * Fix display of some strings missing @ in front of variable name * Fix several %s --> {1} * Be consistent in usage of cancelled vs. canceled (both spellings acceptable) Tip for finding strings missing from language files: 1) Find all messages: egrep -hr "gui_msg.+=" > /tmp/msgs.txt 2) Regex replace to trim them down WHAT: ^\s+gui_msg(?:[^"]+)"([a-zA-Z0-9_]+)=([^"]+).+ WITH: $1 Note that $2 can be used to retain the message 3) Find missing strings: for i in $(cat /tmp/msgs.txt); do if ! grep -q $i gui/theme/common/languages/en.xml; then echo $i; fi done Change-Id: Ic193162e4b5468bf027472928a370be39840ea1d
2016-01-16Add theme version checkingEthan Yonker1-0/+1
Add a themeversion value to the ui.xml details section. Check this value against a define during early theme loading. If we are loading a custom theme, then reject the custom theme if the version does not match (or not defined) and load the stock theme. If it is the stock theme, show a warning but continue loading. Also fix an issue with changing overlays. Not sure how it ever worked before, but it works now. TLDR: Use the stock theme if the custom theme version does not match. Change-Id: I0277cbe035cbec7e16b6327500762dadf9c1c5c8
2016-01-14Improve sdcard partitioning processEthan Yonker4-33/+236
-Improve code for partitioning sdcards -Allow user to select a device for partitioning (must be removable) -Use sgdisk to partition sdcards -Set default sizes for ext and swap to 0 -Change increments for ext to 256MB and swap to 64MB Note: sgdisk is included in 6.0. I have included a static prebuilt sgdisk for trees that do not have sgdisk, however the prebuilt sgdisk is a decent bit larger than the old parted binary. The old parted binary is quite old at this point and we only have it for armv7a. sgdisk should be maintained by AOSP and can be built from source so it should work across architectures. Change-Id: Ib80882d9b5776e5e9358b11340fba392e6f1ae09
2016-01-13gui: theme changes for terminalz31s1g3-205/+484
Done: Portrait HDPI, MDPI Landscape HDPI, MDPI Watch Also still includes ugly changes for the old portrait theme to test the terminal emulator. Change-Id: If32af1c69b85417522a8a2fb9c20be515b4d70fc
2016-01-05Fix translation spellingsEthan Yonker4-11/+12
Change-Id: I3fc40c61d78cf017c6753ddd9520aa2ef2e853fc
2016-01-04gui: Fix partition repair messageGreg Wallace1-0/+1
The message was named something non-existent. Fix the spelling error and add the default message into the language files. Change-Id: I4e9e10d2705b1edf75b185d3badba59eb86ffb8b
2016-01-04gui: Fix typo of formatting_using messageGreg Wallace1-1/+1
Change-Id: I6df4937658815350366ed3dd2cf92156f98c96c4
2016-01-02gui: PatternPassword: allow any N*N gridAleksa Sarai4-6/+147
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>
2015-12-29twrp: fix a typo and remove whitespaceAndreas Blaesius1-2/+2
Change-Id: I783e2bbc15ad8e10aab81d14d140a995681e860f
2015-12-29gui: fix screenshot_saved messagethat1-0/+1
Change-Id: I7d047fe3436100dbe7c7515860a143a97f7ef0d4
2015-12-19Multiple Language SupportEthan Yonker6-1519/+2303
This is similar to https://gerrit.omnirom.org/#/c/14014 A lot of the features built in the older patch set have been split out into separate patches, most of which have already been merged. The remaining functionality here should all be directly related to language selection and loading. We always load English as a base before loading other languages over the top of the base. The idea is that if another language is missing a translation, then we will still display the English. Maybe still to do: read the /cache/recovery/last_locale file and load a language based on that. For me, this file contains just: en_US We probably won't bother with region specific translations so we would have to look at either trimming off the _US or using some other method like perhaps a symlink or a combination of the two. Thanks to _that for twmsg.cpp class Change-Id: I9647a22e47883a3ddd2de1da51f64aab7c328f74
2015-12-19gui: stock theme reworkz31s1g7-0/+13801
Tries to combine the current theme with a touch of material. Page structure is untouched for the most part. Layout grid is changed to achieve a "less random" placement of objects on a page. Change-Id: Icaf796be410431b17d5be6ccc1134d40912bef0b