Searched refs:size_calculator (Results 1 – 1 of 1) sorted by relevance
386 def CalculateMinPartitionSize(self, image_size, size_calculator=None): argument401 if size_calculator is None:402 size_calculator = self.CalculateMaxImageSize405 image_ratio = size_calculator(image_size) / float(image_size)412 max_image_size = size_calculator(lo)417 max_image_size = size_calculator(lo)423 max_image_size = size_calculator(hi)428 max_image_size = size_calculator(hi)435 max_image_size = size_calculator(mid)