Lines Matching defs:measure

377  * To measure its dimensions, a view takes into account its padding. The padding
398 * Layout is a two pass process: a measure pass and a layout pass. The measuring
399 * pass is implemented in {@link #measure(int, int)} and is a top-down traversal
401 * during the recursion. At the end of the measure pass, every view has stored
405 * using the sizes computed in the measure pass.
409 * When a view's measure() method returns, its {@link #getMeasuredWidth()} and
413 * that at the end of the measure pass, all parents accept all of their
414 * children's measurements. A parent view may call measure() more than once on
415 * its children. For example, the parent may measure each child once with
417 * measure() on them again with actual numbers if the sum of all the children's
422 * The measure pass uses two classes to communicate dimensions. The
444 * of a child view. For example, a LinearLayout may call measure() on its child
801 * Ignore any optimizations using the measure cache.
1661 * Width as measured during measure pass.
1668 * Height as measured during measure pass.
2382 * and checked by {@link #measure(int, int)} to determine if padding needs to be resolved
2462 * Flag indicating that a call to measure() was skipped and should be done
11739 * by the most recent call to {@link #measure(int, int)}. This result is a bit mask
11767 * by the most recent call to {@link #measure(int, int)}. This result is a bit mask
17491 * that were stored in the measure pass().</p>
17750 // done only during the measure() call).
18862 * measure/layout itself you will want to call requestLayout() yourself.
19693 public final void measure(int widthMeasureSpec, int heightMeasureSpec) {
19729 // measure ourselves, this should set the measured dimension flag back
19761 * measured height. This method is invoked by {@link #measure(int, int)} and
19771 * {@link #measure(int, int)}. Calling the superclass'
19776 * The base class implementation of measure defaults to the background size,
22110 * Creates a measure specification based on the supplied size and mode.
22126 * @param size the size of the measure specification
22127 * @param mode the mode of the measure specification
22128 * @return the measure specification based on size and mode
22153 * Extracts the mode from the supplied measure specification.
22155 * @param measureSpec the measure specification to extract the mode from
22167 * Extracts the size from the supplied measure specification.
22169 * @param measureSpec the measure specification to extract the size from
22170 * @return the size in pixels defined in the supplied measure specification
22193 * Returns a String representation of the specified measure
22196 * @param measureSpec the measure specification to convert to a String