• Home
  • Raw
  • Download

Lines Matching refs:JNIEnv

51     static JNIEnv* getJNIEnv();
54 static JNIEnv* attachJNIEnv(const char* envName);
60 static bool hasException(JNIEnv*);
62 static void get_jrect(JNIEnv*, jobject jrect, int* L, int* T, int* R, int* B);
63 static void set_jrect(JNIEnv*, jobject jrect, int L, int T, int R, int B);
65 static SkIRect* jrect_to_irect(JNIEnv*, jobject jrect, SkIRect*);
66 static void irect_to_jrect(const SkIRect&, JNIEnv*, jobject jrect);
68 static SkRect* jrectf_to_rect(JNIEnv*, jobject jrectf, SkRect*);
69 static SkRect* jrect_to_rect(JNIEnv*, jobject jrect, SkRect*);
70 static void rect_to_jrectf(const SkRect&, JNIEnv*, jobject jrectf);
72 static void set_jpoint(JNIEnv*, jobject jrect, int x, int y);
74 static SkIPoint* jpoint_to_ipoint(JNIEnv*, jobject jpoint, SkIPoint* point);
75 static void ipoint_to_jpoint(const SkIPoint& point, JNIEnv*, jobject jpoint);
77 static SkPoint* jpointf_to_point(JNIEnv*, jobject jpointf, SkPoint* point);
78 static void point_to_jpointf(const SkPoint& point, JNIEnv*, jobject jpointf);
80 ANDROID_API static android::Canvas* getNativeCanvas(JNIEnv*, jobject canvas);
81 static android::Bitmap* getNativeBitmap(JNIEnv*, jobject bitmap);
82 static SkImageInfo getBitmapInfo(JNIEnv*, jobject bitmap, uint32_t* outRowBytes,
84 static SkRegion* getNativeRegion(JNIEnv*, jobject region);
97 static SkColorType getNativeBitmapColorType(JNIEnv*, jobject jconfig);
98 static AndroidBitmapFormat getFormatFromConfig(JNIEnv* env, jobject jconfig);
99 static jobject getConfigFromFormat(JNIEnv* env, AndroidBitmapFormat format);
101 static bool isHardwareConfig(JNIEnv* env, jobject jconfig);
104 static jobject createRegion(JNIEnv* env, SkRegion* region);
106 static jobject createBitmapRegionDecoder(JNIEnv* env, SkBitmapRegionDecoder* bitmap);
114 static bool allocatePixels(JNIEnv* env, SkBitmap* bitmap);
120 static bool SetPixels(JNIEnv* env, jintArray colors, int srcOffset,
139 static jobject getColorSpace(JNIEnv* env, SkColorSpace* decodeColorSpace,
239 explicit AshmemPixelAllocator(JNIEnv* env);
259 AutoJavaFloatArray(JNIEnv* env, jfloatArray array,
267 JNIEnv* fEnv;
276 AutoJavaIntArray(JNIEnv* env, jintArray array, int minLength = 0);
283 JNIEnv* fEnv;
291 AutoJavaShortArray(JNIEnv* env, jshortArray array,
299 JNIEnv* fEnv;
308 AutoJavaByteArray(JNIEnv* env, jbyteArray array, int minLength = 0);
315 JNIEnv* fEnv;
321 void doThrowNPE(JNIEnv* env);
322 void doThrowAIOOBE(JNIEnv* env); // Array Index Out Of Bounds Exception
323 void doThrowIAE(JNIEnv* env, const char* msg = NULL); // Illegal Argument
324 void doThrowRE(JNIEnv* env, const char* msg = NULL); // Runtime
325 void doThrowISE(JNIEnv* env, const char* msg = NULL); // Illegal State
326 void doThrowOOME(JNIEnv* env, const char* msg = NULL); // Out of memory
327 void doThrowIOE(JNIEnv* env, const char* msg = NULL); // IO Exception