am 979535cd: am 33f8133b: Merge "RS API cleanup for SDK.  Update apps to final APIs. bug 3421901" into honeycomb

* commit '979535cdab0c39231377fb6ef409edee410531bf':
  RS API cleanup for SDK.  Update apps to final APIs. bug 3421901
diff --git a/src/com/android/launcher2/allapps.rs b/src/com/android/launcher2/allapps.rs
index bebc04d..4ea1aee 100644
--- a/src/com/android/launcher2/allapps.rs
+++ b/src/com/android/launcher2/allapps.rs
@@ -298,7 +298,7 @@
                     vpConstants->ImgSize.y = rsAllocationGetDimY(gSelectedIconTexture);
                     vpConstants->Position.y = y - (rsAllocationGetDimY(gSelectedIconTexture)
                                                 - rsAllocationGetDimY(gIcons[iconNum])) * 0.5f;
-                    rsAllocationMarkDirty(g_VPConstAlloc);
+                    rsgAllocationSyncAll(g_VPConstAlloc);
                     rsgDrawMesh(gSMCell);
                 }
 
@@ -306,7 +306,7 @@
                 vpConstants->ImgSize.x = rsAllocationGetDimX(gIcons[iconNum]);
                 vpConstants->ImgSize.y = rsAllocationGetDimY(gIcons[iconNum]);
                 vpConstants->Position.y = y - 0.2f;
-                rsAllocationMarkDirty(g_VPConstAlloc);
+                rsgAllocationSyncAll(g_VPConstAlloc);
                 rsgBindTexture(gPFTexMip, 0, gIcons[iconNum]);
                 rsgDrawMesh(gSMCell);
 
@@ -314,7 +314,7 @@
                 vpConstants->ImgSize.x = rsAllocationGetDimX(gLabels[iconNum]);
                 vpConstants->ImgSize.y = rsAllocationGetDimY(gLabels[iconNum]);
                 vpConstants->Position.y = y - 64.f - 0.2f;
-                rsAllocationMarkDirty(g_VPConstAlloc);
+                rsgAllocationSyncAll(g_VPConstAlloc);
                 rsgBindTexture(gPFTexMipAlpha, 0, gLabels[iconNum]);
                 rsgDrawMesh(gSMCell);
             }