Backed out changeset b77c0c621163 (bug 710533) for native ts bustage

This commit is contained in:
Phil Ringnalda
2012-01-23 22:53:07 -08:00
parent c7dcc2bcc9
commit b69de5af94
6 changed files with 8 additions and 226 deletions

View File

@@ -81,11 +81,8 @@ public class LayerController {
* updates our visible rect appropriately.
*/
private OnTouchListener mOnTouchListener; /* The touch listener. */
private LayerClient mLayerClient; /* The layer client. */
/* The new color for the checkerboard. */
private int mCheckerboardColor;
private OnTouchListener mOnTouchListener; /* The touch listener. */
private LayerClient mLayerClient; /* The layer client. */
private boolean mForceRedraw;
@@ -147,6 +144,7 @@ public class LayerController {
}
public Bitmap getBackgroundPattern() { return getDrawable("background"); }
public Bitmap getCheckerboardPattern() { return getDrawable("checkerboard"); }
public Bitmap getShadowPattern() { return getDrawable("shadow"); }
public GestureDetector.OnGestureListener getGestureListener() { return mPanZoomController; }
@@ -353,16 +351,5 @@ public class LayerController {
return mOnTouchListener.onTouch(mView, event);
return false;
}
/** Retrieves the color that the checkerboard should be. */
public int getCheckerboardColor() {
return mCheckerboardColor;
}
/** Sets a new color for the checkerboard. */
public void setCheckerboardColor(int newColor) {
mCheckerboardColor = newColor;
mView.requestRender();
}
}