Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/graphics/palette/
DTarget.java134 final float[] mWeights = new float[3]; field in Target
148 System.arraycopy(from.mWeights, 0, mWeights, 0, mWeights.length); in Target()
209 return mWeights[INDEX_WEIGHT_SAT]; in getSaturationWeight()
222 return mWeights[INDEX_WEIGHT_LUMA]; in getLightnessWeight()
233 return mWeights[INDEX_WEIGHT_POP]; in getPopulationWeight()
252 mWeights[INDEX_WEIGHT_SAT] = WEIGHT_SATURATION; in setDefaultWeights()
253 mWeights[INDEX_WEIGHT_LUMA] = WEIGHT_LUMA; in setDefaultWeights()
254 mWeights[INDEX_WEIGHT_POP] = WEIGHT_POPULATION; in setDefaultWeights()
259 for (int i = 0, z = mWeights.length; i < z; i++) { in normalizeWeights()
260 float weight = mWeights[i]; in normalizeWeights()
[all …]