diff options
author | Jason Sams <rjsams@android.com> | 2010-06-15 14:59:57 -0700 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2010-06-15 17:13:46 -0700 |
commit | 1aa4ff083ce792d886faeae3cb4abfc9f36e97ce (patch) | |
tree | f2093d71f6a0dbe6d0328b66ebff56ba2a676bb4 /res | |
parent | 4d7c5cd9935099f93e6dc384ff731ef7ad9fa720 (diff) | |
download | android_packages_apps_Trebuchet-1aa4ff083ce792d886faeae3cb4abfc9f36e97ce.tar.gz android_packages_apps_Trebuchet-1aa4ff083ce792d886faeae3cb4abfc9f36e97ce.tar.bz2 android_packages_apps_Trebuchet-1aa4ff083ce792d886faeae3cb4abfc9f36e97ce.zip |
Update AppApps to use reflected files.
Previous files were hand written placeholders.
This also fixed the physics bug where movement was right.
Change-Id: I98838084d60f0eaf22f7fbd148a80b2f73f9a14c
Diffstat (limited to 'res')
-rw-r--r-- | res/raw/allapps.rs | 6 | ||||
-rw-r--r-- | res/raw/allapps_bc.bc | bin | 10208 -> 11644 bytes |
2 files changed, 3 insertions, 3 deletions
diff --git a/res/raw/allapps.rs b/res/raw/allapps.rs index e1a762dbd..d947613ba 100644 --- a/res/raw/allapps.rs +++ b/res/raw/allapps.rs @@ -18,7 +18,7 @@ float gNewPositionX; int gNewTouchDown; float gFlingVelocity; int gIconCount; -int gSelectedIconIndex; +int gSelectedIconIndex = -1; rs_allocation gSelectedIconTexture; float gZoomTarget; rs_allocation gHomeButton; @@ -34,7 +34,7 @@ rs_mesh gSMCell; rs_allocation *gIconIDs; rs_allocation *gLabelIDs; -typedef struct VpConsts_s { +typedef struct VpConsts { float4 Position; float4 ScaleOffset; float2 BendPos; @@ -310,7 +310,7 @@ static void drawFrontGrid(float rowOffset, float p) float x = colWidth * col + (colWidth / 2); vpConstants->Position.x = x + 0.2f; - if (gSelectedIconIndex == iconNum && !p && gSelectedIconTexture) { + if (gSelectedIconIndex == iconNum && !p && gSelectedIconTexture.p) { rsgBindProgramFragment(gPFTexNearest); rsgBindTexture(gPFTexNearest, 0, gSelectedIconTexture); vpConstants->ImgSize.x = rsAllocationGetDimX(gSelectedIconTexture); diff --git a/res/raw/allapps_bc.bc b/res/raw/allapps_bc.bc Binary files differindex 36e234cf4..3835d7d74 100644 --- a/res/raw/allapps_bc.bc +++ b/res/raw/allapps_bc.bc |