am 52f918e4: am 730c408c: Merge change I84bfa565 into eclair

Merge commit '52f918e43a6a34a2bca2fb95ff0c72273b59305a' into eclair-mr2-plus-aosp

* commit '52f918e43a6a34a2bca2fb95ff0c72273b59305a':
  Improve performance of AllApps for large numbers of apps.
This commit is contained in:
Jason Sams
2009-11-24 14:00:45 -08:00
committed by Android Git Automerger
+3 -2
View File
@@ -378,10 +378,11 @@ void drawStrip(float row, float column, int isTop, int iconNum, float p)
offset = positionStrip(row + 0.73f, column, isTop, p, 1);
}
if (offset < -20) return;
if (offset > 200) return;
bindTexture(NAMED_PFTexMip, 0, loadI32(ALLOC_LABEL_IDS, iconNum));
offset = clamp(offset, 0, 199 - 20);
//drawSimpleMeshRange(NAMED_SMMesh, offset * 6, 20 * 6);
drawSimpleMesh(NAMED_SMMesh);
drawSimpleMeshRange(NAMED_SMMesh, offset * 6, 20 * 6);
//drawSimpleMesh(NAMED_SMMesh);
}
void drawTop(float rowOffset, float p)