/frameworks/support/v4/kitkat/android/support/v4/print/ |
H A D | PrintHelperKitkat.java | 264 * @param imageHeight height of bitmap 275 scale = Math.max(scale, content.height() / imageHeight); 277 scale = Math.min(scale, content.height() / imageHeight); 284 final float translateY = (content.height() 480 // Get width and height of stored bitmap
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | ActionBar.java | 769 * Retrieve the current height of the ActionBar. 771 * @return The ActionBar's height 975 * current measured {@link #getHeight() height} (fully invisible).</p> 988 * current measured {@link #getHeight() height} (fully invisible).</p> 1334 public LayoutParams(int width, int height) { argument 1335 super(width, height); 1339 public LayoutParams(int width, int height, int gravity) { argument 1340 super(width, height);
|
H A D | ActionBarActivityDelegateBase.java | 611 final int height = TypedValue.complexToDimensionPixelSize(heightValue.data, 613 mActionModeView.setContentHeight(height); 1396 if (lp.height != insetTop) { 1397 lp.height = insetTop;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/ |
H A D | WindowDecorActionBar.java | 864 final int height = getHeight(); 865 // Take into account the case where the bar has a 0 height due to not being measured yet. 866 return mNowShowing && (height == 0 || getHideOffset() < height);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/ |
H A D | ActionBarPolicy.java | 75 int height = a.getLayoutDimension(R.styleable.ActionBar_height, 0); 78 // Stacked tabs; limit the height 79 height = Math.min(height, 83 return height;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
H A D | ActionMenuItemView.java | 190 int height = icon.getIntrinsicHeight(); 194 height *= scale; 196 if (height > mMaxIconSize) { 197 final float scale = (float) mMaxIconSize / height; 198 height = mMaxIconSize; 201 icon.setBounds(0, 0, width, height); 249 final int height = getHeight(); 250 final int midy = screenPos[1] + height / 2; 257 if (midy < displayFrame.height()) { 259 cheatSheet.setGravity(Gravity.TOP | GravityCompat.END, referenceX, height); [all...] |
H A D | ListMenuItemView.java | 237 if (lp.height > 0 && iconLp.width <= 0) { 238 iconLp.width = lp.height;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | AbsActionBarView.java | 83 // Reread the desired height from the theme-specified style. 110 public void setContentHeight(int height) { argument 111 mContentHeight = height;
|
H A D | ActionBarContainer.java | 219 lp.height = LayoutParams.WRAP_CONTENT;
|
H A D | ActionBarContextView.java | 133 layoutParams.height = mContentHeight; 145 public void setContentHeight(int height) { argument 146 mContentHeight = height; 247 layoutParams.height = mContentHeight; 349 final int height = maxHeight - verticalPadding; 350 final int childSpecHeight = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST); 384 final int customHeightMode = lp.height != LayoutParams.WRAP_CONTENT ? 386 final int customHeight = lp.height >= 0 ? 387 Math.min(lp.height, height) [all...] |
H A D | ActionBarOverlayLayout.java | 466 // Check against our minimum height and width 492 final int height = child.getMeasuredHeight(); 497 childTop = parentBottom - height - lp.bottomMargin; 502 child.layout(childLeft, childTop, childLeft + width, childTop + height); 804 public LayoutParams(int width, int height) { argument 805 super(width, height);
|
H A D | AppCompatPopupWindow.java | 67 public void update(View anchor, int xoff, int yoff, int width, int height) { argument 72 super.update(anchor, xoff, yoff, width, height);
|
H A D | ListViewCompat.java | 223 * Measures the height of the given range of children (inclusive) and returns the height 225 * measuring will stop when the current height reaches maxHeight. 233 * @param maxHeight The maximum height that will be returned (if all the 236 * @param disallowPartialChildPosition In general, whether the returned height should only 246 * @return The height of this ListView with the given children. 270 // The previous height value that was less than maxHeight and contained 285 // Compute child height spec 288 if (childLp != null && childLp.height > 0) { 289 heightMeasureSpec = MeasureSpec.makeMeasureSpec(childLp.height, [all...] |
H A D | ScrollingTabContainerView.java | 226 // Reread the desired height from the theme-specified style. 521 final int height = getHeight(); 528 (screenPos[0] + width / 2) - screenWidth / 2, height);
|
H A D | SpinnerCompat.java | 572 mSpinnerPadding.top + mSpinnerPadding.bottom, lp.height);
|
H A D | ToolbarWidgetWrapper.java | 139 final int height = a.getLayoutDimension(R.styleable.ActionBar_height, 0); 140 if (height > 0) { 142 lp.height = height; 477 lp.height = ViewGroup.LayoutParams.WRAP_CONTENT; 539 lp.height = ViewGroup.LayoutParams.WRAP_CONTENT;
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionMenuView.java | 462 int height = v.getMeasuredHeight(); 472 int t = midVertical - (height / 2); 473 int b = t + height; 493 final int height = v.getMeasuredHeight(); 496 final int t = midVertical - height / 2; 497 v.layout(l, t, l + width, t + height); 515 int height = v.getMeasuredHeight(); 516 int t = midVertical - height / 2; 517 v.layout(startRight - width, t, startRight, t + height); 531 int height 799 LayoutParams(int width, int height) argument 804 LayoutParams(int width, int height, boolean isOverflowButton) argument [all...] |
H A D | LinearLayoutCompat.java | 633 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 0) { 643 if (lp.height == 0 && lp.weight > 0) { 647 // with a height of 0 649 lp.height = LayoutParams.WRAP_CONTENT; 661 lp.height = oldHeight; 759 // Check against our minimum height 797 if ((lp.height != 0) || (heightMode != MeasureSpec.EXACTLY)) { 898 // Temporarily force children to reuse their old measured height 900 int oldHeight = lp.height; 901 lp.height 1640 setChildFrame(View child, int left, int top, int width, int height) argument 1790 LayoutParams(int width, int height) argument 1805 LayoutParams(int width, int height, float weight) argument [all...] |
H A D | ListPopupWindow.java | 151 * If used to specify a popup height, the popup will fill available space. 518 * @return The height of the popup window in pixels. 525 * Sets the height of the popup window in pixels. Can also be {@link #MATCH_PARENT}. 527 * @param height Height of the popup window. 529 public void setHeight(int height) { argument 530 mDropDownHeight = height; 584 int height = buildDropDown(); 605 heightSpec = noInputMethod ? height : ViewGroup.LayoutParams.MATCH_PARENT; 617 heightSpec = height; 641 mPopup.setHeight(height); [all...] |
H A D | Toolbar.java | 83 * <li><em>A branded logo image.</em> This may extend to the height of the bar and can be 1135 + heightUsed, lp.height); 1167 + heightUsed, lp.height); 1193 int height = 0; 1214 height = Math.max(height, mNavButtonView.getMeasuredHeight() + 1225 height = Math.max(height, mCollapseButtonView.getMeasuredHeight() + 1240 height = Math.max(height, mMenuVie 1826 LayoutParams(int width, int height) argument 1831 LayoutParams(int width, int height, int gravity) argument [all...] |
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/ |
H A D | CardViewEclairMr1.java | 41 final float innerHeight = bounds.height() - twoRadius - 1;
|
H A D | RoundRectDrawableWithShadow.java | 222 final boolean drawVerticalEdges = mCardBounds.height() - 2 * inset > 0; 251 mCardBounds.height() - 2 * inset, -mCornerRadius, mEdgeShadowPaint); 261 mCardBounds.height() - 2 * inset, -mCornerRadius, mEdgeShadowPaint);
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 137 * {@link View#GONE GONE}, as having zero width and height. This is subtly different from 321 * The order in which axes are laid out is important if, for example, the height of 329 * deriving its height for a given width, but not the other way around. 333 * the height of the intended layout greatly exceeds its width. 903 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height); 916 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height); 934 /** If we have been called by {@link View#measure(int, int)}, one of width or height 1067 int height = vAlign.getSizeInCell(c, pHeight, cellHeight - sumMarginsY); 1075 if (width != c.getMeasuredWidth() || height != c.getMeasuredHeight()) { 1076 c.measure(makeMeasureSpec(width, EXACTLY), makeMeasureSpec(height, EXACTL 1941 LayoutParams( int width, int height, int left, int top, int right, int bottom, Spec rowSpec, Spec columnSpec) argument [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouteButton.java | 314 final int height = getHeight(); 315 final int midy = screenPos[1] + height / 2; 319 if (midy < displayFrame.height()) { 322 screenWidth - screenPos[0] - width / 2, height); 325 cheatSheet.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, height); 449 int height; 452 height = heightSize; 455 height = Math.min(heightSize, minHeight + getPaddingTop() + getPaddingBottom()); 459 height = minHeight + getPaddingTop() + getPaddingBottom(); 463 setMeasuredDimension(width, height); [all...] |
/frameworks/support/v7/palette/src/android/support/v7/graphics/ |
H A D | ColorCutQuantizer.java | 70 final int height = bitmap.getHeight(); 72 final int[] pixels = new int[width * height]; 73 bitmap.getPixels(pixels, 0, width, 0, 0, width, height);
|