platform_system_core/include/utils
Jeff Brown 647925ddf0 Added support for full PC-style keyboards.
BREAKING CHANGE: Redesigned the key character map format to
accomodate full keyboards with more comprehensive suite of modifiers.
Old key character maps will not work anymore and must be updated.
The new format is plain text only and it not compiled to a binary
file (so the "kcm" tool will be removed in a subsequent check-in).

Added FULL keyboard type to support full PC-style keyboards.

Added SPECIAL_FUNCTION keyboard type to support special function
keypads that do not have any printable keys suitable for typing
and only have keys like HOME and POWER

Added a special VIRTUAL_KEYBOARD device id convention that maps
to a virtual keyboard with a fixed known layout.  This is designed
to work around issues injecting input events on devices whose
built-in keyboard does not have a useful key character map (ie.
when the built-in keyboard is a special function keyboard only.)

Modified several places where events were being synthesized
to use the virtual keyboard.

Removed support for the "qwerty" default layout.
The new default layout is "Generic".  For the most part "qwerty"
was being used as a backstop in case the built-in keyboard did
not have a key character map (probably because it was a special
function keypad) and the framework needed to be able to inject
key events anyways.  The latter issue is resolved by using the
special VIRTUAL_KEYBOARD device instead of BUILT_IN_KEYBOARD.

Added the concept of a key modifier behavior so that
MetaKeyKeyListener can distinguish between keyboards that use
chorded vs. toggled modifiers.

Wrote more robust key layout and key character map parsers
to enable support for new keyboard features and user installable
key maps.

Fixed a bug in InputReader generating key ups when keys
are released out of sequence.

Updated tons of documentation.

Currently QwertyKeyListener is being used for full keyboards
with autotext and capitalization disabled.  This mostly works
but causes some problems with character pickers, etc.
These issues will be resolved in subsequent changes.

Change-Id: Ica48f6097a551141c215bc0d2c6f7b3fb634d354
2013-07-30 13:56:55 -07:00
..
ashmem.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
Asset.h Support streaming of compressed assets > 1 megabyte 2013-07-30 13:56:54 -07:00
AssetDir.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
AssetManager.h More native work. 2013-07-30 13:56:54 -07:00
Atomic.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
BackupHelpers.h Only report "unknown metadata" once per restore helper 2013-07-30 13:56:51 -07:00
BitSet.h Add suuport for splitting touch events across windows. 2013-07-30 13:56:55 -07:00
BufferedTextOutput.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
ByteOrder.h Implement the C++ class to write the backed up file data. 2013-07-30 13:56:50 -07:00
CallStack.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
Debug.h Support for marshalling pointers / intptr_t in Parcel. 2013-07-30 13:56:52 -07:00
Endian.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
Errors.h fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly 2013-07-30 13:56:52 -07:00
FileMap.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
Flattenable.h remove a dependency of GraphicBuffer (libui) on Parcel (libbinder). 2013-07-30 13:56:52 -07:00
KeyedVector.h fix KeyedVector::replaceValueAt, which wouldn't even compile if used. 2013-07-30 13:56:49 -07:00
List.h Fix sim build. 2013-07-30 13:56:51 -07:00
Log.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
Looper.h Revert to using epoll_wait(). 2013-07-30 13:56:55 -07:00
misc.h get rid of utils.h 2013-07-30 13:56:50 -07:00
ObbFile.h OBB: use PBKDF2 for key generation. 2013-07-30 13:56:55 -07:00
Pool.h Native input dispatch rewrite work in progress. 2013-07-30 13:56:53 -07:00
RefBase.h Fix a bug in sp<> and wp<> which could cause memory corruptions 2013-07-30 13:56:53 -07:00
ResourceTypes.h Add path to get different DPI drawables 2013-07-30 13:56:55 -07:00
SharedBuffer.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
Singleton.h Purge Skia objects from GL caches as needed. 2013-07-30 13:56:54 -07:00
SortedVector.h improve Vector<> with types that can be trivially moved and remove some unused code. 2013-07-30 13:56:50 -07:00
StopWatch.h Native input dispatch rewrite work in progress. 2013-07-30 13:56:53 -07:00
StreamingZipInflater.h Support streaming of compressed assets > 1 megabyte 2013-07-30 13:56:54 -07:00
String8.h Added support for full PC-style keyboards. 2013-07-30 13:56:55 -07:00
String16.h Split UTF functions from String8/16 2013-07-30 13:56:55 -07:00
StringArray.h rename string_array.h to StringArray.h and move the implementation from the header file to a new cpp file. 2013-07-30 13:56:50 -07:00
SystemClock.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
TextOutput.h some work to try to reduce the code size of some native libraries 2013-07-30 13:56:50 -07:00
threads.h added RWLock C++ wrapper 2013-07-30 13:56:53 -07:00
Timers.h get rid of sleepForInterval() which didn't seem to be used anywhere in the source tree. Also get rid of ported.h which seem to be used only (possibly) in the sim. moved the implementation there. 2013-07-30 13:56:50 -07:00
Tokenizer.h Added support for full PC-style keyboards. 2013-07-30 13:56:55 -07:00
TypeHelpers.h improve Vector<> with types that can be trivially moved and remove some unused code. 2013-07-30 13:56:50 -07:00
Unicode.h Split UTF functions from String8/16 2013-07-30 13:56:55 -07:00
Vector.h Even more native input dispatch work in progress. 2013-07-30 13:56:53 -07:00
VectorImpl.h Even more native input dispatch work in progress. 2013-07-30 13:56:53 -07:00
ZipFileCRO.h ZipUtilsRO rewrite based on Dalvik Zip rewrite 2013-07-30 13:56:53 -07:00
ZipFileRO.h Use pread() in ZipFileRO for Linux 2013-07-30 13:56:55 -07:00
ZipUtils.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00