Lines Matching refs:height

98         params.height = array.getLayoutDimension(heightAttr, 0);
102 * Iterates over children and changes their width and height to one calculated from percentage
163 Log.v(TAG, "percent height: " + value);
311 params.height = ViewGroup.LayoutParams.WRAP_CONTENT;
331 info.mPreservedParams.height == ViewGroup.LayoutParams.WRAP_CONTENT;
335 // These two flags keep track of whether we're computing the LayoutParams width and height
339 // the same set of width / height.
343 public PercentMarginLayoutParams(int width, int height) {
344 super(width, height);
356 /** The decimal value of the percentage-based height. */
395 * Fills the {@link ViewGroup.LayoutParams#width} and {@link ViewGroup.LayoutParams#height}
403 mPreservedParams.height = params.height;
405 // We assume that width/height set to 0 means that value was unset. This might not
414 || mPreservedParams.height == 0) && (heightPercent < 0);
421 params.height = Math.round(heightHint * heightPercent);
426 params.width = Math.round(params.height * aspectRatio);
427 // Keep track that we've filled the width based on the height and aspect ratio.
431 params.height = Math.round(params.width / aspectRatio);
432 // Keep track that we've filled the height based on the width and aspect ratio.
438 Log.d(TAG, "after fillLayoutParams: (" + params.width + ", " + params.height + ")");
502 Log.d(TAG, "after fillMarginLayoutParams: (" + params.width + ", " + params.height
509 return String.format("PercentLayoutInformation width: %f height %f, margins (%f, %f, "
540 // Only restore the width if we didn't compute it based on the height and
545 // Only restore the height if we didn't compute it based on the width and
547 params.height = mPreservedParams.height;