Searched refs:originalDimension (Results 1 – 1 of 1) sorted by relevance
758 private void checkSampleSize(String name, int originalDimension, int sampleSize, int result) { in checkSampleSize() argument759 if (originalDimension % sampleSize == 0) { in checkSampleSize()760 assertEquals("Mismatch for " + name + ": " + originalDimension + " / " + sampleSize in checkSampleSize()761 + " != " + result, originalDimension / sampleSize, result); in checkSampleSize()762 } else if (originalDimension <= sampleSize) { in checkSampleSize()767 assertTrue("Rounding mismatch for " + name + ": " + originalDimension + " / " in checkSampleSize()769 Math.abs(size - originalDimension) < sampleSize); in checkSampleSize()