Lines Matching defs:height

146         params.height = array.getLayoutDimension(heightAttr, 0);
150 * Iterates over children and changes their width and height to one calculated from percentage
211 Log.v(TAG, "percent height: " + value);
359 params.height = ViewGroup.LayoutParams.WRAP_CONTENT;
379 && info.mPreservedParams.height == ViewGroup.LayoutParams.WRAP_CONTENT;
383 // These two flags keep track of whether we're computing the LayoutParams width and height
387 // the same set of width / height.
391 public PercentMarginLayoutParams(int width, int height) {
392 super(width, height);
407 /** The decimal value of the percentage-based height. */
446 * Fills the {@link ViewGroup.LayoutParams#width} and {@link ViewGroup.LayoutParams#height}
454 mPreservedParams.height = params.height;
456 // We assume that width/height set to 0 means that value was unset. This might not
465 || mPreservedParams.height == 0) && (heightPercent < 0);
472 params.height = Math.round(heightHint * heightPercent);
477 params.width = Math.round(params.height * aspectRatio);
478 // Keep track that we've filled the width based on the height and aspect ratio.
482 params.height = Math.round(params.width / aspectRatio);
483 // Keep track that we've filled the height based on the width and aspect ratio.
489 Log.d(TAG, "after fillLayoutParams: (" + params.width + ", " + params.height + ")");
553 Log.d(TAG, "after fillMarginLayoutParams: (" + params.width + ", " + params.height
560 return String.format("PercentLayoutInformation width: %f height %f, margins (%f, %f, "
591 // Only restore the width if we didn't compute it based on the height and
596 // Only restore the height if we didn't compute it based on the width and
598 params.height = mPreservedParams.height;