Lines Matching defs:total

168      * Determines the total space necessary to
179 * @return the total space requirements.
183 SizeRequirements total = new SizeRequirements();
186 total.minimum = (int) Math.min((long) total.minimum + (long) req.minimum, Integer.MAX_VALUE);
187 total.preferred = (int) Math.min((long) total.preferred + (long) req.preferred, Integer.MAX_VALUE);
188 total.maximum = (int) Math.min((long) total.maximum + (long) req.maximum, Integer.MAX_VALUE);
190 return total;
194 * Determines the total space necessary to
197 * passed-in SizeRequirements array. The total space required will
202 * @return the total space requirements.
241 * the total amount of space to be allocated,
244 * the total size requirement of the set of components.
245 * You can get the total size requirement
249 * @param allocated the total span to be allocated >= 0.
250 * @param total the total of the children requests. This argument
256 * total target span.
259 SizeRequirements total,
263 calculateTiledPositions(allocated, total, children, offsets, spans, true);
270 * the total amount of space to be allocated,
273 * the total size requirement of the set of components.
274 * You can get the total size requirement
285 * @param allocated the total span to be allocated >= 0.
286 * @param total the total of the children requests. This argument
292 * total target span.
299 SizeRequirements total,
304 // The total argument turns out to be a bad idea since the
305 // total of all the children can overflow the integer used to
306 // hold the total. The total must therefore be calculated and
395 * fitting as well as possible into the given total allocation.
397 * the total amount of space to be allocated,
400 * the total size requirements of the set of components
402 * You can get the total size requirement by invoking
408 * @param allocated the total span to be allocated >= 0.
409 * @param total the total of the children requests.
414 * total target span.
417 SizeRequirements total,
421 calculateAlignedPositions( allocated, total, children, offsets, spans, true );
428 * fitting as well as possible into the given total allocation.
430 * the total amount of space to be allocated,
433 * the total size requirements of the set of components
435 * You can get the total size requirement by invoking
444 * @param allocated the total span to be allocated >= 0.
445 * @param total the total of the children requests.
450 * total target span.
456 SizeRequirements total,
461 float totalAlignment = normal ? total.alignment : 1.0f - total.alignment;