diff options
author | Alex Sakhartchouk <alexst@google.com> | 2011-12-09 12:38:26 -0800 |
---|---|---|
committer | Alex Sakhartchouk <alexst@google.com> | 2011-12-09 12:38:26 -0800 |
commit | 3fc86ec3d03bb4a0ae61e41d0cfba43595ecc23d (patch) | |
tree | eca213b8f7f0eb29079f656f29b59828106ef92d /tests/RenderScriptTests/SceneGraph/src | |
parent | 1fc841ac55eaef8c53f289335621962973e852c3 (diff) | |
download | frameworks_base-3fc86ec3d03bb4a0ae61e41d0cfba43595ecc23d.zip frameworks_base-3fc86ec3d03bb4a0ae61e41d0cfba43595ecc23d.tar.gz frameworks_base-3fc86ec3d03bb4a0ae61e41d0cfba43595ecc23d.tar.bz2 |
Renaming some classes to clarify what is what.
Change-Id: Iaee63ffd96bc269e46bc052d333ba1a5e848bd13
Diffstat (limited to 'tests/RenderScriptTests/SceneGraph/src')
-rw-r--r-- | tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ColladaScene.java | 4 | ||||
-rw-r--r-- | tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/TestApp.java (renamed from tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/SceneGraph.java) | 6 | ||||
-rw-r--r-- | tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/TestAppRS.java (renamed from tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/SceneGraphRS.java) | 6 | ||||
-rw-r--r-- | tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/TestAppView.java (renamed from tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/SceneGraphView.java) | 8 |
4 files changed, 12 insertions, 12 deletions
diff --git a/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ColladaScene.java b/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ColladaScene.java index 9394b66..3b4efa6 100644 --- a/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ColladaScene.java +++ b/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ColladaScene.java @@ -49,10 +49,10 @@ public class ColladaScene { private final boolean mLoadFromSD = true; private static String mSDCardPath = "sdcard/scenegraph/"; - SceneGraphRS mRenderer; + TestAppRS mRenderer; SceneLoadedCallback mCallback; - public ColladaScene(String name, SceneGraphRS renderer) { + public ColladaScene(String name, TestAppRS renderer) { modelName = name; mRenderer = renderer; } diff --git a/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/SceneGraph.java b/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/TestApp.java index cfb91f4..ccdd2aa 100644 --- a/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/SceneGraph.java +++ b/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/TestApp.java @@ -40,9 +40,9 @@ import android.net.Uri; import java.lang.Runtime; -public class SceneGraph extends Activity { +public class TestApp extends Activity { - private SceneGraphView mView; + private TestAppView mView; @Override public void onCreate(Bundle icicle) { @@ -50,7 +50,7 @@ public class SceneGraph extends Activity { // Create our Preview view and set it as the content of our // Activity - mView = new SceneGraphView(this); + mView = new TestAppView(this); setContentView(mView); } diff --git a/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/SceneGraphRS.java b/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/TestAppRS.java index 04b4cd8..c0a3b75 100644 --- a/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/SceneGraphRS.java +++ b/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/TestAppRS.java @@ -41,10 +41,10 @@ import android.util.Log; import com.android.scenegraph.SceneManager.SceneLoadedCallback; -public class SceneGraphRS { +public class TestAppRS { private static String modelName = "orientation_test"; - private static String TAG = "SceneGraphRS"; + private static String TAG = "TestAppRS"; private final int STATE_LAST_FOCUS = 1; private final boolean mLoadFromSD = true; private static String mSDCardPath = "sdcard/scenegraph/"; @@ -65,7 +65,7 @@ public class SceneGraphRS { TouchHandler mTouchHandler; - public SceneGraphRS() { + public TestAppRS() { mUseBlur = false; } diff --git a/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/SceneGraphView.java b/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/TestAppView.java index 0f28501..cefa3e6 100644 --- a/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/SceneGraphView.java +++ b/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/TestAppView.java @@ -40,15 +40,15 @@ import android.view.KeyEvent; import android.view.MotionEvent; import android.view.ScaleGestureDetector; -public class SceneGraphView extends RSSurfaceView { +public class TestAppView extends RSSurfaceView { - public SceneGraphView(Context context) { + public TestAppView(Context context) { super(context); mScaleDetector = new ScaleGestureDetector(context, new ScaleListener()); } private RenderScriptGL mRS; - SceneGraphRS mRender; + TestAppRS mRender; private ScaleGestureDetector mScaleDetector; private static final int INVALID_POINTER_ID = -1; @@ -61,7 +61,7 @@ public class SceneGraphView extends RSSurfaceView { sc.setDepth(16, 24); mRS = createRenderScriptGL(sc); mRS.setSurface(holder, w, h); - mRender = new SceneGraphRS(); + mRender = new TestAppRS(); mRender.init(mRS, getResources(), w, h); } } |