replicant-frameworks_native/libs/ui
Jeff Brown cb203b228b Fix getSwitchState.
InputReader::getSwitchState always returns AKEY_STATE_UNKNOWN
because SwitchInputMapper::getSources() returns 0 which cannot
match any source mask including AINPUT_SOURCE_ANY.  As a result
initial lid switch detection is broken.

This change adds a new source constant AINPUT_SOURCE_SWITCH
that indicates that the source has switches.

Change-Id: I5321ecf0ce84f1c2b4535f6c163d3f4dcf9b7a9b
2011-01-19 20:35:47 -08:00
..
tests Fix getSwitchState. 2011-01-19 20:35:47 -08:00
Android.mk Add logging of various important graphics events 2010-09-13 23:16:58 -07:00
EGLUtils.cpp
EventHub.cpp Add unit tests for native input and fix bugs identified. 2010-10-23 03:52:57 -07:00
EventRecurrence.cpp
FramebufferNativeWindow.cpp am a15e4886: Merge "Framebuffer: Support variable number of framebuffers in the UI" 2010-11-17 17:29:48 -08:00
GraphicBuffer.cpp fix live wallpapers on Droid 2010-06-30 15:43:47 -07:00
GraphicBufferAllocator.cpp
GraphicBufferMapper.cpp
GraphicLog.cpp Fix sim-eng build on Hardy 2010-09-16 16:28:13 -07:00
Input.cpp Add support for secure views. 2010-09-08 11:50:55 -07:00
InputDispatcher.cpp Fix a key repeating bug. (DO NOT MERGE) 2010-11-17 19:42:04 -08:00
InputManager.cpp Input dispatcher ANR handling enhancements. 2010-09-12 16:52:03 -07:00
InputReader.cpp Fix getSwitchState. 2011-01-19 20:35:47 -08:00
InputTransport.cpp Ensure input dispatcher and native looper handles EINTR. 2010-09-16 17:04:52 -07:00
IOverlay.cpp
KeyCharacterMap.cpp
KeyLayoutMap.cpp
KeyLayoutMap.h
MODULE_LICENSE_APACHE2
NOTICE
Overlay.cpp frameworks/base: Destroy the overlay even if there is an error 2010-11-22 14:03:18 -08:00
PixelFormat.cpp remove unused pixel format 2010-08-19 13:11:42 -07:00
Rect.cpp Add ANativeWindow API for directly drawing to the surface bits. 2010-07-09 16:58:19 -07:00
Region.cpp fix [3148312] Region can access data out of bounds 2010-10-29 15:14:08 -07:00