Searched refs:sampleStride (Results 1 – 1 of 1) sorted by relevance
410 int sampleStride = (int) Math.sqrt((height * width) / samples); in findDominantColorByHue() local411 if (sampleStride < 1) { in findDominantColorByHue()412 sampleStride = 1; in findDominantColorByHue()424 for (int y = 0; y < height; y += sampleStride) { in findDominantColorByHue()425 for (int x = 0; x < width; x += sampleStride) { in findDominantColorByHue()456 for (int y = 0; y < height; y += sampleStride) { in findDominantColorByHue()457 for (int x = 0; x < width; x += sampleStride) { in findDominantColorByHue()