Lines Matching refs:weight
15 private final int weight;
26 * @param weight An integer indicating how to balance pre-filling this size and configuration of
29 PreFillType(int width, int height, Bitmap.Config config, int weight) {
37 this.weight = weight;
62 * Returns the weight of the {@link android.graphics.Bitmap Bitmaps} of this type.
65 return weight;
74 && weight == other.weight
85 result = 31 * result + weight;
95 + ", weight=" + weight
107 private int weight = 1;
151 * Sets the weight to use to balance how many Bitmaps of this type are prefilled relative to the other requested
153 * @param weight An integer indicating how to balance pre-filling this size and configuration of
157 public Builder setWeight(int weight) {
158 if (weight <= 0) {
161 this.weight = weight;
169 return new PreFillType(width, height, config, weight);