Lines Matching defs:env

36   JNIEnv* env;  in getJNIEnv()  local
46 JNIEnv* env = nullptr; in attachJNIEnv() local
61 void doThrowNPE(JNIEnv* env) { in doThrowNPE()
65 void doThrowAIOOBE(JNIEnv* env) { in doThrowAIOOBE()
69 void doThrowRE(JNIEnv* env, const char* msg) { in doThrowRE()
73 void doThrowIAE(JNIEnv* env, const char* msg) { in doThrowIAE()
77 void doThrowISE(JNIEnv* env, const char* msg) { in doThrowISE()
81 void doThrowOOME(JNIEnv* env, const char* msg) { in doThrowOOME()
85 void doThrowIOE(JNIEnv* env, const char* msg) { in doThrowIOE()
89 bool GraphicsJNI::hasException(JNIEnv *env) { in hasException()
100 AutoJavaFloatArray::AutoJavaFloatArray(JNIEnv* env, jfloatArray array, in AutoJavaFloatArray()
120 AutoJavaIntArray::AutoJavaIntArray(JNIEnv* env, jintArray array, in AutoJavaIntArray()
139 AutoJavaShortArray::AutoJavaShortArray(JNIEnv* env, jshortArray array, in AutoJavaShortArray()
159 AutoJavaByteArray::AutoJavaByteArray(JNIEnv* env, jbyteArray array, in AutoJavaByteArray()
255 void GraphicsJNI::get_jrect(JNIEnv* env, jobject obj, int* L, int* T, int* R, int* B) in get_jrect()
265 void GraphicsJNI::set_jrect(JNIEnv* env, jobject obj, int L, int T, int R, int B) in set_jrect()
275 SkIRect* GraphicsJNI::jrect_to_irect(JNIEnv* env, jobject obj, SkIRect* ir) in jrect_to_irect()
286 void GraphicsJNI::irect_to_jrect(const SkIRect& ir, JNIEnv* env, jobject obj) in irect_to_jrect()
296 SkRect* GraphicsJNI::jrectf_to_rect(JNIEnv* env, jobject obj, SkRect* r) in jrectf_to_rect()
307 SkRect* GraphicsJNI::jrect_to_rect(JNIEnv* env, jobject obj, SkRect* r) in jrect_to_rect()
318 void GraphicsJNI::rect_to_jrectf(const SkRect& r, JNIEnv* env, jobject obj) in rect_to_jrectf()
328 SkIPoint* GraphicsJNI::jpoint_to_ipoint(JNIEnv* env, jobject obj, SkIPoint* point) in jpoint_to_ipoint()
337 void GraphicsJNI::ipoint_to_jpoint(const SkIPoint& ir, JNIEnv* env, jobject obj) in ipoint_to_jpoint()
345 SkPoint* GraphicsJNI::jpointf_to_point(JNIEnv* env, jobject obj, SkPoint* point) in jpointf_to_point()
354 void GraphicsJNI::point_to_jpointf(const SkPoint& r, JNIEnv* env, jobject obj) in point_to_jpointf()
398 AndroidBitmapFormat GraphicsJNI::getFormatFromConfig(JNIEnv* env, jobject jconfig) { in getFormatFromConfig()
416 jobject GraphicsJNI::getConfigFromFormat(JNIEnv* env, AndroidBitmapFormat format) { in getConfigFromFormat()
446 SkColorType GraphicsJNI::getNativeBitmapColorType(JNIEnv* env, jobject jconfig) { in getNativeBitmapColorType()
456 bool GraphicsJNI::isHardwareConfig(JNIEnv* env, jobject jconfig) { in isHardwareConfig()
469 android::Canvas* GraphicsJNI::getNativeCanvas(JNIEnv* env, jobject canvas) { in getNativeCanvas()
480 SkRegion* GraphicsJNI::getNativeRegion(JNIEnv* env, jobject region) in getNativeRegion()
491 void GraphicsJNI::set_metrics(JNIEnv* env, jobject metrics, const SkFontMetrics& skmetrics) { in set_metrics()
501 int GraphicsJNI::set_metrics_int(JNIEnv* env, jobject metrics, const SkFontMetrics& skmetrics) { in set_metrics_int()
519 jobject GraphicsJNI::createBitmapRegionDecoder(JNIEnv* env, BitmapRegionDecoderWrapper* bitmap) { in createBitmapRegionDecoder()
529 jobject GraphicsJNI::createRegion(JNIEnv* env, SkRegion* region) in createRegion()
540 jobject GraphicsJNI::getColorSpace(JNIEnv* env, SkColorSpace* decodeColorSpace, in getColorSpace()
728 AshmemPixelAllocator::AshmemPixelAllocator(JNIEnv *env) { in AshmemPixelAllocator()
740 int register_android_graphics_Graphics(JNIEnv* env) in register_android_graphics_Graphics()