Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/policy/
DModifierShortcutManager.java114 private Intent getIntent(KeyCharacterMap kcm, int keyCode, int metaState) { in getIntent() argument
122 int shortcutChar = kcm.get(keyCode, metaState); in getIntent()
129 shortcutChar = Character.toLowerCase(kcm.getDisplayLabel(keyCode)); in getIntent()
277 private boolean handleIntentShortcut(KeyCharacterMap kcm, int keyCode, int metaState) { in handleIntentShortcut() argument
284 if (kcm.isPrintingKey(keyCode)) { in handleIntentShortcut()
313 final Intent shortcutIntent = getIntent(kcm, keyCode, metaState); in handleIntentShortcut()
359 final KeyCharacterMap kcm = event.getKeyCharacterMap(); in interceptKey() local
360 if (handleIntentShortcut(kcm, keyCode, metaState)) { in interceptKey()
DPhoneWindowManager.java2906 final KeyCharacterMap kcm = event.getKeyCharacterMap();
2915 fallbackAction = kcm.getFallbackAction(keyCode, metaState);
/frameworks/base/core/jni/
Dandroid_view_KeyCharacterMap.cpp69 const std::shared_ptr<KeyCharacterMap> kcm) { in android_view_KeyCharacterMap_create() argument
70 NativeKeyCharacterMap* nativeMap = new NativeKeyCharacterMap(deviceId, kcm); in android_view_KeyCharacterMap_create()
94 std::shared_ptr<KeyCharacterMap> kcm = nullptr; in nativeReadFromParcel() local
97 kcm = KeyCharacterMap::readFromParcel(parcel); in nativeReadFromParcel()
98 if (!kcm.get()) { in nativeReadFromParcel()
102 NativeKeyCharacterMap* map = new NativeKeyCharacterMap(deviceId, kcm); in nativeReadFromParcel()
Dandroid_view_KeyCharacterMap.h28 const std::shared_ptr<KeyCharacterMap> kcm);
/frameworks/base/data/keyboards/
Dcommon.mk20 framework_keycharmaps := $(wildcard $(LOCAL_PATH)/*.kcm)
Dkeyboards.mk19 $(call find-copy-subdir-files,*.kcm,$(LOCAL_PATH),system/usr/keychars) \
Dqwerty.kcm19 # Refer to Generic.kcm and Virtual.kcm instead.
/frameworks/base/packages/InputDevices/
DAndroid.bp59 srcs: ["res/raw/*.kcm"],
/frameworks/base/services/core/java/com/android/server/input/
DInputShellCommand.java273 final KeyCharacterMap kcm = KeyCharacterMap.load(KeyCharacterMap.VIRTUAL_KEYBOARD); in sendText() local
274 final KeyEvent[] events = kcm.getEvents(chars); in sendText()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp929 const std::shared_ptr<KeyCharacterMap> kcm = device->getKeyCharacterMap(); in mapKey() local
930 if (kcm) { in mapKey()
931 if (!kcm->mapKey(scanCode, usageCode, outKeycode)) { in mapKey()
945 if (kcm) { in mapKey()
946 kcm->tryRemapKey(*outKeycode, metaState, outKeycode, outMetaState); in mapKey()
/frameworks/base/core/java/android/view/
DViewRootImpl.java7437 final KeyCharacterMap kcm = event.getKeyCharacterMap();
7443 kcm.getFallbackAction(keyCode, metaState);