summaryrefslogtreecommitdiffstats
path: root/libs/rs/java/Samples
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2010-09-16 17:18:55 -0700
committerStephen Hines <srhines@google.com>2010-09-17 10:03:00 -0700
commit93a958f0958b852c0a2c7b940c74eeae283ba02b (patch)
tree2cd01dd0faaef882ea2564138aab7d947f924c73 /libs/rs/java/Samples
parenta8c6ceedbaf73c052795c44ad00de90254486fe0 (diff)
downloadframeworks_base-93a958f0958b852c0a2c7b940c74eeae283ba02b.zip
frameworks_base-93a958f0958b852c0a2c7b940c74eeae283ba02b.tar.gz
frameworks_base-93a958f0958b852c0a2c7b940c74eeae283ba02b.tar.bz2
Handle RS reflection name changes.
Change-Id: I0f3f9805a0f0bf44ce9e9944a3eaa5a80dd0cdde
Diffstat (limited to 'libs/rs/java/Samples')
-rw-r--r--libs/rs/java/Samples/src/com/android/samples/RsListRS.java4
-rw-r--r--libs/rs/java/Samples/src/com/android/samples/RsRenderStatesRS.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/libs/rs/java/Samples/src/com/android/samples/RsListRS.java b/libs/rs/java/Samples/src/com/android/samples/RsListRS.java
index a782e0e..aaeea87 100644
--- a/libs/rs/java/Samples/src/com/android/samples/RsListRS.java
+++ b/libs/rs/java/Samples/src/com/android/samples/RsListRS.java
@@ -93,7 +93,7 @@ public class RsListRS {
ScriptField_ListAllocs_s mListAllocs;
- private ScriptC_Rslist mScript;
+ private ScriptC_rslist mScript;
int mLastX;
int mLastY;
@@ -121,7 +121,7 @@ public class RsListRS {
private void initRS() {
- mScript = new ScriptC_Rslist(mRS, mRes, R.raw.rslist, true);
+ mScript = new ScriptC_rslist(mRS, mRes, R.raw.rslist, true);
mListAllocs = new ScriptField_ListAllocs_s(mRS, DATA_LIST.length);
for(int i = 0; i < DATA_LIST.length; i ++) {
diff --git a/libs/rs/java/Samples/src/com/android/samples/RsRenderStatesRS.java b/libs/rs/java/Samples/src/com/android/samples/RsRenderStatesRS.java
index d920527..18b94d9 100644
--- a/libs/rs/java/Samples/src/com/android/samples/RsRenderStatesRS.java
+++ b/libs/rs/java/Samples/src/com/android/samples/RsRenderStatesRS.java
@@ -92,7 +92,7 @@ public class RsRenderStatesRS {
private Allocation mTextAlloc;
- private ScriptC_Rsrenderstates mScript;
+ private ScriptC_rsrenderstates mScript;
private final BitmapFactory.Options mOptionsARGB = new BitmapFactory.Options();
@@ -304,7 +304,7 @@ public class RsRenderStatesRS {
private void initRS() {
- mScript = new ScriptC_Rsrenderstates(mRS, mRes, R.raw.rsrenderstates, true);
+ mScript = new ScriptC_rsrenderstates(mRS, mRes, R.raw.rsrenderstates, true);
initSamplers();
initProgramStore();