Home
last modified time | relevance | path

Searched refs:sampleStride (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java296 int sampleStride = (int) Math.sqrt((height * width) / samples); in findDominantColorByHue() local
297 if (sampleStride < 1) { in findDominantColorByHue()
298 sampleStride = 1; in findDominantColorByHue()
310 for (int y = 0; y < height; y += sampleStride) { in findDominantColorByHue()
311 for (int x = 0; x < width; x += sampleStride) { in findDominantColorByHue()
342 for (int y = 0; y < height; y += sampleStride) { in findDominantColorByHue()
343 for (int x = 0; x < width; x += sampleStride) { in findDominantColorByHue()