Permalink
Browse files

renamed package and app id

  • Loading branch information...
devisnik committed Feb 20, 2012
1 parent a373cd9 commit 487597152914d518c25249fef9626adf921ddca1
View
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="de.devisnik.rs.drawer"
+ package="de.devisnik.rs.slider"
android:versionCode="1"
android:versionName="1.0" >
@@ -11,7 +11,7 @@
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
- android:name=".SliderActivity"
+ android:name="de.devisnik.rs.slider.SliderActivity"
android:label="@string/app_name"
android:theme="@android:style/Theme.Black.NoTitleBar">
<intent-filter>
@@ -23,7 +23,7 @@
<service
android:label="WallDrawer"
- android:name=".SliderWallpaper"
+ android:name="de.devisnik.rs.slider.SliderWallpaper"
android:permission="android.permission.BIND_WALLPAPER" >
<intent-filter >
<action android:name="android.service.wallpaper.WallpaperService" />
@@ -1,7 +1,7 @@
/**
*
*/
-package de.devisnik.rs.drawer;
+package de.devisnik.rs.slider;
import java.util.Random;
@@ -1,4 +1,4 @@
-package de.devisnik.rs.drawer;
+package de.devisnik.rs.slider;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Paint;
@@ -1,4 +1,4 @@
-package de.devisnik.rs.drawer;
+package de.devisnik.rs.slider;
import android.graphics.Canvas;
import android.graphics.Paint;
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package de.devisnik.rs.drawer;
+package de.devisnik.rs.slider;
import android.app.Activity;
import android.os.Bundle;
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package de.devisnik.rs.drawer;
+package de.devisnik.rs.slider;
import java.util.concurrent.TimeUnit;
@@ -14,23 +14,17 @@
* limitations under the License.
*/
-package de.devisnik.rs.drawer;
+package de.devisnik.rs.slider;
-import java.util.concurrent.TimeUnit;
-
-import android.os.Handler;
+import android.content.Context;
import android.renderscript.RSSurfaceView;
import android.renderscript.RenderScriptGL;
-
-import android.content.Context;
import android.view.MotionEvent;
import android.view.SurfaceHolder;
public class SliderView extends RSSurfaceView {
- // Renderscript context
private RenderScriptGL mRS;
- // Script that does the rendering
private SliderRS mRender;
public SliderView(Context context) {
@@ -40,11 +34,8 @@ public SliderView(Context context) {
private void ensureRenderScript() {
if (mRS == null) {
- // Initialize renderscript with desired surface characteristics.
- // In this case, just use the defaults
RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig();
mRS = createRenderScriptGL(sc);
- // Create an instance of the script that does the rendering
}
}
@@ -1,4 +1,4 @@
-package de.devisnik.rs.drawer;
+package de.devisnik.rs.slider;
import com.android.wallpaper.RenderScriptWallpaper;
@@ -13,7 +13,7 @@
// limitations under the License.
#pragma version(1)
-#pragma rs java_package_name(de.devisnik.rs.drawer)
+#pragma rs java_package_name(de.devisnik.rs.slider)
#include "rs_graphics.rsh"

0 comments on commit 4875971

Please sign in to comment.