Home
last modified time | relevance | path

Searched refs:keyCodes (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/jni/
Dcom_android_server_KeyInputQueue.cpp244 jintArray keyCodes, jbooleanArray outFlags) in android_server_KeyInputQueue_hasKeys() argument
248 int32_t* codes = env->GetIntArrayElements(keyCodes, NULL); in android_server_KeyInputQueue_hasKeys()
250 size_t numCodes = env->GetArrayLength(keyCodes); in android_server_KeyInputQueue_hasKeys()
258 env->ReleaseIntArrayElements(keyCodes, codes, 0); in android_server_KeyInputQueue_hasKeys()
/frameworks/base/core/java/android/view/
DKeyCharacterMap.java366 public static boolean[] deviceHasKeys(int[] keyCodes) { in deviceHasKeys() argument
367 boolean[] ret = new boolean[keyCodes.length]; in deviceHasKeys()
370 wm.hasKeys(keyCodes, ret); in deviceHasKeys()
/frameworks/base/include/ui/
DEventHub.h92 bool hasKeys(size_t numCodes, int32_t* keyCodes, uint8_t* outFlags);
/frameworks/base/libs/ui/
DEventHub.cpp460 bool EventHub::hasKeys(size_t numCodes, int32_t* keyCodes, uint8_t* outFlags) { in hasKeys() argument
468 … status_t err = mDevices[n]->layoutMap->findScancodes(keyCodes[codeIndex], &scanCodes); in hasKeys()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java97 void onKey(int primaryCode, int[] keyCodes); in onKey() argument
999 public void onKey(int primaryCode, int[] keyCodes) { in onLongPress()
1000 mKeyboardActionListener.onKey(primaryCode, keyCodes); in onLongPress()