Lines Matching defs:measure

341  * To measure its dimensions, a view takes into account its padding. The padding
361 * Layout is a two pass process: a measure pass and a layout pass. The measuring
362 * pass is implemented in {@link #measure(int, int)} and is a top-down traversal
364 * during the recursion. At the end of the measure pass, every view has stored
368 * using the sizes computed in the measure pass.
372 * When a view's measure() method returns, its {@link #getMeasuredWidth()} and
376 * that at the end of the measure pass, all parents accept all of their
377 * children's measurements. A parent view may call measure() more than once on
378 * its children. For example, the parent may measure each child once with
380 * measure() on them again with actual numbers if the sum of all the children's
385 * The measure pass uses two classes to communicate dimensions. The
407 * of a child view. For example, a LinearLayout may call measure() on its child
1571 * Width as measured during measure pass.
1578 * Height as measured during measure pass.
8595 * by the most recent call to {@link #measure(int, int)}. This result is a bit mask
8619 * by the most recent call to {@link #measure(int, int)}. This result is a bit mask
13734 * that were stored in the measure pass().</p>
15163 public final void measure(int widthMeasureSpec, int heightMeasureSpec) {
15171 // measure ourselves, this should set the measured dimension flag back
15192 * measured height. This method is invoked by {@link #measure(int, int)} and
15202 * {@link #measure(int, int)}. Calling the superclass'
15207 * The base class implementation of measure defaults to the background size,
16872 * Creates a measure specification based on the supplied size and mode.
16881 * @param size the size of the measure specification
16882 * @param mode the mode of the measure specification
16883 * @return the measure specification based on size and mode
16890 * Extracts the mode from the supplied measure specification.
16892 * @param measureSpec the measure specification to extract the mode from
16902 * Extracts the size from the supplied measure specification.
16904 * @param measureSpec the measure specification to extract the size from
16905 * @return the size in pixels defined in the supplied measure specification
16912 * Returns a String representation of the specified measure
16915 * @param measureSpec the measure specification to convert to a String