Ejemplo n.º 1
0
 JNIEXPORT void JNICALL
 Java_com_android_sensorgraph_SensorGraphJNI_drawFrame(JNIEnv *env, jclass type) {
     (void)env;
     (void)type;
     gSensorGraph.update();
     gSensorGraph.render();
 }
Ejemplo n.º 2
0
 JNIEXPORT void JNICALL
 Java_sample_hawk_com_mybasicappcomponents_jni_AccelerometerGraphJNI_drawFrame(
         JNIEnv *env, jclass type) {
     (void)env;
     (void)type;
     gSensorGraph.update();
     gSensorGraph.render();
 }
Ejemplo n.º 3
0
 JNIEXPORT void JNICALL
 Java_com_android_accelerometergraph_AccelerometerGraphJNI_resume(
         JNIEnv *env, jclass type) {
     (void)env;
     (void)type;
     gSensorGraph.resume();
 }
Ejemplo n.º 4
0
 JNIEXPORT void JNICALL
 Java_com_android_accelerometergraph_AccelerometerGraphJNI_surfaceChanged(
         JNIEnv *env, jclass type, jint width, jint height) {
     (void)env;
     (void)type;
     gSensorGraph.surfaceChanged(width, height);
 }
Ejemplo n.º 5
0
JNIEXPORT void JNICALL
    Java_com_android_accelerometergraph_AccelerometerGraphJNI_init(
                     JNIEnv *env, jclass type, jobject assetManager) {
        (void)type;
        AAssetManager *nativeAssetManager = AAssetManager_fromJava(env, assetManager);
        gSensorGraph.init(nativeAssetManager);
    }
Ejemplo n.º 6
0
 JNIEXPORT void JNICALL
 Java_sample_hawk_com_mybasicappcomponents_jni_AccelerometerGraphJNI_pause(
         JNIEnv *env, jclass type) {
     (void)env;
     (void)type;
     gSensorGraph.pause();
 }
Ejemplo n.º 7
0
 JNIEXPORT void JNICALL
 Java_sample_hawk_com_mybasicappcomponents_jni_AccelerometerGraphJNI_surfaceChanged(
         JNIEnv *env, jclass type, jint width, jint height) {
     (void)env;
     (void)type;
     gSensorGraph.surfaceChanged(width, height);
 }
Ejemplo n.º 8
0
JNIEXPORT void JNICALL
    Java_sample_hawk_com_mybasicappcomponents_jni_AccelerometerGraphJNI_init(
                     JNIEnv *env, jclass type, jobject assetManager) {
        (void)type;
        AAssetManager *nativeAssetManager = AAssetManager_fromJava(env, assetManager);
        gSensorGraph.init(nativeAssetManager);
    }
Ejemplo n.º 9
0
 JNIEXPORT void JNICALL
 Java_com_android_accelerometergraph_AccelerometerGraphJNI_surfaceCreated(JNIEnv *env, jclass type) {
     (void)env;
     (void)type;
     gSensorGraph.surfaceCreated();
 }
Ejemplo n.º 10
0
 JNIEXPORT void JNICALL
 Java_com_android_sensorgraph_SensorGraphJNI_pause(JNIEnv *env, jclass type) {
     (void)env;
     (void)type;
     gSensorGraph.pause();
 }