Lines Matching refs:height

96         params.height = array.getLayoutDimension(heightAttr, 0);
100 * Iterates over children and changes their width and height to one calculated from percentage
161 Log.v(TAG, "percent height: " + value);
309 params.height = ViewGroup.LayoutParams.WRAP_CONTENT;
329 info.mPreservedParams.height == ViewGroup.LayoutParams.WRAP_CONTENT;
333 // These two flags keep track of whether we're computing the LayoutParams width and height
337 // the same set of width / height.
341 public PercentMarginLayoutParams(int width, int height) {
342 super(width, height);
354 /** The decimal value of the percentage-based height. */
393 * Fills the {@link ViewGroup.LayoutParams#width} and {@link ViewGroup.LayoutParams#height}
401 mPreservedParams.height = params.height;
403 // We assume that width/height set to 0 means that value was unset. This might not
412 || mPreservedParams.height == 0) && (heightPercent < 0);
419 params.height = (int) (heightHint * heightPercent);
424 params.width = (int) (params.height * aspectRatio);
425 // Keep track that we've filled the width based on the height and aspect ratio.
429 params.height = (int) (params.width / aspectRatio);
430 // Keep track that we've filled the height based on the width and aspect ratio.
436 Log.d(TAG, "after fillLayoutParams: (" + params.width + ", " + params.height + ")");
500 Log.d(TAG, "after fillMarginLayoutParams: (" + params.width + ", " + params.height
507 return String.format("PercentLayoutInformation width: %f height %f, margins (%f, %f, "
538 // Only restore the width if we didn't compute it based on the height and
543 // Only restore the height if we didn't compute it based on the width and
545 params.height = mPreservedParams.height;