Bug 817134 - Delete dead code in java-land to display checkerboarding. r=blassey

This commit is contained in:
Kartikaya Gupta
2012-12-15 10:43:57 -05:00
parent a0fc935672
commit 2c255f313e
10 changed files with 24 additions and 402 deletions

View File

@@ -52,8 +52,7 @@ public class LayerView extends FrameLayout {
private LayerRenderer mRenderer;
/* Must be a PAINT_xxx constant */
private int mPaintState;
private int mCheckerboardColor;
private boolean mCheckerboardShouldShowChecks;
private int mBackgroundColor;
private boolean mFullScreen;
private SurfaceView mSurfaceView;
@@ -94,8 +93,7 @@ public class LayerView extends FrameLayout {
mGLController = new GLController(this);
mPaintState = PAINT_START;
mCheckerboardColor = Color.WHITE;
mCheckerboardShouldShowChecks = true;
mBackgroundColor = Color.WHITE;
}
public void initializeView(EventDispatcher eventDispatcher) {
@@ -188,21 +186,12 @@ public class LayerView extends FrameLayout {
return mLayerClient.convertViewPointToLayerPoint(viewPoint);
}
int getCheckerboardColor() {
return mCheckerboardColor;
int getBackgroundColor() {
return mBackgroundColor;
}
public void setCheckerboardColor(int newColor) {
mCheckerboardColor = newColor;
requestRender();
}
boolean checkerboardShouldShowChecks() {
return mCheckerboardShouldShowChecks;
}
void setCheckerboardShouldShowChecks(boolean value) {
mCheckerboardShouldShowChecks = value;
public void setBackgroundColor(int newColor) {
mBackgroundColor = newColor;
requestRender();
}