OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:eventObj
(Results
1 - 7
of
7
) sorted by null
/frameworks/base/core/jni/
android_view_KeyEvent.h
34
extern status_t android_view_KeyEvent_toNative(JNIEnv* env, jobject
eventObj
,
41
extern status_t android_view_KeyEvent_recycle(JNIEnv* env, jobject
eventObj
);
android_view_MotionEvent.h
33
extern MotionEvent* android_view_MotionEvent_getNativePtr(JNIEnv* env, jobject
eventObj
);
37
extern status_t android_view_MotionEvent_recycle(JNIEnv* env, jobject
eventObj
);
android_view_KeyEvent.cpp
53
jobject
eventObj
= env->CallStaticObjectMethod(gKeyEventClassInfo.clazz,
72
return
eventObj
;
75
status_t android_view_KeyEvent_toNative(JNIEnv* env, jobject
eventObj
,
77
jint deviceId = env->GetIntField(
eventObj
, gKeyEventClassInfo.mDeviceId);
78
jint source = env->GetIntField(
eventObj
, gKeyEventClassInfo.mSource);
79
jint metaState = env->GetIntField(
eventObj
, gKeyEventClassInfo.mMetaState);
80
jint action = env->GetIntField(
eventObj
, gKeyEventClassInfo.mAction);
81
jint keyCode = env->GetIntField(
eventObj
, gKeyEventClassInfo.mKeyCode);
82
jint scanCode = env->GetIntField(
eventObj
, gKeyEventClassInfo.mScanCode);
83
jint repeatCount = env->GetIntField(
eventObj
, gKeyEventClassInfo.mRepeatCount)
[
all
...]
android_view_InputEventSender.cpp
270
jint seq, jobject
eventObj
) {
274
android_view_KeyEvent_toNative(env,
eventObj
, &event);
280
jint seq, jobject
eventObj
) {
283
MotionEvent* event = android_view_MotionEvent_getNativePtr(env,
eventObj
);
android_view_InputQueue.cpp
217
static jint nativeSendKeyEvent(JNIEnv* env, jobject clazz, jint ptr, jobject
eventObj
,
221
status_t status = android_view_KeyEvent_toNative(env,
eventObj
, event);
236
static jint nativeSendMotionEvent(JNIEnv* env, jobject clazz, jint ptr, jobject
eventObj
) {
238
MotionEvent* originalEvent = android_view_MotionEvent_getNativePtr(env,
eventObj
);
android_view_MotionEvent.cpp
65
MotionEvent* android_view_MotionEvent_getNativePtr(JNIEnv* env, jobject
eventObj
) {
66
if (!
eventObj
) {
70
env->GetIntField(
eventObj
, gMotionEventClassInfo.mNativePtr));
73
static void android_view_MotionEvent_setNativePtr(JNIEnv* env, jobject
eventObj
,
75
env->SetIntField(
eventObj
, gMotionEventClassInfo.mNativePtr,
80
jobject
eventObj
= env->CallStaticObjectMethod(gMotionEventClassInfo.clazz,
82
if (env->ExceptionCheck() || !
eventObj
) {
89
MotionEvent* destEvent = android_view_MotionEvent_getNativePtr(env,
eventObj
);
92
android_view_MotionEvent_setNativePtr(env,
eventObj
, destEvent);
96
return
eventObj
;
[
all
...]
android_view_VelocityTracker.cpp
161
jobject
eventObj
) {
162
const MotionEvent* event = android_view_MotionEvent_getNativePtr(env,
eventObj
);
Completed in 40 milliseconds