Commit Graph

24442 Commits

Author SHA1 Message Date
Jeff Brown
a3477c862a 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
2010-11-18 09:49:03 -08:00
Brad Fitzpatrick
0275687b21 Merge "StrictMode: shut up VM penalty logging on debug builds." 2010-11-17 19:27:29 -08:00
Scott Main
4692b18ec4 am 705c179e: am 0fe33a48: am 2cbe92ea: docs: add better visibility to app install location doc
* commit '705c179e3aade32f0e288299ba4519d4ee0a333f':
  docs: add better visibility to app install location doc
2010-11-17 18:40:50 -08:00
Daniel Sandler
984bb823a0 Merge "Lights out was getting stuck. Fixed." 2010-11-17 18:38:53 -08:00
Scott Main
6b2da0ae76 am 0fe33a48: am 2cbe92ea: docs: add better visibility to app install location doc
* commit '0fe33a4835ae3721f6302f3f2112d79e43b2b4f6':
  docs: add better visibility to app install location doc
2010-11-17 18:37:50 -08:00
Dmitri Plotnikov
3ff4e29c62 Merge "Adding a new provider status" 2010-11-17 18:37:19 -08:00
Gil Dobjanschi
91217bcc3f Merge "Disable ducking by default. Changed ducking threshold parameter range." 2010-11-17 18:34:59 -08:00
Scott Main
bc2e494938 am 2cbe92ea: docs: add better visibility to app install location doc
* commit '2cbe92ea6d36adb721b0cb94f5dbecb9c9e71ad8':
  docs: add better visibility to app install location doc
2010-11-17 18:34:40 -08:00
Jean-Baptiste Queru
72854b99f8 Merge "Change hide() to dismiss() to avoid memory leak." 2010-11-17 18:15:03 -08:00
Jean-Baptiste Queru
c2dc25a99c am 977d01f3: am 27c06bab: Merge "Release reference when putting RILRequest back into the pool."
* commit '977d01f392d820da82e9bfdc00166302ca4d21f7':
  Release reference when putting RILRequest back into the pool.
2010-11-17 18:11:31 -08:00
Jean-Baptiste Queru
774a82b116 am 27c06bab: Merge "Release reference when putting RILRequest back into the pool."
* commit '27c06bab513a1893444d50bb5dedbad5c0100029':
  Release reference when putting RILRequest back into the pool.
2010-11-17 18:09:08 -08:00
satok
8dd77bd360 Merge "Return the enabled subtypes for the current InputMethod when the input value of getEnabledInputMethodSubtypeList was null" 2010-11-17 18:04:22 -08:00
Jean-Baptiste Queru
a93d453c1a am 74923d3a: am d34c1495: Merge "Prevent system crash when OOM in Binder thread."
* commit '74923d3ae4bf7043a62a02c4df988ef3255737ce':
  Prevent system crash when OOM in Binder thread.
2010-11-17 17:58:25 -08:00
Jean-Baptiste Queru
fdfafd7dd3 am 218e0033: am 11dba787: Merge "Fix build (broken documentation link)"
* commit '218e00336a9dc348f8487442e58f7e6d1376b9e1':
  Fix build (broken documentation link)
2010-11-17 17:58:21 -08:00
Jean-Baptiste Queru
db584845a2 Merge "Release reference when putting RILRequest back into the pool." 2010-11-17 17:58:14 -08:00
Jean-Baptiste Queru
46ff36a83c am d34c1495: Merge "Prevent system crash when OOM in Binder thread."
* commit 'd34c1495020e5d72dd18959fb906375dc0874c04':
  Prevent system crash when OOM in Binder thread.
2010-11-17 17:56:05 -08:00
Jean-Baptiste Queru
c6655ffd8a am 11dba787: Merge "Fix build (broken documentation link)"
* commit '11dba787e10ff5ddc27e834db42acefa33cd35be':
  Fix build (broken documentation link)
2010-11-17 17:56:00 -08:00
Jean-Michel Trivi
e020391813 Merge "Fix bug 3183484 unhide MediaRecorder.AudioSource.VOICE_COMMUNICATION" 2010-11-17 17:49:49 -08:00
Jean-Baptiste Queru
15fcb29657 Merge "Prevent system crash when OOM in Binder thread." 2010-11-17 17:49:19 -08:00
Jean-Baptiste Queru
5f17185a76 Merge "Fix build (broken documentation link)" 2010-11-17 17:41:22 -08:00
Jean-Baptiste Queru
3f02b88af6 am 5e069074: am a15e4886: Merge "Framebuffer: Support variable number of framebuffers in the UI"
* commit '5e0690745a45f99d12d940dd4aaae814b00a429e':
  Framebuffer: Support variable number of framebuffers in the UI
2010-11-17 17:36:11 -08:00
Jean-Baptiste Queru
fea48b2151 Merge "resolved conflicts for merge of 1a2344b8 to master" 2010-11-17 17:35:09 -08:00
Jean-Baptiste Queru
bda00faca8 resolved conflicts for merge of 1a2344b8 to master
Change-Id: I974f7f388ddc74d661f07fda1e308e7c15e00dfc
2010-11-17 17:31:25 -08:00
Jean-Baptiste Queru
af10976583 am a15e4886: Merge "Framebuffer: Support variable number of framebuffers in the UI"
* commit 'a15e4886de8f75f3cb137f51743d330414c910e8':
  Framebuffer: Support variable number of framebuffers in the UI
2010-11-17 17:29:48 -08:00
Wink Saville
28462eb7a6 Merge "Fix GSM permanent failure handling." 2010-11-17 17:17:28 -08:00
Jean-Baptiste Queru
d5b427b709 am 09e50cdb: Merge "Reorder lock acquision vs try."
* commit '09e50cdbc62938b178f4c9a66b3cec8a466daaa8':
  Reorder lock acquision vs try.
2010-11-17 17:16:06 -08:00
Jean-Baptiste Queru
90ea001a09 Merge "Framebuffer: Support variable number of framebuffers in the UI" 2010-11-17 17:15:42 -08:00
Daniel Sandler
37b4141324 Merge "Implement new lights-out mode in system bar." 2010-11-17 17:11:30 -08:00
Jean-Baptiste Queru
a7011da1f7 Merge "Reorder lock acquision vs try." 2010-11-17 17:03:10 -08:00
Jean-Baptiste Queru
b2aed43b57 am 7ee42771: Merge "resolved conflicts for merge of 8fc378f9 to gingerbread-plus-aosp" into gingerbread-plus-aosp
* commit '7ee427714d4621bd9a0b15364a073aff60ebf20c':
  Added buildQuery and buildUnionSubQuery methods without misleading selectionArgs parameter.
2010-11-17 16:54:39 -08:00
Jean-Baptiste Queru
a7dda98df7 Merge "resolved conflicts for merge of 8fc378f9 to gingerbread-plus-aosp" into gingerbread-plus-aosp 2010-11-17 16:52:56 -08:00
Jean-Baptiste Queru
8ff8a2d029 resolved conflicts for merge of 8fc378f9 to gingerbread-plus-aosp
Change-Id: I938c0a66ad4271b33626d6b12406a2f6c6d1b6d8
2010-11-17 16:47:59 -08:00
Dirk Dougherty
02ef5c8fdd am 31c5f68d: am fc1f5e24: doc change: update uses-feature for gingerbread.
* commit '31c5f68d8f4af170415c206753f08fa85aa6b2ff':
  doc change: update uses-feature for gingerbread.
2010-11-17 16:24:04 -08:00
Dirk Dougherty
a25a6835e7 am fc1f5e24: doc change: update uses-feature for gingerbread.
* commit 'fc1f5e24bcd678a08221c8c01a364807edca6daf':
  doc change: update uses-feature for gingerbread.
2010-11-17 16:20:59 -08:00
Adam Powell
ee022d2182 Merge "Fix bug 3207067 - adjust AbsListView content pop-in when clipToPadding=false" 2010-11-17 16:05:53 -08:00
Jason Sams
e210e89ffa Merge "Create holder inner class for pushing context state. Fix bug with rsForEach corrupting parent context state. Remove workaround from rsBalls." 2010-11-17 15:31:59 -08:00
Jean-Baptiste Queru
3bffa0529c Merge "Added buildQuery and buildUnionSubQuery methods without misleading selectionArgs parameter." 2010-11-17 15:10:05 -08:00
Mike Lockwood
303beda620 Merge "MTP: Fixes to allow file transfers > 4 gigabytes" 2010-11-17 15:00:10 -08:00
Jean-Michel Trivi
fde69aa24a Merge "SIP calls should set the audio mode to MODE_IN_COMMUNICATION" 2010-11-17 14:55:10 -08:00
Brian Muramatsu
ccda6ac47e Merge "Fix NPE in InstrumentationTestRunner" 2010-11-17 14:17:24 -08:00
Adam Powell
86ccacc21a Merge "Add resource ID variants of ActionBar tab setters" 2010-11-17 14:12:19 -08:00
Teng-Hui Zhu
62147acc87 Merge "Update Useragent String" 2010-11-17 13:46:25 -08:00
Jim Miller
7b8ceb48e5 Merge "Fix 3191824: Fix lockscreen portrait mode for xlarge devices" 2010-11-17 13:28:22 -08:00
Mike Lockwood
e64b137ae8 Merge "MTP: Set correct format for abstract audio playlists" 2010-11-17 12:50:28 -08:00
Eric Fischer
be66e583c9 Merge "Import revised translations." 2010-11-17 12:09:30 -08:00
Brad Fitzpatrick
3ab29997b7 Merge "More cleanups from CloseGuard reports." 2010-11-17 12:01:20 -08:00
Kenny Root
44e13f3426 Merge "Don't waste resources creating new Boolean objects" 2010-11-17 11:50:15 -08:00
Kristian Monsen
cb79916f6f Merge "Removing some js script tests from the skip list" 2010-11-17 11:48:18 -08:00
Tom Taylor
7422601b50 Merge "Add a public Theme.Holo.Wallpaper.NoTitleBar" 2010-11-17 11:35:21 -08:00
Cary Clark
61f7b617c2 Merge "don't put up a context menu while selecting text" 2010-11-17 11:00:53 -08:00