Lines Matching refs:weight

200      * Returns the weight of importance that this target places on a color's saturation within
203 * <p>The larger the weight, relative to the other weights, the more important that a color
213 * Returns the weight of importance that this target places on a color's lightness within
216 * <p>The larger the weight, relative to the other weights, the more important that a color
226 * Returns the weight of importance that this target places on a color's population within
229 * <p>The larger the weight, relative to the other weights, the more important that a
260 float weight = mWeights[i];
261 if (weight > 0) {
262 sum += weight;
369 * Set the weight of importance that this target will place on saturation values.
371 * <p>The larger the weight, relative to the other weights, the more important that a color
374 * <p>A weight of 0 means that it has no weight, and thus has no
379 public Target.Builder setSaturationWeight(@FloatRange(from = 0) float weight) {
380 mTarget.mWeights[INDEX_WEIGHT_SAT] = weight;
385 * Set the weight of importance that this target will place on lightness values.
387 * <p>The larger the weight, relative to the other weights, the more important that a color
390 * <p>A weight of 0 means that it has no weight, and thus has no
395 public Target.Builder setLightnessWeight(@FloatRange(from = 0) float weight) {
396 mTarget.mWeights[INDEX_WEIGHT_LUMA] = weight;
401 * Set the weight of importance that this target will place on a color's population within
404 * <p>The larger the weight, relative to the other weights, the more important that a
407 * <p>A weight of 0 means that it has no weight, and thus has no
410 public Target.Builder setPopulationWeight(@FloatRange(from = 0) float weight) {
411 mTarget.mWeights[INDEX_WEIGHT_POP] = weight;