Skip to content

Commit

Permalink
Update package / rename DemoActivity to 'San Angeles'
Browse files Browse the repository at this point in the history
  • Loading branch information
julienchauveau committed Mar 13, 2014
1 parent bf8149c commit eab2e5b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.SanAngeles"
package="com.julienchauveau.SanAngeles"
android:versionCode="1"
android:versionName="1.0">
<application android:label="@string/app_name">
Expand Down
14 changes: 7 additions & 7 deletions jni/app-android.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ _getTime(void)

/* Call to initialize the graphics state */
void
Java_com_example_SanAngeles_DemoRenderer_nativeInit( JNIEnv* env )
Java_com_julienchauveau_SanAngeles_DemoRenderer_nativeInit( JNIEnv* env )
{
importGLInit();
appInit();
gAppAlive = 1;
}

void
Java_com_example_SanAngeles_DemoRenderer_nativeResize( JNIEnv* env, jobject thiz, jint w, jint h )
Java_com_julienchauveau_SanAngeles_DemoRenderer_nativeResize( JNIEnv* env, jobject thiz, jint w, jint h )
{
sWindowWidth = w;
sWindowHeight = h;
Expand All @@ -62,7 +62,7 @@ Java_com_example_SanAngeles_DemoRenderer_nativeResize( JNIEnv* env, jobject th

/* Call to finalize the graphics state */
void
Java_com_example_SanAngeles_DemoRenderer_nativeDone( JNIEnv* env )
Java_com_julienchauveau_SanAngeles_DemoRenderer_nativeDone( JNIEnv* env )
{
appDeinit();
importGLDeinit();
Expand Down Expand Up @@ -90,7 +90,7 @@ void _resume()


void
Java_com_example_SanAngeles_DemoGLSurfaceView_nativeTogglePauseResume( JNIEnv* env )
Java_com_julienchauveau_SanAngeles_DemoGLSurfaceView_nativeTogglePauseResume( JNIEnv* env )
{
sDemoStopped = !sDemoStopped;
if (sDemoStopped)
Expand All @@ -100,20 +100,20 @@ Java_com_example_SanAngeles_DemoGLSurfaceView_nativeTogglePauseResume( JNIEnv*
}

void
Java_com_example_SanAngeles_DemoGLSurfaceView_nativePause( JNIEnv* env )
Java_com_julienchauveau_SanAngeles_DemoGLSurfaceView_nativePause( JNIEnv* env )
{
_pause();
}

void
Java_com_example_SanAngeles_DemoGLSurfaceView_nativeResume( JNIEnv* env )
Java_com_julienchauveau_SanAngeles_DemoGLSurfaceView_nativeResume( JNIEnv* env )
{
_resume();
}

/* Call to render the next GL frame */
void
Java_com_example_SanAngeles_DemoRenderer_nativeRender( JNIEnv* env )
Java_com_julienchauveau_SanAngeles_DemoRenderer_nativeRender( JNIEnv* env )
{
long curTime;

Expand Down
2 changes: 1 addition & 1 deletion res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">DemoActivity</string>
<string name="app_name">San Angeles</string>
</resources>
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* Fixing the program to send less polygons to the GPU is left
* as an exercise to the reader. As always, patches welcomed :-)
*/
package com.example.SanAngeles;
package com.julienchauveau.SanAngeles;

import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;
Expand Down

0 comments on commit eab2e5b

Please sign in to comment.