replicant-frameworks_native/include/ui
Jeff Brown e959ed2533 Add initial API for stylus and mouse buttons.
Added the concept of pointer properties in a MotionEvent.
This is currently used to track the pointer tool type to enable
applications to distinguish finger touches from a stylus.

Button states are also reported to application as part of touch events.

There are no new actions for detecting changes in button states.
The application should instead query the button state from the
MotionEvent and take appropriate action as needed.

A good time to check the button state is on ACTION_DOWN.

As a side-effect, applications that do not support multiple buttons
will treat primary, secondary and tertiary buttons identically
for all touch events.

The back button on the mouse is mapped to KEYCODE_BACK
and the forward button is mapped to KEYCODE_FORWARD.

Added basic plumbing for the secondary mouse button to invoke
the context menu, particularly in lists.

Added clamp and split methods on MotionEvent to take care of
common filtering operations so we don't have them scattered
in multiple places across the framework.

Bug: 4260011
Change-Id: Ie992b4d4e00c8f2e76b961da0a902145b27f6d83
2011-05-13 12:11:17 -07:00
..
egl frameworks/base: move ANativeWindow/android_native_buffer_t out 2011-05-03 16:39:54 -07:00
android_native_buffer.h frameworks/base: move ANativeWindow/android_native_buffer_t out 2011-05-03 16:39:54 -07:00
DisplayInfo.h Mouse pointer integration. 2011-01-04 17:31:24 -08:00
EGLNativeSurface.h
EGLUtils.h
FramebufferNativeWindow.h frameworks/base: android_native_buffer_t -> ANativeWindowBuffer 2011-05-03 16:40:14 -07:00
GraphicBuffer.h frameworks/base: android_native_buffer_t -> ANativeWindowBuffer 2011-05-03 16:40:14 -07:00
GraphicBufferAllocator.h [3171580] don't automatically log GraphicBuffer allocation failures 2010-12-03 17:33:09 -08:00
GraphicBufferMapper.h
GraphicLog.h
Input.h Add initial API for stylus and mouse buttons. 2011-05-13 12:11:17 -07:00
InputTransport.h Add initial API for stylus and mouse buttons. 2011-05-13 12:11:17 -07:00
Keyboard.h Fade out the mouse pointer after inactivity or other events. 2011-03-02 15:37:57 -08:00
KeyCharacterMap.h Add support for fallback keycodes. 2010-12-07 17:35:26 -08:00
KeycodeLabels.h Add 3D mode key and others. 2011-03-16 11:31:42 -07:00
KeyLayoutMap.h Joystick tweaks. (DO NOT MERGE) 2011-03-04 19:12:41 -08:00
PixelFormat.h
Point.h
PowerManager.h
Rect.h
Region.h get rid of dependency on copybit HAL module 2011-04-28 19:50:21 -07:00
VirtualKeyMap.h Improve support for external keyboards. 2010-12-02 16:01:32 -08:00