#include <jni.h>
#include <string>
#include <vector>
#include <hash_map>
#include <SkPath.h>
#include <SkBitmap.h>
Go to the source code of this file.
Classes |
class | ElapsedTimer |
struct | TextDrawInfo |
struct | IconDrawInfo |
struct | RenderingContext |
Defines |
#define | PROFILE_NATIVE_OPERATION(rc, op) op; |
Functions |
JNIEnv * | getGlobalJniEnv () |
JNIEnv * | setGlobalJniEnv (JNIEnv *) |
void | throwNewException (const char *msg) |
jclass | findClass (const char *className, bool mustHave=true) |
std::string | getString (jstring st) |
std::string | getStringMethod (jobject o, jmethodID fid, int i) |
std::string | getStringMethod (jobject o, jmethodID fid) |
std::string | getStringField (jobject o, jfieldID fid) |
jobject | newGlobalRef (jobject o) |
jfieldID | getFid (jclass cls, const char *fieldName, const char *sig) |
void | pullFromJavaRenderingContext (jobject jrc, RenderingContext *rc) |
void | pushToJavaRenderingContext (jobject jrc, RenderingContext *rc) |
float | getDensityValue (RenderingContext *rc, float val) |
SkBitmap * | getCachedBitmap (RenderingContext *rc, const std::string &bitmapResource) |
Variables |
const char *const | LOG_TAG |
Define Documentation
Function Documentation
jclass findClass |
( |
const char * |
className, |
|
|
bool |
mustHave = true |
|
) |
| |
jfieldID getFid |
( |
jclass |
cls, |
|
|
const char * |
fieldName, |
|
|
const char * |
sig |
|
) |
| |
Variable Documentation