Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/graphics/palette/
DWuQuantizer.java186 double[] volumeVariance = new double[maxColorCount]; in createBoxes() local
197 volumeVariance[next] = (mCubes[next].vol > 1) ? variance(mCubes[next]) : 0.0; in createBoxes()
198 volumeVariance[i] = (mCubes[i].vol > 1) ? variance(mCubes[i]) : 0.0; in createBoxes()
200 volumeVariance[next] = 0.0; in createBoxes()
206 double temp = volumeVariance[0]; in createBoxes()
208 if (volumeVariance[k] > temp) { in createBoxes()
209 temp = volumeVariance[k]; in createBoxes()