diff options
author | Stephen Hines <srhines@google.com> | 2010-09-13 14:21:39 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2010-09-15 17:32:06 -0700 |
commit | a8c6ceedbaf73c052795c44ad00de90254486fe0 (patch) | |
tree | 92f8bc78c8b1a9ca23c828fef8c011d8c200115d /libs/rs/java | |
parent | 06fb6e07652038c137c6aa29cc0add215370ccaf (diff) | |
download | frameworks_base-a8c6ceedbaf73c052795c44ad00de90254486fe0.zip frameworks_base-a8c6ceedbaf73c052795c44ad00de90254486fe0.tar.gz frameworks_base-a8c6ceedbaf73c052795c44ad00de90254486fe0.tar.bz2 |
Minor app updates for RS. force RSTest to portrait.
Change-Id: Ic2356644e00be8d373da97a9072f008e59a0264a
Diffstat (limited to 'libs/rs/java')
3 files changed, 5 insertions, 5 deletions
diff --git a/libs/rs/java/ImageProcessing/src/com/android/rs/image/ImageProcessingActivity.java b/libs/rs/java/ImageProcessing/src/com/android/rs/image/ImageProcessingActivity.java index 75b8d33..4040caa 100644 --- a/libs/rs/java/ImageProcessing/src/com/android/rs/image/ImageProcessingActivity.java +++ b/libs/rs/java/ImageProcessing/src/com/android/rs/image/ImageProcessingActivity.java @@ -352,7 +352,7 @@ public class ImageProcessingActivity extends Activity mSaturationSeekBar.setProgress(50); mBenchmarkResult = (TextView) findViewById(R.id.benchmarkText); - mBenchmarkResult.setText("Benchmark no yet run"); + mBenchmarkResult.setText("Benchmark not yet run"); } public void surfaceCreated(SurfaceHolder holder) { diff --git a/libs/rs/java/tests/AndroidManifest.xml b/libs/rs/java/tests/AndroidManifest.xml index bc144ab..b660398 100644 --- a/libs/rs/java/tests/AndroidManifest.xml +++ b/libs/rs/java/tests/AndroidManifest.xml @@ -4,7 +4,8 @@ <application android:label="_RS_Test" android:icon="@drawable/test_pattern"> - <activity android:name="RSTest"> + <activity android:name="RSTest" + android:screenOrientation="portrait"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> diff --git a/libs/rs/java/tests/src/com/android/rs/test/RSTest.java b/libs/rs/java/tests/src/com/android/rs/test/RSTest.java index 121793d..c264649 100644 --- a/libs/rs/java/tests/src/com/android/rs/test/RSTest.java +++ b/libs/rs/java/tests/src/com/android/rs/test/RSTest.java @@ -61,7 +61,7 @@ public class RSTest extends Activity { @Override protected void onResume() { // Ideally a game should implement onResume() and onPause() - // to take appropriate action when the activity looses focus + // to take appropriate action when the activity loses focus super.onResume(); mView.onResume(); } @@ -69,7 +69,7 @@ public class RSTest extends Activity { @Override protected void onPause() { // Ideally a game should implement onResume() and onPause() - // to take appropriate action when the activity looses focus + // to take appropriate action when the activity loses focus super.onPause(); mView.onPause(); } @@ -82,4 +82,3 @@ public class RSTest extends Activity { } - |