platform_bootable_recovery/minui
Tao Bao 5f8dd9951d ui: Move the support for touch inputs into RecoveryUI.
- 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
2017-08-01 18:30:48 -07:00
..
include/minui ui: Move the support for touch inputs into RecoveryUI. 2017-08-01 18:30:48 -07:00
Android.mk Add the missing sr-Latn into png files and rename the png locale header 2017-03-24 16:54:52 -07:00
events.cpp ui: Move the support for touch inputs into RecoveryUI. 2017-08-01 18:30:48 -07:00
font_10x18.h Support use of custom fonts in miniui 2016-11-15 14:24:06 -08:00
graphics.cpp minui: Move graphics_{adf,drm,fbdev} into classes. 2017-02-10 17:05:15 -08:00
graphics.h minui: Move graphics_{adf,drm,fbdev} into classes. 2017-02-10 17:05:15 -08:00
graphics_adf.cpp minui: Fix breakage in graphics_adf. 2017-04-28 16:13:02 -07:00
graphics_adf.h minui: Move graphics_{adf,drm,fbdev} into classes. 2017-02-10 17:05:15 -08:00
graphics_drm.cpp minui: Move graphics_{adf,drm,fbdev} into classes. 2017-02-10 17:05:15 -08:00
graphics_drm.h minui: Move graphics_{adf,drm,fbdev} into classes. 2017-02-10 17:05:15 -08:00
graphics_fbdev.cpp minui: Move graphics_{adf,drm,fbdev} into classes. 2017-02-10 17:05:15 -08:00
graphics_fbdev.h minui: Move graphics_{adf,drm,fbdev} into classes. 2017-02-10 17:05:15 -08:00
mkfont.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
resources.cpp Fix the android-cloexec-* warnings in bootable/recovery 2017-07-19 12:17:41 -07:00