Home
last modified time | relevance | path

Searched refs:kcm (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/jni/
Dandroid_view_KeyCharacterMap.cpp72 const sp<KeyCharacterMap>& kcm) { in android_view_KeyCharacterMap_create() argument
74 kcm.get() ? kcm : KeyCharacterMap::empty()); in android_view_KeyCharacterMap_create()
94 sp<KeyCharacterMap> kcm = KeyCharacterMap::readFromParcel(parcel); in nativeReadFromParcel() local
95 if (!kcm.get()) { in nativeReadFromParcel()
99 NativeKeyCharacterMap* map = new NativeKeyCharacterMap(deviceId, kcm); in nativeReadFromParcel()
/frameworks/base/services/core/java/com/android/server/policy/
DShortcutManager.java80 public Intent getIntent(KeyCharacterMap kcm, int keyCode, int metaState) { in getIntent() argument
88 int shortcutChar = kcm.get(keyCode, metaState); in getIntent()
95 shortcutChar = Character.toLowerCase(kcm.getDisplayLabel(keyCode)); in getIntent()
DPhoneWindowManager.java2926 final KeyCharacterMap kcm = event.getKeyCharacterMap(); in interceptKeyBeforeDispatchingInner() local
2927 if (kcm.isPrintingKey(keyCode)) { in interceptKeyBeforeDispatchingInner()
2931 Intent shortcutIntent = mShortcutManager.getIntent(kcm, keyCode, metaState); in interceptKeyBeforeDispatchingInner()
2954 final KeyCharacterMap kcm = event.getKeyCharacterMap(); in interceptKeyBeforeDispatchingInner() local
2955 if (kcm.isPrintingKey(keyCode)) { in interceptKeyBeforeDispatchingInner()
2956 Intent shortcutIntent = mShortcutManager.getIntent(kcm, keyCode, in interceptKeyBeforeDispatchingInner()
3151 final KeyCharacterMap kcm = event.getKeyCharacterMap(); in dispatchUnhandledKey() local
3160 fallbackAction = kcm.getFallbackAction(keyCode, metaState); in dispatchUnhandledKey()
/frameworks/base/data/keyboards/
Dcommon.mk20 framework_keycharmaps := $(wildcard $(LOCAL_PATH)/*.kcm)
Dqwerty.kcm19 # Refer to Generic.kcm and Virtual.kcm instead.
/frameworks/base/packages/InputDevices/
DAndroid.bp39 srcs: ["res/raw/*.kcm"],
/frameworks/base/cmds/input/src/com/android/commands/input/
DInput.java166 final KeyCharacterMap kcm = KeyCharacterMap.load(KeyCharacterMap.VIRTUAL_KEYBOARD); in sendText() local
167 final KeyEvent[] events = kcm.getEvents(chars); in sendText()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp532 sp<KeyCharacterMap> kcm = device->getKeyCharacterMap(); in mapKey() local
533 if (kcm != nullptr) { in mapKey()
534 if (!kcm->mapKey(scanCode, usageCode, outKeycode)) { in mapKey()
548 if (kcm != nullptr) { in mapKey()
549 kcm->tryRemapKey(*outKeycode, metaState, outKeycode, outMetaState); in mapKey()
/frameworks/base/core/java/android/view/
DViewRootImpl.java6740 final KeyCharacterMap kcm = event.getKeyCharacterMap();
6746 kcm.getFallbackAction(keyCode, metaState);