summaryrefslogtreecommitdiffstats
path: root/gui/theme/landscape_hdpi (follow)
Commit message (Collapse)AuthorAgeFilesLines
* twrpDigest refactorbigbiff bigbiff2017-06-172-2/+2
| | | | | | | | | | | | | | | | | | | This patch is to refactor twrpDigest using polymorphism and inheritance to use the same call patterns for creating and reading a digest. Now a library. Use SHA2 from libcrypto. SHA2 is default if device has libcrypto. Change string MD5 everywhere to use digest or Digest instead. Updated string tags to digest. Translation will be required. Switch out digest code into a driver class from partitionmanager. SHA2 is better for digest creation due to decreased collision space compared to MD5 and SHA1. See https://en.wikipedia.org/wiki/SHA-2 Change-Id: I74b5546789990b12aa4ce2e389d25f80a3fe213f
* gui: bump theme version to 2that2017-01-182-2/+2
| | | | | | | | Commit 9472ba1d introduced new behavior for KEY_POWER which needs a corresponding change in the theme to call the setbacklight action whenever the power button is pressed. Change-Id: Iacd46436b04aba1ecb1adbb684c56c3ef994bfe0
* gui: Actions: Toggle backlight on power keyMatt Mower2017-01-181-1/+1
| | | | | | Create GUIAction to handle KEY_POWER with a screen backlight toggle. Change-Id: Iad0a7923b4a776e0336722db74d6fc46cd0107a2
* Optimize and reduce size of PNG filesJames Christopher Adduono2016-08-0456-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
* Unix file endings and remove execute permissionMatt Mower2016-02-291-51/+51
| | | | Change-Id: Iceaae3f7f20c3c6f23da807786b4cf4739c887c9
* Remove execute permissions from source filesthat2016-01-293-0/+0
| | | | Change-Id: I5deef665ab374491c0f498b498971abd525d1111
* ifdef and comment out libjpegEthan Yonker2016-01-272-3/+2
| | | | | | | | Chances are there are not many themes in widespread use that are using jpeg images, but this will be easy to revert back or even just temporarily modify if we need jpeg support in a pinch. Change-Id: If17b05ce3ebccce724fd74b26ed8ea91b287c3cf
* gui: use XML-based page for splash screen instead of a static jpgthat2016-01-254-0/+52
| | | | | | | | | | For devices with an unusual aspect ratio, stretching a bitmap to the screen resolution is sub-optimal. So let's reuse our XML engine that allows assembling the splash screen from individual parts. The splash page is loaded from a separate XML file for quick loading. Change-Id: I2d3dad26e42fcefaf563dacdf0ffa61f209dada1
* gui: make tw_show_kb non-persistentz31s1g2016-01-181-1/+1
| | | | | Change-Id: Icb3dd2342cc3bdc349aaf933d306b9f5315d1e98 Signed-off-by: z31s1g <z31s1g@googlemail.com>
* Add theme version checkingEthan Yonker2016-01-161-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
* gui: theme changes for terminalz31s1g2016-01-1313-499/+573
| | | | | | | | | | | | | 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
* gui: PatternPassword: allow any N*N gridAleksa Sarai2016-01-021-1/+1
| | | | | | | | | | 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>
* Multiple Language SupportEthan Yonker2015-12-191-19/+30
| | | | | | | | | | | | | | | | | | | | | | | 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-1945-0/+635
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