Android: First implementation of CCImage::calculateStringSize