summaryrefslogtreecommitdiffstats
path: root/gui/theme/portrait_hdpi (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-08-04Optimize and reduce size of PNG filesJames Christopher Adduono57-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-01-31gui: fix partition list height for image flashingz31s1g1-1/+1
list height now accomodates 4 entries Change-Id: Ib5a5e2bad408f393abbd433b5f23a5d25711ca6c Signed-off-by: z31s1g <z31s1g@googlemail.com>
2016-01-29Remove execute permissions from source filesthat3-0/+0
Change-Id: I5deef665ab374491c0f498b498971abd525d1111
2016-01-27ifdef and comment out libjpegEthan Yonker2-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
2016-01-25gui: add icons on settings tabsz31s1g6-10/+29
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-25gui: use XML-based page for splash screen instead of a static jpgthat4-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
2016-01-18gui: make tw_show_kb non-persistentz31s1g1-1/+1
Change-Id: Icb3dd2342cc3bdc349aaf933d306b9f5315d1e98 Signed-off-by: z31s1g <z31s1g@googlemail.com>
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-13gui: theme changes for terminalz31s1g7-438/+471
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-02gui: PatternPassword: allow any N*N gridAleksa Sarai1-2/+2
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-19Multiple Language SupportEthan Yonker1-21/+32
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 reworkz31s1g46-0/+575
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