summaryrefslogtreecommitdiffstats
path: root/minui/Android.mk (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-12-01minui: bring back custom font supportmaxwen1-1/+3
Change-Id: I6cb97b236ff8ada46d270e99ab37656f5f1b73f8
2015-10-14Add support for RGBA_8888 pixel formatKra1o51-0/+3
Change-Id: Ia15d49e51cad5bc8a3291975e1ff515a2b1c419c
2015-10-14Add qcom overlay graphics support to minuiEthan Yonker1-2/+17
graphics_overlay.cpp is based on a mix of AOSP code for graphics_fbdev.cpp along with overlay graphics code from CAF that was brought into earlier versions of TWRP and then further adapted and improved before being brought into this patch set. Also added a rule to build a minuitest binary for testing the minui engine to ensure proper operation on a device. Change-Id: I3972d3a6baa7002615319421ac07d9299c3cec69
2015-07-16minui: add BOARD_USE_CUSTOM_RECOVERY_FONTmaxwen1-1/+6
we want to use it in charger Change-Id: I3e0288b074bd7203214d218aaee69cb4798e9531
2015-07-02Add drm support to minuiStéphane Marchesin1-0/+2
Bug: 22231636 Change-Id: I103c8e906b7dd9862b7bb89d8642268e9a3006b4 Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
2015-04-23Add option to use new heap_id_mask instead of old heap_maskKra1o51-0/+4
Use TW_NEW_ION_HEAP := true to use it Change-Id: I2ad105fa6d122b460ed4b5dc78563077b7904567
2015-04-10Switch minui over to C++.Elliott Hughes1-4/+4
Change-Id: I59e08a304ae514a3fdb6fab58721f11670bc1b01
2015-04-10Add ev_iterate_available_keys to minui.Elliott Hughes1-2/+7
This lets us recognize whether we have up/down/power, say, and tailor the UI accordingly. Change-Id: If94e454f14243b59d2f473ac9a436bd60591da01
2015-03-24Fix recovery image text rendering.Elliott Hughes1-2/+3
Previously most devices would lose the character before a line wrap. The log's text rendering was starting at offset 4 but none of the arithmetic was taking this into account. It just happened to work on the Nexus 9's 1536-pixel wide display (1536/18=85.3) but not on a device such as the Nexus 5 (1080/18=60). The only active part of this change is the change from 4 to 0 in the gr_text call. The rest is just a few bits of trivial cleanup while I was working out what was going on. Change-Id: I9279ae323c77bc8b6ea87dc0fe009aaaec6bfa0e
2015-02-26Drop hardcoded LOCAL_C_INCLUDES from minui/Android.mkTrevor Drake1-4/+1
The zlib include was not required. libpng is now handled by referencing the libpng static library Change-Id: Ie4e0abad3fff5b763eba363d3d0fa96128ff49bc
2015-02-12Fix Droid and animation color in recovery modeTony Kuo1-0/+3
[Problem] Droid and animation color in recovery mode are incorrect [Modify] - Add support for flipping (zero copy) with RECOVERY_ABGR. - Decodes PNG files to BGRA directly, and other fills, text and alpha blending are also done directly in BGRA (i.e. blits can still bypass conversion) - Remove the BGRA workaround added previous for single buffer mode (f766396) Bug:19216535 Change-Id: Ie864419fc6da776ff58b2d02e130f203c194500f Signed-off-by: Tony Kuo <tony.kuo@mediatek.com>
2015-02-11recovery: Generate libminui dynamic libraryAjay Dudani1-0/+7
Allow factory test images to use minui functionaltiy by making use of libminui dynamic library. Change-Id: I63e77420d5addbcc6eebeedc213f629085766b4c
2014-12-17Add support for custom kernel headersKra1o51-2/+10
Change-Id: I39fe4de8919e59dd75e8cb535fa0648948035c26
2014-11-07Fix up old libminui to compileEthan Yonker1-2/+4
Implement some needed updates to libminui to make it compile for healthd. Note that res_create_multi_display_surface is not fully implemented so healthd may still have issues with displaying some graphics. Will update later when we are able to test these changes. Change-Id: Ic1095a998f5dfe7e36a08384c86da28e0524a03f
2014-11-06Revert to old libminui and fix upEthan Yonker1-5/+2
We will wait for CAF to give us a new libminui that supports qualcomm overlay before moving up to the new format if possible. Attempt to fix up old libminui to work with new libpng. Change-Id: I494b7287b347f4730aa8f9d27d4cc17b6e93919a
2014-09-03Build block TWRP with RECOVERY_VARIANTMatt Mower1-4/+4
Enable TWRP to reside alongside other recoveries with the naming convention: bootable/recovery(-flag). If TWRP resides at bootable/recovery and a device does not specify RECOVERY_VARIANT, then it will build like normal. If TWRP resides at bootable/recovery-twrp, then its makefiles will only be parsed if a device specifies 'RECOVERY_VARIANT := twrp'. This prevents TWRP specific makefile warnings/errors (notably, missing DEVICE_RESOLUTION) when another recovery is being built. Change-Id: I8f02fffcd79c309c7123b9428eedc69af02e126e
2014-05-02Update minui to support overlay graphicsDees Troy1-1/+76
Fix path in minuitwrp for includes Change-Id: I9e9e5f67e8574cdcbc6f8873ceeb56eab71143ed
2014-04-26recovery: minui: add adf backendGreg Hackmann1-1/+4
Change-Id: I1ad97b5b62bddbcb1104fa0b4e54415b793a4194 Signed-off-by: Greg Hackmann <ghackmann@google.com>
2014-03-11separate fbdev-specific code out from minuiDoug Zongker1-1/+1
Isolate the code that interacts with fbdev, in preparation for adding a new backend. Change-Id: I19105e9da1ca6408cebc110f7e2bb5abfb481ee9
2014-03-11separate fbdev-specific code out from minuiDoug Zongker1-1/+1
Isolate the code that interacts with fbdev, in preparation for adding a new backend. Change-Id: I19105e9da1ca6408cebc110f7e2bb5abfb481ee9
2014-02-06minui: adapt backlight blanking commit to TWRPMatt Mower1-2/+10
Change-Id: I79417d218c84fcdaf2ce5ecdf314031831d89575
2014-02-03minui: Allow devices to blank/unblank using LCD backlightEthan Chen1-0/+4
* Some devices rely on the LCD backlight to blank/unblank the display, support them by allowing a custom LCD backlight path to be used. Change-Id: I8406b4b55cd7a2afc4f8f8ba65de2c53b949489d
2013-12-12Support custom graphics.c.Koushik Dutta1-1/+6
TWRP does not use this, but is needed for other things that depend on it like charger. Change-Id: Ic7d10e8230151bcc4be6cfa222a1e07231e7139f
2012-12-19add optional overscan compensation to recovery graphicsDoug Zongker1-0/+6
If your screen is a TV, it may not actually be displaying the edges of the framebuffer. Allow specifying an overscan percentage, and move each edge of the framebuffer in by that percent of the width/height. (The gr_* layer just lies to the caller about the size of the framebuffer, telling the caller it's smaller than it really is, and offsets all drawing commands to match.) Change-Id: I11bb2feb39ae522bd3e957a14ebdecf3609e0fdc
2012-09-05TWRP-ify AOSP codeDees_Troy1-1/+1
Pull in most TWRP sources Stub out partition management code Make it compile -- probably will not boot Kind of a mess but have to start somewhere
2012-07-11allow double-quotes or not in TARGET_RECOVERY_PIXEL_FORMATDoug Zongker1-2/+6
Change-Id: I0bf22c87c51a34ee4a839c4966277fad8150bd59
2011-06-23Graphics can handle stride != xres, and BGRA support.Michael Ward1-2/+5
Change-Id: Ifee94ac08028e62a40241a089ac7c36346fea3a3
2011-01-14option to allow recovery to use 24-bit graphics in UIDoug Zongker1-0/+4
Add "RECOVERY_24_BIT := true" to the device's BoardConfig.mk to use 24-bit framebuffers in the recovery ui. Change-Id: Iaede138bf7870becf237f12f1c0e49c9ff82d007
2009-03-04auto import from //depot/cupcake/@135843The Android Open Source Project1-0/+12
2009-03-04auto import from //depot/cupcake/@135843The Android Open Source Project1-12/+0