Home
last modified time | relevance | path

Searched refs:kcm (Results 1 – 12 of 12) 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
127 int shortcutChar = kcm.get(keyCode, metaState); in getIntent()
134 shortcutChar = Character.toLowerCase(kcm.getDisplayLabel(keyCode)); in getIntent()
280 private boolean handleIntentShortcut(KeyCharacterMap kcm, int keyCode, int metaState) { in handleIntentShortcut() argument
287 if (kcm.isPrintingKey(keyCode)) { in handleIntentShortcut()
316 final Intent shortcutIntent = getIntent(kcm, keyCode, metaState); in handleIntentShortcut()
362 final KeyCharacterMap kcm = event.getKeyCharacterMap(); in interceptKey() local
363 if (handleIntentShortcut(kcm, keyCode, metaState)) { in interceptKey()
DPhoneWindowManager.java3202 final KeyCharacterMap kcm = event.getKeyCharacterMap();
3211 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/
DAndroid.mk20 $(eval $(call declare-1p-copy-files,frameworks/base,.kcm))
/frameworks/base/services/core/java/com/android/server/input/
DInputShellCommand.java316 final KeyCharacterMap kcm = KeyCharacterMap.load(KeyCharacterMap.VIRTUAL_KEYBOARD); in sendText() local
317 final KeyEvent[] events = kcm.getEvents(chars); in sendText()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp993 const std::shared_ptr<KeyCharacterMap> kcm = device->getKeyCharacterMap(); in mapKey() local
994 if (kcm) { in mapKey()
995 if (!kcm->mapKey(scanCode, usageCode, outKeycode)) { in mapKey()
1009 if (kcm) { in mapKey()
1010 kcm->tryRemapKey(*outKeycode, metaState, outKeycode, outMetaState); in mapKey()
/frameworks/base/core/java/android/view/
DViewRootImpl.java7871 final KeyCharacterMap kcm = event.getKeyCharacterMap();
7877 kcm.getFallbackAction(keyCode, metaState);