refactor calculateDrawableSizes

- calculate main parameters in parent, pass to subclass