summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/AllApps3D.java
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-06-01 15:54:10 -0700
committerJason Sams <rjsams@android.com>2010-06-01 15:54:10 -0700
commit98994c4a83e86e2444eb928a9bd3392f1f31f0cd (patch)
tree55afab772d868979b58dc1abf2f8ac577987befb /src/com/android/launcher2/AllApps3D.java
parent8cc4732448b0a8f5486f46ca754ee66df016a33d (diff)
downloadandroid_packages_apps_Trebuchet-98994c4a83e86e2444eb928a9bd3392f1f31f0cd.tar.gz
android_packages_apps_Trebuchet-98994c4a83e86e2444eb928a9bd3392f1f31f0cd.tar.bz2
android_packages_apps_Trebuchet-98994c4a83e86e2444eb928a9bd3392f1f31f0cd.zip
Remove RS_Kind info from element setup
Change-Id: Ia851229b6e107d4c19bd20c6acfef4f8fae280d1
Diffstat (limited to 'src/com/android/launcher2/AllApps3D.java')
-rw-r--r--src/com/android/launcher2/AllApps3D.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/com/android/launcher2/AllApps3D.java b/src/com/android/launcher2/AllApps3D.java
index 6bbe0f7d0..36e19ceee 100644
--- a/src/com/android/launcher2/AllApps3D.java
+++ b/src/com/android/launcher2/AllApps3D.java
@@ -1220,11 +1220,11 @@ public class AllApps3D extends RSSurfaceView
mIcons = new Allocation[count];
mIconIds = new int[allocCount];
- mAllocIconIds = Allocation.createSized(sRS, Element.USER_I32(sRS), allocCount);
+ mAllocIconIds = Allocation.createSized(sRS, Element.I32(sRS), allocCount);
mLabels = new Allocation[count];
mLabelIds = new int[allocCount];
- mAllocLabelIds = Allocation.createSized(sRS, Element.USER_I32(sRS), allocCount);
+ mAllocLabelIds = Allocation.createSized(sRS, Element.I32(sRS), allocCount);
mScript.set_gIconCount(count);
for (int i=0; i < count; i++) {
@@ -1280,11 +1280,11 @@ public class AllApps3D extends RSSurfaceView
private void reallocAppsList(int count) {
Allocation[] icons = new Allocation[count];
int[] iconIds = new int[count];
- mAllocIconIds = Allocation.createSized(sRS, Element.USER_I32(sRS), count);
+ mAllocIconIds = Allocation.createSized(sRS, Element.I32(sRS), count);
Allocation[] labels = new Allocation[count];
int[] labelIds = new int[count];
- mAllocLabelIds = Allocation.createSized(sRS, Element.USER_I32(sRS), count);
+ mAllocLabelIds = Allocation.createSized(sRS, Element.I32(sRS), count);
final int oldCount = sRollo.mScript.get_gIconCount();