summaryrefslogtreecommitdiffstats
path: root/gui/devices/watch/res (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-03-05gui: kinetic scrolling for consolethat1-0/+1
- Rebase console on ScrollList - Add fastscroll bar to console - ScrollList now has a mode that ignores selections - Increase kinetic scrolling speed for lists showing many items Change-Id: I6298d717d2e403f3e85e2c633d53c4284a066012
2015-03-05GUI: Terminal command: minor improvementsMatt Mower1-0/+1
* Use mono font for terminal command input * Recognize 'exit' command (go to main page) Change-Id: I5f383cd8d19959a49d2ae0b18f839b86e4145693
2015-03-05GUI: Use valid XML syntaxMatt Mower1-15/+15
Safer handling: & --> &amp; > --> &gt; < --> &lt; Broken tags: </function> --> </action> <folders="1"...> --> <filter folders="1"...> Change-Id: Iaddaf9db163e08250cb4deefdfdb814c589ccb47
2015-02-23Theme: Add ability to disable size checking before backupbigbiff1-1/+9
(for compressed backup users with low space). Clean up backup folder and copy only recovery.log for debugging. Conflicts: gui/devices/watch/res/watch.xml Change-Id: If8aa3580dbc082d0fe4882d4af8dc3cdb362a8b5
2015-02-23Fix reboot system on watch themeEthan Yonker1-1/+1
Change-Id: I008664109360d937a31232c8cc15c7c9d3dd0ba5
2015-02-21GUI: Support styles in xml to reduce xml file sizeEthan Yonker1-890/+275
Also allow sliders to have their own text label instead of requiring a whole separate text object for the label in the xml. Change-Id: I6e314efb4bb454d496555ff7e003d743063a1308
2015-01-27Add cancel backup capability.bigbiff1-0/+27
This will stop the iteration of the partition objects, kill the current twrpTar thread and remove the backup directory. Implement TWAtomicInt class to give us a wrapper that automatically uses mutexes before the read and write to help ensure that the reads and writes will be atomic based on documentation. Change-Id: I645b22bc980a292e9c7202acb24ffd22ebe68c63
2015-01-09Allow for X and Y offsets in GUIEthan Yonker1-2/+2
These can be used to center a lower resolution theme onto a higher resolution screen. May be useful for Nexus 9 unless or until we decide to do a 1536x2048 theme or on devices like the Moto 360 and LG G Watch R. The build flags will only affect the stock theme. If a custom theme wishes to apply an offset, it can be done by setting tw_x_offset and / or tw_y_offset in the variables section of the XML. Change-Id: I2390769ed861b96a4a3bb8a0f06d9021ec91b6b9
2015-01-09Allow flashing of images via the GUIEthan Yonker1-5/+178
- 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
2014-12-22fixPermissions: simplify code, fix bugsthat1-10/+69
- avoid parsing permission strings - fix memory leaks, a fix new/free mismatch and a compiler warning - fix that only first updated-package was processed - fix a potential stack overflow if packages.xml is huge - minor refactoring for reducing duplicated code - don't process packages without codePath - fix path for deleting app data (currently unused anyway) - fix file ownership on libs - try not to mess up Android 5.0 app permissions Patch set 4 - make fixing SELinux contexts an option with a check box - add some notes / text to the themes Patch set 6 - decouple "fix permissions" from "fix contexts" Change-Id: Icc77ecc581befc5ce6e419b1f3b8ca189208c234
2014-12-21Allow non datamedia devices to wipe encryptionEthan Yonker1-4/+25
With 5.0 L, we decrypt automatically if the default_password is used. Non datamedia devices do not get the format data button so they cannot wipe encryption off the device. This patch add a wipe encryption button where the format data button would normally be located on the Wipe page. This patch also attempts to remove / delete the dm-crypt block device before formatting. Change-Id: I100d5d154d6c49254fd48e23279df973db5f23ae
2014-10-20Fix placement of Android Secure and SD-EXT on wipe pageCaptain Throwback1-10/+10
Change-Id: Iac1c13b38df2ac66106abcda7c9d171a1549b65f
2014-10-14Update reference to 24-hour clockCaptain Throwback1-1/+1
Change-Id: Ic864fae4fda9707fc84d6d8b33587863b7664e1e
2014-09-03Refresh partition details after changing file systemDees Troy1-6/+26
Change-Id: I24f3c8587f778c4f0ef43737243c8378a3fd0e00
2014-09-03add mtp responder to TWRP.bigbiff bigbiff1-0/+26
Big thanks to Dees_Troy for helping with the implementation. Change-Id: I6c9c522b9c9de5dc139e2ecb0141008182ba07f0
2014-08-10Support reading since_epoch and secondary brightness filesxNUTx1-1/+1
TWFunc::Fixup_Time_On_Boot: Will now try to read /sys/class/rtc/rtc0/since_epoch to correct time, if that fails it will try to use the ats files to correct time. TWFunc::Set_Brightness: One single function to set brightness from both the automated functions and the gui actions. It is able to set a second brightness path if present, it will set them both the same value. Many Sony devices have 2 brightness files in the sysfs that must be set to properly set the brightness. Change-Id: I7ca582109085dfbcb46b8de73ad031e4b7903fca
2014-08-04Add 280x280 themeEthan Yonker1-1/+1
Change-Id: Iea2fac2f1b300c312819ea2d83e1762669d357b6
2014-07-30Add 320x320 theme and split out watch.xml for square watch layoutEthan Yonker1-0/+3839
Change-Id: I7fe38b20913a981942105637a527a2d26ed035a5