Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/graphics/palette/
DWuQuantizer.java58 private double[] mMoments; field in WuQuantizer
120 mMoments = new double[TOTAL_SIZE]; in constructHistogram()
137 mMoments[index] += (count * ((red * red) + (green * green) + (blue * blue))); in constructHistogram()
162 line2 += mMoments[index]; in createMoments()
175 mMoments[index] = mMoments[previousIndex] + area2[b]; in createMoments()
246 mMoments[getIndex(cube.r1, cube.g1, cube.b1)] in variance()
247 - mMoments[getIndex(cube.r1, cube.g1, cube.b0)] in variance()
248 - mMoments[getIndex(cube.r1, cube.g0, cube.b1)] in variance()
249 + mMoments[getIndex(cube.r1, cube.g0, cube.b0)] in variance()
250 - mMoments[getIndex(cube.r0, cube.g1, cube.b1)] in variance()
[all …]