return iv;
}
+ @Override
+ public void setPivotX(float pivotX) {
+ // don't pivot me
+ }
+
+ @Override
+ public void setPivotY(float pivotY) {
+ // don't pivot me
+ }
+
public void render() {
- final Throwable[] thrown = new Throwable[1];
- final Bitmap[] offscreen = new Bitmap[1];
try {
- final int width = getRootView().getWidth();
- final int height = getRootView().getHeight();
+ int width = getRootView().getWidth();
+ int height = getRootView().getHeight();
if (mRenderedSize.x == width && mRenderedSize.y == height) {
- if (DEBUG) Log.d(TAG, String.format("Already rendered at size=%sx%s",
+ if (DEBUG) Log.d(TAG, String.format("already rendered at size=%sx%s",
width, height));
return;
}