5f8dd9951d
- Added detection for EV_ABS events in minui/events.cpp, if it's allowed; - Added listening and processing touch inputs in ui.cpp; - Fixed an issue in recognizing swipe with multi-touch protocol A; - Changed the logic in RecoveryUI::ProcessKey() to be swipe-aware. It now allows turning on text mode with <power> + <swipe-up>. The last change also fixed an issue on devices with protocol A: prior to this CL, user may accidentally toggle the text mode during an OTA. Because it was considered as a single-button device, a long tap that sent BTN_TOUCH event would turn on text mode. Test: Allow detecting touch inputs. Swiping (up, down, enter) works on angler, angelfish, dorado respectively. Bug: 36169090 Change-Id: I4bc882b99114ce4ab414f8bdb8f4f7a525b8a8fd |
||
---|---|---|
.. | ||
include/minui | ||
Android.mk | ||
events.cpp | ||
font_10x18.h | ||
graphics.cpp | ||
graphics.h | ||
graphics_adf.cpp | ||
graphics_adf.h | ||
graphics_drm.cpp | ||
graphics_drm.h | ||
graphics_fbdev.cpp | ||
graphics_fbdev.h | ||
mkfont.c | ||
resources.cpp |