am 730c408c: Merge change I84bfa565 into eclair

Merge commit '730c408ccc76dd7da2235a9af6c84d98d19e6b72' into eclair-mr2

* commit '730c408ccc76dd7da2235a9af6c84d98d19e6b72':
  Improve performance of AllApps for large numbers of apps.
This commit is contained in:
Jason Sams
2009-11-23 08:55:36 -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)