17 Commits

Author SHA1 Message Date
Baligh Uddin
984c826f59 Import translations. DO NOT MERGE
Change-Id: I55d4cf3dec38ad38792f855335c9fe9d2cc4624d
Auto-generated-cl: translation import
2013-10-11 16:22:18 -07:00
Baligh Uddin
920c0febec Import translations. DO NOT MERGE
Change-Id: Iafd9b5044afb220e3797c20fdd475384150e8cca
Auto-generated-cl: translation import
2013-10-10 17:42:35 -07:00
Michael Wright
18e14c75e3 Fix keymap build dependencies and variable name collisions
Change-Id: I06e67ddc97429ae9c3d04143934c3f8233fcd22f
2013-09-03 12:27:18 -07:00
Jean-Baptiste Queru
3407da1afb am 7dfcae9b: am d8694667: am ae6bdf63: Merge "Add Colemak keyboard layout"
* commit '7dfcae9bae9fc16226b1a0496e947be5cedd1773':
  Add Colemak keyboard layout
2013-07-08 13:47:58 -07:00
Christopher Eby
8c890db75a Add Colemak keyboard layout
Change-Id: I203b92e56522bc7b3014195d5d83dc1fdb3cab15
2013-07-08 13:09:18 -07:00
Christopher Tate
ccbf84f44c Some system apps are more system than others
"signatureOrSystem" permissions are no longer available to all apps
residing en the /system partition.  Instead, there is a new /system/priv-app
directory, and only apps whose APKs are in that directory are allowed
to use signatureOrSystem permissions without sharing the platform cert.
This will reduce the surface area for possible exploits of system-
bundled applications to try to gain access to permission-guarded
operations.

The ApplicationInfo.FLAG_SYSTEM flag continues to mean what it is
says in the documentation: it indicates that the application apk was
bundled on the /system partition.  A new hidden flag FLAG_PRIVILEGED
has been introduced that reflects the actual right to access these
permissions.

At some point the "system" permission category will be
renamed to "privileged".

Bug 8765951

Change-Id: I6f0fd9cdb9170e076dfc66d83ecea76f8dd7335d
2013-06-17 12:47:35 -07:00
Olivier Gay
3c1c21bcf4 Add new physical keyboard layouts.
Add support for the following physical keyboard layouts:
English US international and Brazilian layout.

Change-Id: Iae928713a94611de18a92f6959adf7fa3500b2b2
Signed-off-by: Olivier Gay <ogay@logitech.com>
Signed-off-by: Myriam Galaret <mgalaret@logitech.com>
2013-03-30 19:29:40 +01:00
HeyRatFans
4037ce3c01 frameworks/base: Added English UK keyboard layout for physical keyboards
Change-Id: Id6feb128964c76ebd74b3e0d67d8f90fedb91dda
2013-01-22 22:22:54 +00:00
Jeff Brown
d9fec5d317 Add support for grouping keyboard layouts by collection.
Bug: 6405203
Change-Id: Id818b27ec09928150795d594a96df186a6e39168
2012-05-17 16:01:54 -07:00
Jeff Brown
2f09576074 Rename kcm attribute to keyboardLayout.
Bug: 6478076
Change-Id: I7fc0d8eb36d03a628d070f8fd6ea1e1464b1a163
2012-05-11 12:32:56 -07:00
Jeff Brown
69b2be163d Add yet more keyboard layouts.
Bug: 6110399
Change-Id: I8e2ce1cd350dddb006df51286e127dce65a8117f
2012-04-25 18:17:21 -07:00
Jeff Brown
77241caa8e Add even more keyboard layouts.
Bug: 6110399

Change-Id: I2278424e2e4c7dc7f7804a25d2c6c63f45181d1b
2012-04-24 20:34:54 -07:00
Jeff Brown
4c181a3f6a Add more keyboard layouts.
Bug: 6110399
Change-Id: I00f54338c9e94cce3a2925a5dff2e924a21fcdd8
2012-04-24 17:39:59 -07:00
Jeff Brown
8bca94ad83 More work on international keyboards.
Changed the English US keymaps to implement a strict US key map
with no additional ALT functions.

Fixed a bug copying the alias in the InputDevice copy constructor.

Added support for end of line comments in KCM and KL files.

Added the German keyboard layout.

Sorted the keys in the keyboard layout files by physical arrangement
to make it easier to maintain them.

Bug: 6110399
Change-Id: If44d83de5b98f2bf0016cbb8e12264387b286aaa
2012-04-23 16:12:32 -07:00
Jeff Brown
4a3862f6b0 Add Dvorak keyboard layout.
Added support for mapping both scan codes and HID usages to
KeyLayoutMap and KeyCharacterMap.  Keyboard overlays can
now influence how key events are mapped to key codes.

Bug: 6110399
Change-Id: I6619fd2d3e1337c55928f89869dbc45b535c7ccf
2012-04-17 18:50:05 -07:00
Jeff Brown
6ec6f79e1a Support loading keyboard layout overlays from resources.
Added the concept of a keyboard layout overlay, which is
a key character map file that has "type OVERLAY".

Added support for loading keyboard layout overlays from
resources dynamically.  The layouts are reloaded whenever they
are changed in the Settings application or an application
is installed.  This is somewhat more aggressive than necessary
so we might want to optimize it later.

Before system-ready, the input system uses just the generic
keyboard layouts that are included on the device system image.
After system-ready, it considers the user's selected keyboard
layout overlay and attempts to load it as necessary.  We need to
wait until system-ready before doing this because we need to
be in a state where it is safe to start applications or access
their resources.

Bug: 6110399
Change-Id: Iae0886d3356649b0d2440aa00910a888cedd8323
2012-04-17 17:56:32 -07:00
Jeff Brown
9df6e7a926 Initial commit of InputManager and keyboard layout API.
Added a new InputManager service for interacting with input
devices and configuring them.  This will be the focus of
an upcoming refactoring.

Added an API for registering keyboard layouts with the system
based on the use of a broadcast receiver.  Applications can
register their own keyboard layouts simply by declaring a
broadcast receiver in their manifests.

Added the skeleton of a package that will ultimately contain
the keyboard layouts and other input device related resources
that are part of the base system.

Bug: 6110399
Change-Id: Ie01b0ef4adbd5198f6f012e73964bdef3c51805c
2012-04-05 14:42:10 -07:00