summaryrefslogtreecommitdiffstats
path: root/ui.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* simplify construction of the recovery progress barDoug Zongker2009-10-091-23/+11
| | | | | | | | | | | Instead of six separate images for the left end, right end, and tiled center portion of the full and empty progress bars, just use two images: a full bar and an empty bar. Draw the left side of the full bar and the right side of the empty one, moving the boundary rightward to "fill" the bar. This makes recovery trivially smaller, and allows fancier images to be used as progress bars. Support paletted PNG images as resources.
* don't complain if recovery icon is shortDoug Zongker2009-09-151-1/+5
| | | | | | | | If the a recovery icon file is so short that we can't even read the 8-byte header, put a message in the log but not on the device screen. We intentionally have zero-length files for some icons on some devices, if they're never shown (eg, the firmware installation icons are only used on HTC devices).
* fix compile warnings in recovery, change imagesDoug Zongker2009-07-231-0/+1
| | | | | | | | | gcc 4.4 complains about some of the recovery ui functions not being declared. To include the header, we have to fix the 'volatile' declaration (otherwise there's a compiler error). Move the dream-specific images to vendor/htc/dream, make the default images a generic phone.
* split out device-specific recovery UI code into vendor directoriesDoug Zongker2009-06-111-8/+2
| | | | | | | | | Take some device-specific details of the recovery UI (eg, what keys to press to bring up the interface and perform actions, exact text of the menu, etc.) and split them out into separate C functions. Arrange to take implementations of those functions from the appropriate vendor directory at build time. Provide a default implementation in case no vendor-specific one is available.
* AI 144105: am: CL 144082 Remove the unused "unpacking" recovery icon.Doug Zongker2009-04-021-1/+0
| | | | | | | Original author: dougz Merged from: //branches/donutburger/... Automated import of CL 144105
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-041-0/+542
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-041-542/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-111-9/+131
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+420