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
This commit is contained in:
1 parent
4d7c5cd993
commit
1aa4ff083c
6 files changed
+351
-238
No files matched your search
@@ -965,7 +965,7 @@ public class AllApps3D extends RSSurfaceView
|
||||
private int mHeight;
|
||||
|
||||
private Resources mRes;
|
||||
ScriptC_allapps mScript;
|
||||
ScriptC_Allapps mScript;
|
||||
|
||||
//private ProgramStore mPSIcons;
|
||||
private ProgramFragment mPFTexMip;
|
||||
@@ -1033,7 +1033,7 @@ public class AllApps3D extends RSSurfaceView
|
||||
mRes = res;
|
||||
mWidth = width;
|
||||
mHeight = height;
|
||||
mScript = new ScriptC_allapps(sRS, mRes, R.raw.allapps_bc, true);
|
||||
mScript = new ScriptC_Allapps(sRS, mRes, R.raw.allapps_bc, true);
|
||||
|
||||
initProgramVertex();
|
||||
initProgramFragment();
|
||||
@@ -1264,7 +1264,7 @@ public class AllApps3D extends RSSurfaceView
|
||||
sRollo.mScript.set_gZoomTarget(0);
|
||||
}
|
||||
if (!animate) {
|
||||
sRollo.mScript.invokable_SetZoom();
|
||||
sRollo.mScript.invoke_setZoom();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1368,16 +1368,16 @@ public class AllApps3D extends RSSurfaceView
|
||||
}
|
||||
|
||||
void fling() {
|
||||
mScript.invokable_Fling();
|
||||
mScript.invoke_fling();
|
||||
}
|
||||
|
||||
void move() {
|
||||
mScript.invokable_Move();
|
||||
mScript.invoke_move();
|
||||
}
|
||||
|
||||
void moveTo(float row) {
|
||||
mScript.set_gTargetPos(row);
|
||||
mScript.invokable_MoveTo();
|
||||
mScript.invoke_moveTo();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user