Lines Matching refs:fields

58 static fields_t fields;  variable
82 …MediaMetadataRetriever* retriever = (MediaMetadataRetriever*) env->GetLongField(thiz, fields.conte… in getRetriever()
98 env->SetLongField(thiz, fields.context, (jlong) retriever.get()); in setRetriever()
276 fields.configClazz, in getBitmapFromVideoFrame()
277 fields.createConfigMethod, in getBitmapFromVideoFrame()
296 fields.bitmapClazz, in getBitmapFromVideoFrame()
297 fields.createBitmapMethod, in getBitmapFromVideoFrame()
339 jobject scaledBitmap = env->CallStaticObjectMethod(fields.bitmapClazz, in getBitmapFromVideoFrame()
340 fields.createScaledBitmapMethod, in getBitmapFromVideoFrame()
358 ScopedLocalRef<jobject> inConfig(env, env->GetObjectField(options, fields.inPreferredConfig)); in getColorFormat()
376 fields.configClazz, in setOutColorType()
377 fields.createConfigMethod, in setOutColorType()
380 env->SetObjectField(options, fields.outActualConfig, config.get()); in setOutColorType()
513 jobject arrayList = env->NewObject(fields.arrayListClazz, fields.arrayListInit); in android_media_MediaMetadataRetriever_getFrameAtIndex()
529 env->CallBooleanMethod(arrayList, fields.arrayListAdd, bitmapObj); in android_media_MediaMetadataRetriever_getFrameAtIndex()
612 fields.context = env->GetFieldID(clazz.get(), "mNativeContext", "J"); in android_media_MediaMetadataRetriever_native_init()
613 if (fields.context == NULL) { in android_media_MediaMetadataRetriever_native_init()
621 fields.bitmapClazz = (jclass) env->NewGlobalRef(clazz.get()); in android_media_MediaMetadataRetriever_native_init()
622 if (fields.bitmapClazz == NULL) { in android_media_MediaMetadataRetriever_native_init()
625 fields.createBitmapMethod = in android_media_MediaMetadataRetriever_native_init()
626 env->GetStaticMethodID(fields.bitmapClazz, "createBitmap", in android_media_MediaMetadataRetriever_native_init()
629 if (fields.createBitmapMethod == NULL) { in android_media_MediaMetadataRetriever_native_init()
632 fields.createScaledBitmapMethod = in android_media_MediaMetadataRetriever_native_init()
633 env->GetStaticMethodID(fields.bitmapClazz, "createScaledBitmap", in android_media_MediaMetadataRetriever_native_init()
636 if (fields.createScaledBitmapMethod == NULL) { in android_media_MediaMetadataRetriever_native_init()
644 fields.configClazz = (jclass) env->NewGlobalRef(clazz.get()); in android_media_MediaMetadataRetriever_native_init()
645 if (fields.configClazz == NULL) { in android_media_MediaMetadataRetriever_native_init()
648 fields.createConfigMethod = in android_media_MediaMetadataRetriever_native_init()
649 env->GetStaticMethodID(fields.configClazz, "nativeToConfig", in android_media_MediaMetadataRetriever_native_init()
651 if (fields.createConfigMethod == NULL) { in android_media_MediaMetadataRetriever_native_init()
659 fields.bitmapParamsClazz = (jclass) env->NewGlobalRef(clazz.get()); in android_media_MediaMetadataRetriever_native_init()
660 if (fields.bitmapParamsClazz == NULL) { in android_media_MediaMetadataRetriever_native_init()
663 fields.inPreferredConfig = env->GetFieldID(fields.bitmapParamsClazz, in android_media_MediaMetadataRetriever_native_init()
665 if (fields.inPreferredConfig == NULL) { in android_media_MediaMetadataRetriever_native_init()
668 fields.outActualConfig = env->GetFieldID(fields.bitmapParamsClazz, in android_media_MediaMetadataRetriever_native_init()
670 if (fields.outActualConfig == NULL) { in android_media_MediaMetadataRetriever_native_init()
678 fields.arrayListClazz = (jclass) env->NewGlobalRef(clazz.get()); in android_media_MediaMetadataRetriever_native_init()
679 if (fields.arrayListClazz == NULL) { in android_media_MediaMetadataRetriever_native_init()
682 fields.arrayListInit = env->GetMethodID(clazz.get(), "<init>", "()V"); in android_media_MediaMetadataRetriever_native_init()
683 if (fields.arrayListInit == NULL) { in android_media_MediaMetadataRetriever_native_init()
686 fields.arrayListAdd = env->GetMethodID(clazz.get(), "add", "(Ljava/lang/Object;)Z"); in android_media_MediaMetadataRetriever_native_init()
687 if (fields.arrayListAdd == NULL) { in android_media_MediaMetadataRetriever_native_init()