Lines Matching defs:env
43 JNIEnv* env, jobject clazz, jint format, jobject pixelFormatObject)
70 jniThrowException(env, "java/lang/IllegalArgumentException", NULL);
75 env->SetIntField(pixelFormatObject, offsets.bytesPerPixel, info.bytesPerPixel);
76 env->SetIntField(pixelFormatObject, offsets.bitsPerPixel, info.bitsPerPixel);
82 static void nativeClassInit(JNIEnv* env, jclass clazz);
92 void nativeClassInit(JNIEnv* env, jclass clazz)
94 offsets.bytesPerPixel = env->GetFieldID(clazz, "bytesPerPixel", "I");
95 offsets.bitsPerPixel = env->GetFieldID(clazz, "bitsPerPixel", "I");
98 int register_android_graphics_PixelFormat(JNIEnv* env)
100 return AndroidRuntime::registerNativeMethods(env,