Don't do readback. This is a hack until we figure out a better way to really find out what's going

on.
This commit is contained in:
Joe Onorato
2009-09-25 17:30:47 -07:00
parent 56848b0cc5
commit 8e099e208e
+9 -1
View File
@@ -332,13 +332,21 @@ public class AllAppsView extends RSSurfaceView
} else {
mRollo.mInvokeSetZoomTarget.execute();
}
mReadZoom.removeMessages(1);
mReadZoom.sendEmptyMessageDelayed(1, 1000);
}
Handler mReadZoom = new Handler() {
public void handleMessage(Message msg) {
mRollo.mReadback.read();
}
};
public boolean isVisible() {
if (mRollo == null) {
return false;
}
mRollo.mReadback.read();
//mRollo.mReadback.read();
return mRollo.mReadback.zoom > 0.001f;
}