Lines Matching defs:fields
55 static fields_t fields;
104 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, msg, ext1, ext2, 0);
112 Surface* const p = (Surface*)env->GetIntField(clazz, fields.surface_native);
133 MediaRecorder* const p = (MediaRecorder*)env->GetIntField(thiz, fields.context);
140 sp<MediaRecorder> old = (MediaRecorder*)env->GetIntField(thiz, fields.context);
147 env->SetIntField(thiz, fields.context, (int)recorder.get());
319 jobject surface = env->GetObjectField(thiz, fields.surface);
397 fields.context = env->GetFieldID(clazz, "mNativeContext", "I");
398 if (fields.context == NULL) {
402 fields.surface = env->GetFieldID(clazz, "mSurface", "Landroid/view/Surface;");
403 if (fields.surface == NULL) {
412 fields.surface_native = env->GetFieldID(surface, ANDROID_VIEW_SURFACE_JNI_ID, "I");
413 if (fields.surface_native == NULL) {
417 fields.post_event = env->GetStaticMethodID(clazz, "postEventFromNative",
419 if (fields.post_event == NULL) {