From b032bc037399110f41cfdb838a792b3c65756323 Mon Sep 17 00:00:00 2001 From: mogimo Date: Sat, 3 Oct 2009 03:13:56 +0900 Subject: [PATCH] Add new keycodes for the convenience of Japanese IMEs Change-Id: Ibd308cef11261147856258595f6ca0137e03e05c --- api/current.xml | 22 ++++++++++++++++++++++ core/java/android/view/KeyEvent.java | 6 +++++- core/res/res/values/attrs.xml | 2 ++ include/ui/KeycodeLabels.h | 6 +++++- 4 files changed, 34 insertions(+), 2 deletions(-) mode change 100644 => 100755 core/java/android/view/KeyEvent.java mode change 100644 => 100755 core/res/res/values/attrs.xml mode change 100644 => 100755 include/ui/KeycodeLabels.h diff --git a/api/current.xml b/api/current.xml index 3b65d958e1185..d8702de9bb9bf 100644 --- a/api/current.xml +++ b/api/current.xml @@ -153254,6 +153254,17 @@ visibility="public" > + + + + + + diff --git a/include/ui/KeycodeLabels.h b/include/ui/KeycodeLabels.h old mode 100644 new mode 100755 index 749155ebab89a..e81d0f9064dc8 --- a/include/ui/KeycodeLabels.h +++ b/include/ui/KeycodeLabels.h @@ -116,6 +116,8 @@ static const KeycodeLabel KEYCODES[] = { { "MUTE", 91 }, { "PAGE_UP", 92 }, { "PAGE_DOWN", 93 }, + { "PICTSYMBOLS", 94 }, + { "SWITCH_CHARSET", 95 }, // NOTE: If you add a new keycode here you must also add it to: // (enum KeyCode, in this file) @@ -222,7 +224,9 @@ typedef enum KeyCode { kKeyCodeForward = 90, kKeyCodeMute = 91, kKeyCodePageUp = 92, - kKeyCodePageDown = 93 + kKeyCodePageDown = 93, + kKeyCodePictSymbols = 94, + kKeyCodeSwitchCharset = 95 } KeyCode; static const KeycodeLabel FLAGS[] = {