summaryrefslogtreecommitdiffstats
path: root/res/raw
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-02-22 15:41:30 -0800
committerJason Sams <rjsams@android.com>2010-02-22 15:41:42 -0800
commit6b08ffe6642165c26a5a68fc64bca9c4e85f540f (patch)
tree12b0108128576dc68c5c2e74f6de4163b83a18c6 /res/raw
parent983e5f2cd3754b09864ea41f8f71f8d19c2c23eb (diff)
downloadandroid_packages_apps_Trebuchet-6b08ffe6642165c26a5a68fc64bca9c4e85f540f.tar.gz
android_packages_apps_Trebuchet-6b08ffe6642165c26a5a68fc64bca9c4e85f540f.tar.bz2
android_packages_apps_Trebuchet-6b08ffe6642165c26a5a68fc64bca9c4e85f540f.zip
tweak alignment of all apps to avoid filtering artifacts.
Diffstat (limited to 'res/raw')
-rw-r--r--res/raw/allapps.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/res/raw/allapps.rs b/res/raw/allapps.rs
index 1d4aed3c7..fa6a8bf04 100644
--- a/res/raw/allapps.rs
+++ b/res/raw/allapps.rs
@@ -312,7 +312,7 @@ void drawFrontGrid(float rowOffset, float p)
if (iconNum >= 0) {
float x = colWidth * col + (colWidth / 2);
- vpConstants->Position.x = x;
+ vpConstants->Position.x = x + 0.2f;
if (state->selectedIconIndex == iconNum && !p) {
bindProgramFragment(NAMED_PFTexNearest);
@@ -326,14 +326,14 @@ void drawFrontGrid(float rowOffset, float p)
bindProgramFragment(NAMED_PFTexMip);
vpConstants->ImgSize.x = ICON_TEXTURE_WIDTH_PX;
vpConstants->ImgSize.y = ICON_TEXTURE_HEIGHT_PX;
- vpConstants->Position.y = y;
+ vpConstants->Position.y = y - 0.2f;
bindTexture(NAMED_PFTexMip, 0, loadI32(ALLOC_ICON_IDS, iconNum));
drawSimpleMesh(NAMED_SMCell);
bindProgramFragment(NAMED_PFTexMipAlpha);
vpConstants->ImgSize.x = 120.f;
vpConstants->ImgSize.y = 64.f;
- vpConstants->Position.y = y - 64.f;
+ vpConstants->Position.y = y - 64.f - 0.2f;
bindTexture(NAMED_PFTexMipAlpha, 0, loadI32(ALLOC_LABEL_IDS, iconNum));
drawSimpleMesh(NAMED_SMCell);
}