OSDN Git Service

android-2.1_r1 snapshot
[android-x86/packages-apps-Gallery2.git] / src / com / cooliris / media / RootLayer.java
diff --git a/src/com/cooliris/media/RootLayer.java b/src/com/cooliris/media/RootLayer.java
new file mode 100644 (file)
index 0000000..c0abc6d
--- /dev/null
@@ -0,0 +1,31 @@
+package com.cooliris.media;
+
+import javax.microedition.khronos.opengles.GL11;
+import android.hardware.SensorEvent;
+import android.view.KeyEvent;
+
+public abstract class RootLayer extends Layer {
+    public void onOrientationChanged(int orientation) {
+    }
+
+    public void onSurfaceCreated(RenderView renderView, GL11 gl) {
+    }
+
+    public void onSurfaceChanged(RenderView view, int width, int height) {
+    }
+
+    public void onSensorChanged(RenderView view, SensorEvent e) {
+    }
+
+    public boolean onKeyDown(int keyCode, KeyEvent event) {
+        return false;
+    }
+
+    public boolean onKeyUp(int keyCode, KeyEvent event) {
+        return false;
+    }
+
+    public void handleLowMemory() {
+
+    }
+}