@Override protected void onSizeChanged(int width, int height, int oldWidth, int oldHeight) { super.onSizeChanged(width, height, oldWidth, oldHeight); controller.getSettings().setViewport(width, height).setImage(width, height); controller.updateState(); }
@Override protected void onSizeChanged(int w, int h, int oldw, int oldh) { super.onSizeChanged(w, h, oldw, oldh); if (mForegroundDelegate != null) { mForegroundDelegate.onSizeChanged(w, h, oldw, oldh); } }