diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-07-29 17:43:05 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-07-29 17:43:05 -0700 |
commit | 75ac5fb8756ec42a41d831acb52e1c100171f39b (patch) | |
tree | 0528354e750bfb5ab6cd471a424c649606e14107 /libs | |
parent | fc6627a892bc80ea32f9ac6ef2fd5ec7b0b90f78 (diff) | |
parent | 31b532ee9e1aaebbe383b13422cc59df43de4725 (diff) | |
download | frameworks_base-75ac5fb8756ec42a41d831acb52e1c100171f39b.zip frameworks_base-75ac5fb8756ec42a41d831acb52e1c100171f39b.tar.gz frameworks_base-75ac5fb8756ec42a41d831acb52e1c100171f39b.tar.bz2 |
Merge change 9065
* changes:
Checkin art assets for film test app and change loading of icons to 8888.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/rs/java/Film/res/drawable/p01.png | bin | 0 -> 254040 bytes | |||
-rw-r--r-- | libs/rs/java/Film/res/drawable/p02.png | bin | 0 -> 138822 bytes | |||
-rw-r--r-- | libs/rs/java/Film/res/drawable/p03.png | bin | 0 -> 152567 bytes | |||
-rw-r--r-- | libs/rs/java/Film/res/drawable/p04.png | bin | 0 -> 280950 bytes | |||
-rw-r--r-- | libs/rs/java/Film/res/drawable/p05.png | bin | 0 -> 349923 bytes | |||
-rw-r--r-- | libs/rs/java/Film/res/drawable/p06.png | bin | 0 -> 120523 bytes | |||
-rw-r--r-- | libs/rs/java/Film/res/drawable/p07.png | bin | 0 -> 139555 bytes | |||
-rw-r--r-- | libs/rs/java/Film/res/drawable/p08.png | bin | 0 -> 321251 bytes | |||
-rw-r--r-- | libs/rs/java/Film/res/drawable/p09.png | bin | 0 -> 281133 bytes | |||
-rw-r--r-- | libs/rs/java/Film/res/drawable/p10.png | bin | 0 -> 366289 bytes | |||
-rw-r--r-- | libs/rs/java/Film/res/drawable/p11.png | bin | 0 -> 319259 bytes | |||
-rw-r--r-- | libs/rs/java/Film/res/drawable/p12.png | bin | 0 -> 368751 bytes | |||
-rw-r--r-- | libs/rs/java/Film/res/drawable/p13.png | bin | 0 -> 312561 bytes | |||
-rw-r--r-- | libs/rs/java/Rollo/src/com/android/rollo/RolloRS.java | 31 |
14 files changed, 15 insertions, 16 deletions
diff --git a/libs/rs/java/Film/res/drawable/p01.png b/libs/rs/java/Film/res/drawable/p01.png Binary files differnew file mode 100644 index 0000000..a9b9bdb --- /dev/null +++ b/libs/rs/java/Film/res/drawable/p01.png diff --git a/libs/rs/java/Film/res/drawable/p02.png b/libs/rs/java/Film/res/drawable/p02.png Binary files differnew file mode 100644 index 0000000..8162c82 --- /dev/null +++ b/libs/rs/java/Film/res/drawable/p02.png diff --git a/libs/rs/java/Film/res/drawable/p03.png b/libs/rs/java/Film/res/drawable/p03.png Binary files differnew file mode 100644 index 0000000..e3e26c0 --- /dev/null +++ b/libs/rs/java/Film/res/drawable/p03.png diff --git a/libs/rs/java/Film/res/drawable/p04.png b/libs/rs/java/Film/res/drawable/p04.png Binary files differnew file mode 100644 index 0000000..daee603 --- /dev/null +++ b/libs/rs/java/Film/res/drawable/p04.png diff --git a/libs/rs/java/Film/res/drawable/p05.png b/libs/rs/java/Film/res/drawable/p05.png Binary files differnew file mode 100644 index 0000000..fac5248 --- /dev/null +++ b/libs/rs/java/Film/res/drawable/p05.png diff --git a/libs/rs/java/Film/res/drawable/p06.png b/libs/rs/java/Film/res/drawable/p06.png Binary files differnew file mode 100644 index 0000000..3b51261 --- /dev/null +++ b/libs/rs/java/Film/res/drawable/p06.png diff --git a/libs/rs/java/Film/res/drawable/p07.png b/libs/rs/java/Film/res/drawable/p07.png Binary files differnew file mode 100644 index 0000000..d8bd938 --- /dev/null +++ b/libs/rs/java/Film/res/drawable/p07.png diff --git a/libs/rs/java/Film/res/drawable/p08.png b/libs/rs/java/Film/res/drawable/p08.png Binary files differnew file mode 100644 index 0000000..ef175e8 --- /dev/null +++ b/libs/rs/java/Film/res/drawable/p08.png diff --git a/libs/rs/java/Film/res/drawable/p09.png b/libs/rs/java/Film/res/drawable/p09.png Binary files differnew file mode 100644 index 0000000..7bf3874 --- /dev/null +++ b/libs/rs/java/Film/res/drawable/p09.png diff --git a/libs/rs/java/Film/res/drawable/p10.png b/libs/rs/java/Film/res/drawable/p10.png Binary files differnew file mode 100644 index 0000000..908827d --- /dev/null +++ b/libs/rs/java/Film/res/drawable/p10.png diff --git a/libs/rs/java/Film/res/drawable/p11.png b/libs/rs/java/Film/res/drawable/p11.png Binary files differnew file mode 100644 index 0000000..1289f71 --- /dev/null +++ b/libs/rs/java/Film/res/drawable/p11.png diff --git a/libs/rs/java/Film/res/drawable/p12.png b/libs/rs/java/Film/res/drawable/p12.png Binary files differnew file mode 100644 index 0000000..e1af16a --- /dev/null +++ b/libs/rs/java/Film/res/drawable/p12.png diff --git a/libs/rs/java/Film/res/drawable/p13.png b/libs/rs/java/Film/res/drawable/p13.png Binary files differnew file mode 100644 index 0000000..d08bcbe --- /dev/null +++ b/libs/rs/java/Film/res/drawable/p13.png diff --git a/libs/rs/java/Rollo/src/com/android/rollo/RolloRS.java b/libs/rs/java/Rollo/src/com/android/rollo/RolloRS.java index 520e3e4..556ecee 100644 --- a/libs/rs/java/Rollo/src/com/android/rollo/RolloRS.java +++ b/libs/rs/java/Rollo/src/com/android/rollo/RolloRS.java @@ -249,63 +249,63 @@ public class RolloRS { mLabels[3] = makeTextBitmap("settings"); b = BitmapFactory.decodeResource(mRes, R.raw.calendar, opts); - mIcons[4] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGB_565, true); + mIcons[4] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGBA_8888, true); mLabels[4] = makeTextBitmap("creed"); b = BitmapFactory.decodeResource(mRes, R.raw.g1155, opts); - mIcons[5] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGB_565, true); + mIcons[5] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGBA_8888, true); mLabels[5] = makeTextBitmap("BOA"); b = BitmapFactory.decodeResource(mRes, R.raw.g2140, opts); - mIcons[6] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGB_565, true); + mIcons[6] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGBA_8888, true); mLabels[6] = makeTextBitmap("chess"); b = BitmapFactory.decodeResource(mRes, R.raw.maps, opts); - mIcons[7] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGB_565, true); + mIcons[7] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGBA_8888, true); mLabels[7] = makeTextBitmap("Dictionary"); b = BitmapFactory.decodeResource(mRes, R.raw.path431, opts); - mIcons[8] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGB_565, true); + mIcons[8] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGBA_8888, true); mLabels[8] = makeTextBitmap("facebook"); b = BitmapFactory.decodeResource(mRes, R.raw.path676, opts); - mIcons[9] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGB_565, true); + mIcons[9] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGBA_8888, true); mLabels[9] = makeTextBitmap("Flash Light"); b = BitmapFactory.decodeResource(mRes, R.raw.path754, opts); - mIcons[10] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGB_565, true); + mIcons[10] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGBA_8888, true); mLabels[10] = makeTextBitmap("Flight Control"); b = BitmapFactory.decodeResource(mRes, R.raw.path815, opts); - mIcons[11] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGB_565, true); + mIcons[11] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGBA_8888, true); mLabels[11] = makeTextBitmap("google earth"); b = BitmapFactory.decodeResource(mRes, R.raw.path1920, opts); - mIcons[12] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGB_565, true); + mIcons[12] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGBA_8888, true); mLabels[12] = makeTextBitmap("Harry Potter"); b = BitmapFactory.decodeResource(mRes, R.raw.path1927, opts); - mIcons[13] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGB_565, true); + mIcons[13] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGBA_8888, true); mLabels[13] = makeTextBitmap("Movies"); b = BitmapFactory.decodeResource(mRes, R.raw.path3099, opts); - mIcons[14] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGB_565, true); + mIcons[14] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGBA_8888, true); mLabels[14] = makeTextBitmap("NY Times"); b = BitmapFactory.decodeResource(mRes, R.raw.path3950, opts); - mIcons[15] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGB_565, true); + mIcons[15] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGBA_8888, true); mLabels[15] = makeTextBitmap("Pandora"); b = BitmapFactory.decodeResource(mRes, R.raw.path4481, opts); - mIcons[16] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGB_565, true); + mIcons[16] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGBA_8888, true); mLabels[16] = makeTextBitmap("Public Radio"); b = BitmapFactory.decodeResource(mRes, R.raw.path5168, opts); - mIcons[17] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGB_565, true); + mIcons[17] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGBA_8888, true); mLabels[17] = makeTextBitmap("Public Radio"); b = BitmapFactory.decodeResource(mRes, R.raw.polygon2408, opts); - mIcons[18] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGB_565, true); + mIcons[18] = mRS.allocationCreateFromBitmap(b, RenderScript.ElementPredefined.RGBA_8888, true); mLabels[18] = makeTextBitmap("Public Radio"); /* @@ -405,7 +405,6 @@ public class RolloRS { tmp[ct * 32 + 31] = 0; } mIconPlate.data(tmp); - Log.e("xx", "plate"); mIconPlate.uploadToTexture(0); mIconPlate.setName("Plate"); mPFImages.bindTexture(mIconPlate, 0); |