Home
last modified time | relevance | path

Searched refs:gKeyEventClassInfo (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/jni/
Dandroid_view_KeyEvent.cpp52 } gKeyEventClassInfo; variable
57 jobject eventObj = env->CallStaticObjectMethod(gKeyEventClassInfo.clazz, in android_view_KeyEvent_fromNative()
58 gKeyEventClassInfo.obtain, in android_view_KeyEvent_fromNative()
82 jint deviceId = env->GetIntField(eventObj, gKeyEventClassInfo.mDeviceId); in android_view_KeyEvent_toNative()
83 jint source = env->GetIntField(eventObj, gKeyEventClassInfo.mSource); in android_view_KeyEvent_toNative()
84 jint displayId = env->GetIntField(eventObj, gKeyEventClassInfo.mDisplayId); in android_view_KeyEvent_toNative()
85 jint metaState = env->GetIntField(eventObj, gKeyEventClassInfo.mMetaState); in android_view_KeyEvent_toNative()
86 jint action = env->GetIntField(eventObj, gKeyEventClassInfo.mAction); in android_view_KeyEvent_toNative()
87 jint keyCode = env->GetIntField(eventObj, gKeyEventClassInfo.mKeyCode); in android_view_KeyEvent_toNative()
88 jint scanCode = env->GetIntField(eventObj, gKeyEventClassInfo.mScanCode); in android_view_KeyEvent_toNative()
[all …]
Dandroid_view_KeyCharacterMap.cpp40 } gKeyEventClassInfo; variable
186 result = env->NewObjectArray(jsize(events.size()), gKeyEventClassInfo.clazz, NULL); in nativeGetEvents()
238 gKeyEventClassInfo.clazz = FindClassOrDie(env, "android/view/KeyEvent"); in register_android_view_KeyCharacterMap()
239 gKeyEventClassInfo.clazz = MakeGlobalRefOrDie(env, gKeyEventClassInfo.clazz); in register_android_view_KeyCharacterMap()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp126 } gKeyEventClassInfo; variable
1479 if (env->IsInstanceOf(inputEventObj, gKeyEventClassInfo.clazz)) { in nativeInjectInputEvent()
1952 FIND_CLASS(gKeyEventClassInfo.clazz, "android/view/KeyEvent"); in register_android_server_InputManager()
1953 gKeyEventClassInfo.clazz = jclass(env->NewGlobalRef(gKeyEventClassInfo.clazz)); in register_android_server_InputManager()