/** Called by activity's onResume() method to load the images */ public void load() { if (firstLoad) { getMetrics(); firstLoad = false; } for (MultiTouchDrawable sub : subDrawables) { sub.load(); } // float cx, cy, sx, sy; // if (firstLoad) { // cx = 0; // cy = 0; // // float sc = 1; // sx = sy = sc; // firstLoad = false; // } else { // // Reuse position and scale information if it is available // // FIXME this doesn't actually work because the whole activity is // // torn down and re-created on rotate // cx = this.centerX; // cy = this.centerY; // sx = this.scaleX; // sy = this.scaleY; // } // setPos(cx, cy, sx, sy, 0.0f, FLAG_FORCEALL, false); }