summaryrefslogtreecommitdiffstats
path: root/gui/theme (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add theme version checkingEthan Yonker2016-01-166-0/+6
| | | | | | | | | | | | | | | | 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
* Improve sdcard partitioning processEthan Yonker2016-01-144-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
* gui: theme changes for terminalz31s1g2016-01-1349-2491/+3019
| | | | | | | | | | | | | 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
* Fix translation spellingsEthan Yonker2016-01-054-11/+12
| | | | Change-Id: I3fc40c61d78cf017c6753ddd9520aa2ef2e853fc
* gui: Fix partition repair messageGreg Wallace2016-01-041-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
* gui: Fix typo of formatting_using messageGreg Wallace2016-01-041-1/+1
| | | | Change-Id: I6df4937658815350366ed3dd2cf92156f98c96c4
* gui: PatternPassword: allow any N*N gridAleksa Sarai2016-01-0211-15/+158
| | | | | | | | | | 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>
* twrp: fix a typo and remove whitespaceAndreas Blaesius2015-12-291-2/+2
| | | | Change-Id: I783e2bbc15ad8e10aab81d14d140a995681e860f
* gui: fix screenshot_saved messagethat2015-12-291-0/+1
| | | | Change-Id: I7d047fe3436100dbe7c7515860a143a97f7ef0d4
* Multiple Language SupportEthan Yonker2015-12-1911-1602/+2430
| | | | | | | | | | | | | | | | | | | | | | | 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
* gui: stock theme reworkz31s1g2015-12-19243-0/+16575
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