Lines Matching defs:env
33 JNIEnv* env; in getJNIEnv() local
43 JNIEnv* env = nullptr; in attachJNIEnv() local
58 void doThrowNPE(JNIEnv* env) { in doThrowNPE()
62 void doThrowAIOOBE(JNIEnv* env) { in doThrowAIOOBE()
66 void doThrowRE(JNIEnv* env, const char* msg) { in doThrowRE()
70 void doThrowIAE(JNIEnv* env, const char* msg) { in doThrowIAE()
74 void doThrowISE(JNIEnv* env, const char* msg) { in doThrowISE()
78 void doThrowOOME(JNIEnv* env, const char* msg) { in doThrowOOME()
82 void doThrowIOE(JNIEnv* env, const char* msg) { in doThrowIOE()
86 bool GraphicsJNI::hasException(JNIEnv *env) { in hasException()
97 AutoJavaFloatArray::AutoJavaFloatArray(JNIEnv* env, jfloatArray array, in AutoJavaFloatArray()
117 AutoJavaIntArray::AutoJavaIntArray(JNIEnv* env, jintArray array, in AutoJavaIntArray()
136 AutoJavaShortArray::AutoJavaShortArray(JNIEnv* env, jshortArray array, in AutoJavaShortArray()
156 AutoJavaByteArray::AutoJavaByteArray(JNIEnv* env, jbyteArray array, in AutoJavaByteArray()
251 void GraphicsJNI::get_jrect(JNIEnv* env, jobject obj, int* L, int* T, int* R, int* B) in get_jrect()
261 void GraphicsJNI::set_jrect(JNIEnv* env, jobject obj, int L, int T, int R, int B) in set_jrect()
271 SkIRect* GraphicsJNI::jrect_to_irect(JNIEnv* env, jobject obj, SkIRect* ir) in jrect_to_irect()
282 void GraphicsJNI::irect_to_jrect(const SkIRect& ir, JNIEnv* env, jobject obj) in irect_to_jrect()
292 SkRect* GraphicsJNI::jrectf_to_rect(JNIEnv* env, jobject obj, SkRect* r) in jrectf_to_rect()
303 SkRect* GraphicsJNI::jrect_to_rect(JNIEnv* env, jobject obj, SkRect* r) in jrect_to_rect()
314 void GraphicsJNI::rect_to_jrectf(const SkRect& r, JNIEnv* env, jobject obj) in rect_to_jrectf()
324 SkIPoint* GraphicsJNI::jpoint_to_ipoint(JNIEnv* env, jobject obj, SkIPoint* point) in jpoint_to_ipoint()
333 void GraphicsJNI::ipoint_to_jpoint(const SkIPoint& ir, JNIEnv* env, jobject obj) in ipoint_to_jpoint()
341 SkPoint* GraphicsJNI::jpointf_to_point(JNIEnv* env, jobject obj, SkPoint* point) in jpointf_to_point()
350 void GraphicsJNI::point_to_jpointf(const SkPoint& r, JNIEnv* env, jobject obj) in point_to_jpointf()
394 AndroidBitmapFormat GraphicsJNI::getFormatFromConfig(JNIEnv* env, jobject jconfig) { in getFormatFromConfig()
412 jobject GraphicsJNI::getConfigFromFormat(JNIEnv* env, AndroidBitmapFormat format) { in getConfigFromFormat()
442 SkColorType GraphicsJNI::getNativeBitmapColorType(JNIEnv* env, jobject jconfig) { in getNativeBitmapColorType()
452 bool GraphicsJNI::isHardwareConfig(JNIEnv* env, jobject jconfig) { in isHardwareConfig()
465 android::Canvas* GraphicsJNI::getNativeCanvas(JNIEnv* env, jobject canvas) { in getNativeCanvas()
476 SkRegion* GraphicsJNI::getNativeRegion(JNIEnv* env, jobject region) in getNativeRegion()
487 void GraphicsJNI::set_metrics(JNIEnv* env, jobject metrics, const SkFontMetrics& skmetrics) { in set_metrics()
497 int GraphicsJNI::set_metrics_int(JNIEnv* env, jobject metrics, const SkFontMetrics& skmetrics) { in set_metrics_int()
513 void GraphicsJNI::set_cluster_count_to_run_info(JNIEnv* env, jobject runInfo, jint clusterCount) { in set_cluster_count_to_run_info()
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()
738 AshmemPixelAllocator::AshmemPixelAllocator(JNIEnv *env) { in AshmemPixelAllocator()
750 int register_android_graphics_Graphics(JNIEnv* env) in register_android_graphics_Graphics()