Lines Matching defs:env
29 JNIEnv* env; in getJNIEnv() local
39 JNIEnv* env = nullptr; in attachJNIEnv() local
54 void doThrowNPE(JNIEnv* env) { in doThrowNPE()
58 void doThrowAIOOBE(JNIEnv* env) { in doThrowAIOOBE()
62 void doThrowRE(JNIEnv* env, const char* msg) { in doThrowRE()
66 void doThrowIAE(JNIEnv* env, const char* msg) { in doThrowIAE()
70 void doThrowISE(JNIEnv* env, const char* msg) { in doThrowISE()
74 void doThrowOOME(JNIEnv* env, const char* msg) { in doThrowOOME()
78 void doThrowIOE(JNIEnv* env, const char* msg) { in doThrowIOE()
82 bool GraphicsJNI::hasException(JNIEnv *env) { in hasException()
93 AutoJavaFloatArray::AutoJavaFloatArray(JNIEnv* env, jfloatArray array, in AutoJavaFloatArray()
113 AutoJavaIntArray::AutoJavaIntArray(JNIEnv* env, jintArray array, in AutoJavaIntArray()
132 AutoJavaShortArray::AutoJavaShortArray(JNIEnv* env, jshortArray array, in AutoJavaShortArray()
152 AutoJavaByteArray::AutoJavaByteArray(JNIEnv* env, jbyteArray array, in AutoJavaByteArray()
248 void GraphicsJNI::get_jrect(JNIEnv* env, jobject obj, int* L, int* T, int* R, int* B) in get_jrect()
258 void GraphicsJNI::set_jrect(JNIEnv* env, jobject obj, int L, int T, int R, int B) in set_jrect()
268 SkIRect* GraphicsJNI::jrect_to_irect(JNIEnv* env, jobject obj, SkIRect* ir) in jrect_to_irect()
279 void GraphicsJNI::irect_to_jrect(const SkIRect& ir, JNIEnv* env, jobject obj) in irect_to_jrect()
289 SkRect* GraphicsJNI::jrectf_to_rect(JNIEnv* env, jobject obj, SkRect* r) in jrectf_to_rect()
300 SkRect* GraphicsJNI::jrect_to_rect(JNIEnv* env, jobject obj, SkRect* r) in jrect_to_rect()
311 void GraphicsJNI::rect_to_jrectf(const SkRect& r, JNIEnv* env, jobject obj) in rect_to_jrectf()
321 SkIPoint* GraphicsJNI::jpoint_to_ipoint(JNIEnv* env, jobject obj, SkIPoint* point) in jpoint_to_ipoint()
330 void GraphicsJNI::ipoint_to_jpoint(const SkIPoint& ir, JNIEnv* env, jobject obj) in ipoint_to_jpoint()
338 SkPoint* GraphicsJNI::jpointf_to_point(JNIEnv* env, jobject obj, SkPoint* point) in jpointf_to_point()
347 void GraphicsJNI::point_to_jpointf(const SkPoint& r, JNIEnv* env, jobject obj) in point_to_jpointf()
393 AndroidBitmapFormat GraphicsJNI::getFormatFromConfig(JNIEnv* env, jobject jconfig) { in getFormatFromConfig()
414 jobject GraphicsJNI::getConfigFromFormat(JNIEnv* env, AndroidBitmapFormat format) { in getConfigFromFormat()
441 SkColorType GraphicsJNI::getNativeBitmapColorType(JNIEnv* env, jobject jconfig) { in getNativeBitmapColorType()
451 bool GraphicsJNI::isHardwareConfig(JNIEnv* env, jobject jconfig) { in isHardwareConfig()
464 android::Canvas* GraphicsJNI::getNativeCanvas(JNIEnv* env, jobject canvas) { in getNativeCanvas()
475 SkRegion* GraphicsJNI::getNativeRegion(JNIEnv* env, jobject region) in getNativeRegion()
486 void GraphicsJNI::set_metrics(JNIEnv* env, jobject metrics, const SkFontMetrics& skmetrics) { in set_metrics()
496 int GraphicsJNI::set_metrics_int(JNIEnv* env, jobject metrics, const SkFontMetrics& skmetrics) { in set_metrics_int()
514 jobject GraphicsJNI::createBitmapRegionDecoder(JNIEnv* env, skia::BitmapRegionDecoder* bitmap) in createBitmapRegionDecoder()
525 jobject GraphicsJNI::createRegion(JNIEnv* env, SkRegion* region) in createRegion()
536 jobject GraphicsJNI::getColorSpace(JNIEnv* env, SkColorSpace* decodeColorSpace, in getColorSpace()
714 AshmemPixelAllocator::AshmemPixelAllocator(JNIEnv *env) { in AshmemPixelAllocator()
726 int register_android_graphics_Graphics(JNIEnv* env) in register_android_graphics_Graphics()