Commit Graph

26 Commits

Author SHA1 Message Date
Joe Hansche
1c2238b3af minui: graphics: finish updates for 32-bit framebuffer in recovery
work around slight issue on Sensation device and Shooter, by using xres_virtual instead of xres to get the 4 extra bits needed. based of original changes from toastcfh and modified to not be hard coded 32 bit and work with 16 bit as well.

Change-Id: I15850a0969050598ffc14279b8b50c6fcb4682f7
2011-07-09 12:32:05 -04:00
Subbaraman Narayanamurthy
78f44e8bdf [PATCH] [recovery]: Fix recovery mode display for RGB8888 display.
Change-Id: If9cf141d89ef3b537d1228148cb324af7dcc11db
2011-07-07 02:02:51 -04:00
Carlos Silva
b5d0bd024c Add support for devices that have an upside-down mounted display.
ZTE Blade is an example of this type of devices.
The original patch comes from Sebastian404 -> http://goo.gl/QC37W

Change-Id: Idffd97adf7da8a352617342bb6ff2161e6eac3a5
2011-01-19 11:15:08 +00:00
Koushik Dutta
d0fff5633c Ifdef this a bit better.
Change-Id: I4528821563181ca7a64adff3a3128cea35447f09
2010-12-18 23:18:50 -08:00
Koushik Dutta
4995114d38 Add BOARD_HAS_JANKY_BACKBUFFER for terrible Galaxy Tabs.
Change-Id: I72e7a8aaf65c97d4cd2b77ff92cf7232f8c9e7a7
2010-12-18 21:58:43 -08:00
Koushik Dutta
df1e406782 Merge from ClockworkMod recovery
Change-Id: Id5b312147173ced559a62d97029acede6c2f8766
2010-12-18 17:42:31 -08:00
Koushik Dutta
02c360501b Fix graphics corruption on some devices. BML restore needs to unlock first.
Change-Id: Ib6ede1dee0a0a4494319cfdb1613be2e89260874
2010-12-12 02:52:44 -08:00
Christopher Lais
8df69c0660 minui: useless code is useless
Change-Id: I288c82a647c4145a2569d5dec206b8ca89693e7c
2010-11-27 23:02:01 -06:00
Christopher Lais
229a543bb3 minui: clean up some stuff, and avoid multiple key events on N1
Change-Id: I7d26a406eb200c866b2fbc841424ac698f6d3bf3
2010-11-27 22:52:39 -06:00
Koushik Dutta
517a16b98f Merge "minui: Add haptic feedback to virtual keys" into froyo 2010-11-28 03:54:03 +00:00
Koushik Dutta
9397e322c3 Merge "minui: add support for virtual keys" into froyo 2010-11-28 03:53:44 +00:00
Koushik Dutta
3847a2ddd9 add missing file
Change-Id: I11948c0b4aece99e5cbdc32b39ba5b76d1b0ffb2
2010-11-27 13:36:17 -08:00
Christopher Lais
44bd4947d2 minui: Add haptic feedback to virtual keys
Change-Id: Ibd9298513626092297bff83f4914b436c4ffbb3a
2010-11-27 13:36:23 -06:00
Christopher Lais
ac731c88e3 minui: add support for virtual keys
Change-Id: Ie0e75a2fbccd42993a2f7c3d42ba38afea2d7679
2010-11-26 23:32:26 -06:00
Ricardo Cerqueira
9acb022ab8 recovery: Support board-specified font sizes and font-files
This, for example, is for an LDPI device:
BOARD_RECOVERY_FONT_INCLUDE_HEADER := ../../device/geeksphone/one/font_7x16.h
BOARD_RECOVERY_FONT_WIDTH := 7
BOARD_RECOVERY_FONT_HEIGHT := 16

Change-Id: I71d2f420b9668b5767c9b0b5d90e3e523c56e873
2010-11-27 04:08:06 +00:00
Antonio Vazquez
158d25cae4 Supress "warning: comparison between signed and unsigned integer expressions" in minui/resources.c and mtdutils/mtdutils.c 2010-11-13 05:23:33 +08:00
Doug Zongker
51266d1397 clear recovery framebuffers on allocation; display icon right after ui_init
Make ui_init() clear the framebuffer memory it maps in so the user
isn't treated to a visible flash of random bits on recovery startup.
Call ui_set_background() (to show the installing icon) right after
ui_init() to display something while device_recovery_start() is
working (which can take a second or two on some devices).

Bug: 3145331
Change-Id: I11e7859fab5847370ea4f4932c3fb1558af26c5d
2010-11-01 10:19:12 -07:00
Doug Zongker
d93a25459c simplify construction of the recovery progress bar
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.
2009-10-08 16:32:58 -07:00
Doug Zongker
ddd6a2865d split out device-specific recovery UI code into vendor directories
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.
2009-06-11 14:50:33 -07:00
Rebecca Schultz Zavin
573fd7b68b Force the fb into 16 bpp mode in case the hw has some other default.
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2009-06-05 16:58:36 -07:00
Doug Zongker
19faefad05 AI 143289: am: CL 143128 Use PNG instead of BMP for recovery image icons. This saves
about 60k from the recovery and system images.
  Original author: dougz
  Merged from: //branches/donutburger/...

Automated import of CL 143289
2009-03-27 17:06:24 -07:00
The Android Open Source Project
c24a8e688a auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
The Android Open Source Project
ffb48f64fe auto import from //depot/cupcake/@135843 2009-03-03 18:28:14 -08:00
The Android Open Source Project
8b7334b3c2 auto import from //branches/cupcake/...@130745 2009-02-10 15:43:56 -08:00
The Android Open Source Project
ff3d93821e Code drop from //branches/cupcake/...@124589 2008-12-17 18:03:49 -08:00
The Android Open Source Project
23580ca27a Initial Contribution 2008-10-21 07:00:00 -07:00