Searched defs:height (Results 176 - 200 of 674) sorted by path

1234567891011>>

/frameworks/base/core/java/android/view/
H A DWindowManagerPolicy.java564 public void setInitialDisplaySize(Display display, int width, int height, int density); argument
662 * Return the display height available after excluding any screen
679 * Return the available screen height that we should report for the
901 * @param displayHeight The current full height of the screen.
945 * @param displayHeight The height of the display.
977 * @param displayHeight The current full height of the screen.
1324 * @return The current height of the input method window.
1378 * @param displayHeight the current display height
1396 * @param displayHeight the current display height
/frameworks/base/core/java/android/view/animation/
H A DAnimation.java68 * height or width of the object being animated.
74 * height or width of the parent of the object being animated.
348 * @param height Height of the object being animated
352 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
H A DAnimationSet.java424 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
425 super.initialize(width, height, parentWidth, parentHeight);
482 a.initialize(width, height, parentWidth, parentHeight);
H A DRotateAnimation.java178 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
179 super.initialize(width, height, parentWidth, parentHeight);
181 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight);
H A DScaleAnimation.java278 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
279 super.initialize(width, height, parentWidth, parentHeight);
283 mFromY = resolveScale(mFromY, mFromYType, mFromYData, height, parentHeight);
284 mToY = resolveScale(mToY, mToYType, mToYData, height, parentHeight);
287 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight);
H A DTranslateAnimation.java171 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
172 super.initialize(width, height, parentWidth, parentHeight);
175 mFromYDelta = resolveSize(mFromYType, mFromYValue, height, parentHeight);
176 mToYDelta = resolveSize(mToYType, mToYValue, height, parentHeight);
/frameworks/base/core/java/android/widget/
H A DAbsListView.java508 * Content height divided by this is the overscroll limit.
1424 * however assumes that all list items have the same height. If you use a list in
1693 int height; field in class:AbsListView.SavedState
1716 height = in.readInt();
1739 out.writeInt(height);
1760 + " height=" + height
1799 ss.height = mPendingSync.height;
1811 ss.height
[all...]
H A DAbsoluteLayout.java90 // Check against minimum height and width
101 * a height of {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT}
170 * height and location.
174 * @param height the height, either {@link #MATCH_PARENT},
179 public LayoutParams(int width, int height, int x, int y) { argument
180 super(width, height);
222 + sizeToString(width) + ", height=" + sizeToString(height)
H A DActionMenuView.java461 int height = v.getMeasuredHeight();
471 int t = midVertical - (height / 2);
472 int b = t + height;
492 final int height = v.getMeasuredHeight();
495 final int t = midVertical - height / 2;
496 v.layout(l, t, l + width, t + height);
514 int height = v.getMeasuredHeight();
515 int t = midVertical - height / 2;
516 v.layout(startRight - width, t, startRight, t + height);
530 int height
826 LayoutParams(int width, int height) argument
832 LayoutParams(int width, int height, boolean isOverflowButton) argument
[all...]
H A DAutoCompleteTextView.java388 * <p>Returns the current height for the auto-complete drop down list. This can
389 * be a fixed height, or {@link ViewGroup.LayoutParams#MATCH_PARENT} to fill
390 * the screen, or {@link ViewGroup.LayoutParams#WRAP_CONTENT} to fit the height
393 * @return the height for the drop down list
402 * <p>Sets the current height for the auto-complete drop down list. This can
403 * be a fixed height, or {@link ViewGroup.LayoutParams#MATCH_PARENT} to fill
404 * the screen, or {@link ViewGroup.LayoutParams#WRAP_CONTENT} to fit the height
407 * @param height the height to use
411 public void setDropDownHeight(int height) { argument
[all...]
H A DEdgeEffect.java135 * @param height Effect height in pixels
137 public void setSize(int width, int height) { argument
141 final float or = height * 0.75f / SIN;
148 mBounds.set(mBounds.left, mBounds.top, width, (int) Math.min(height, h));
224 Math.sqrt(Math.abs(mPullDistance) * mBounds.height()) - 0.3d) / 0.7d);
313 * 1.f of height.
325 final float centerY = mBounds.height() - mRadius;
348 * Return the maximum height that the edge effect will be drawn at given the original
350 * @return The maximum height o
[all...]
H A DEditor.java554 * if the text height is smaller.
563 int height;
567 height = (dr != null ? dr.mDrawableHeightRight : 0);
570 height = (dr != null ? dr.mDrawableHeightLeft : 0);
574 int icontop = compoundPaddingTop + (vspace - height) / 2;
581 return icontop + height - mTextView.getHeight() - (int) (2 * scale + 0.5f);
3542 final int height = mContentView.getMeasuredHeight();
3544 return Math.min(positionY, displayMetrics.heightPixels - height);
5615 ErrorPopup(TextView v, int width, int height) { argument
5616 super(v, width, height);
[all...]
H A DFrameLayout.java142 * and a height of {@link android.view.ViewGroup.LayoutParams#MATCH_PARENT}.
194 lp.height == LayoutParams.MATCH_PARENT) {
205 // Check against our minimum height and width
209 // Check against our foreground's minimum height and width
241 if (lp.height == LayoutParams.MATCH_PARENT) {
242 final int height = Math.max(0, getMeasuredHeight()
246 height, MeasureSpec.EXACTLY);
251 lp.height);
279 final int height = child.getMeasuredHeight();
313 childTop = parentTop + (parentBottom - parentTop - height) /
445 LayoutParams(int width, int height) argument
461 LayoutParams(int width, int height, int gravity) argument
[all...]
H A DGridLayout.java139 * {@link View#GONE GONE}, as having zero width and height. This is subtly different from
332 * The order in which axes are laid out is important if, for example, the height of
340 * deriving its height for a given width, but not the other way around.
344 * the height of the intended layout greatly exceeds its width.
1012 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height);
1023 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height);
1041 /** If we have been called by {@link View#measure(int, int)}, one of width or height
1169 int height = vAlign.getSizeInCell(c, pHeight, cellHeight - sumMarginsY);
1177 if (width != c.getMeasuredWidth() || height != c.getMeasuredHeight()) {
1178 c.measure(makeMeasureSpec(width, EXACTLY), makeMeasureSpec(height, EXACTL
2044 LayoutParams( int width, int height, int left, int top, int right, int bottom, Spec rowSpec, Spec columnSpec) argument
[all...]
H A DLinearLayout.java735 final boolean useExcessSpace = lp.height == 0 && lp.weight > 0;
748 // optimal height. We'll restore the original height of 0
750 lp.height = LayoutParams.WRAP_CONTENT;
763 // Restore the original height and record how much space
766 lp.height = 0;
862 // Check against our minimum height
895 } else if (lp.height == 0 && (!mAllowInconsistentMeasurement
901 // This child had some intrinsic height to which we
994 // Temporarily force children to reuse their old measured height
1740 setChildFrame(View child, int left, int top, int width, int height) argument
1938 LayoutParams(int width, int height) argument
1953 LayoutParams(int width, int height, float weight) argument
[all...]
H A DListPopupWindow.java138 * If used to specify a popup height, the popup will fill available space.
516 * @return The height of the popup window in pixels.
523 * Sets the height of the popup window in pixels. Can also be {@link #MATCH_PARENT}.
525 * @param height Height of the popup window.
527 public void setHeight(int height) { argument
528 mDropDownHeight = height;
596 int height = buildDropDown();
618 heightSpec = noInputMethod ? height : ViewGroup.LayoutParams.MATCH_PARENT;
629 heightSpec = height;
656 heightSpec = height;
[all...]
H A DListView.java91 * times the height of the list.
170 // Use an implicit divider height which may be explicitly
185 // Use an explicit divider height, if specified.
585 final int height = getHeight();
587 int listUnfadedBottom = listUnfadedTop + height;
615 if (rect.height() > height) {
631 if (rect.height() > height) {
780 int height
3568 setDividerHeight(int height) argument
[all...]
H A DPopupWindow.java224 p.width, p.height, mAnchoredGravity));
341 * @param height the popup's height
343 public PopupWindow(int width, int height) { argument
344 this(null, width, height);
357 * @param height the popup's height
359 public PopupWindow(View contentView, int width, int height) { argument
360 this(contentView, width, height, false);
372 * @param height th
375 PopupWindow(View contentView, int width, int height, boolean focusable) argument
1031 setHeight(int height) argument
1526 findDropDownPosition(View anchor, WindowManager.LayoutParams outParams, int xOffset, int yOffset, int width, int height, int gravity) argument
1604 tryFitVertical(@onNull LayoutParams outParams, int yOffset, int height, int anchorHeight, int drawingLocationY, int screenLocationY, int displayFrameTop, int displayFrameBottom, boolean allowResize) argument
1633 positionInDisplayVertical(@onNull LayoutParams outParams, int height, int drawingLocationY, int screenLocationY, int displayFrameTop, int displayFrameBottom, boolean canResize) argument
1990 update(int width, int height) argument
2008 update(int x, int y, int width, int height) argument
2027 update(int x, int y, int width, int height, boolean force) argument
2110 update(View anchor, int width, int height) argument
2130 update(View anchor, int xoff, int yoff, int width, int height) argument
2134 update(View anchor, boolean updateLocation, int xoff, int yoff, int width, int height) argument
[all...]
H A DScrollView.java308 * Indicates this ScrollView whether it should stretch its content height to fill
311 * @param fillViewport True to stretch the content's height to the viewport's
1005 int height = getHeight();
1008 mTempRect.top = getScrollY() + height;
1012 if (mTempRect.top + height > view.getBottom()) {
1013 mTempRect.top = view.getBottom() - height;
1017 mTempRect.top = getScrollY() - height;
1022 mTempRect.bottom = mTempRect.top + height;
1041 int height = getHeight();
1044 mTempRect.bottom = height;
1165 isWithinDeltaOfScreen(View descendant, int delta, int height) argument
[all...]
H A DToolbar.java77 * {@link android.R.styleable#View_minHeight minimum height}, if set.</li>
78 * <li><em>A branded logo image.</em> This may extend to the height of the bar and can be
95 * {@link android.R.styleable#View_minHeight minimum height}, if set.</li>
1490 + heightUsed, lp.height);
1522 + heightUsed, lp.height);
1548 int height = 0;
1569 height = Math.max(height, mNavButtonView.getMeasuredHeight() +
1579 height = Math.max(height, mCollapseButtonVie
2177 LayoutParams(int width, int height) argument
2182 LayoutParams(int width, int height, int gravity) argument
[all...]
/frameworks/base/core/java/com/android/internal/policy/
H A DBackdropFrameRenderer.java264 * @param ySize The height of the content.
314 // The caption height will probably never dynamically change while we are resizing.
317 // Remember the height of the caption.
333 final int height = newBounds.height();
335 mFrameAndBackdropNode.setLeftTopRightBottom(left, top, left + width, top + height);
338 DisplayListCanvas canvas = mFrameAndBackdropNode.start(width, height);
349 mResizingBackgroundDrawable.setBounds(0, mLastCaptionHeight, left + width, top + height);
354 drawColorViews(left, top, width, height, fullscreen, systemInsets, stableInsets);
362 private void drawColorViews(int left, int top, int width, int height, argument
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java115 public void setFixedSize(int width, int height) { argument
116 if (mRequestedWidth != width || mRequestedHeight != height) {
118 mRequestedHeight = height;
227 public void setSurfaceFrameSize(int width, int height) { argument
231 mSurfaceFrame.bottom = height;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java151 // Make sure to have some height for the divider
323 * @param menuHeight The height of this menu to assume for positioning
411 // Get the desired height of the icon menu view (last row of items does
417 // Maximum possible width and desired height
757 public LayoutParams(int width, int height) { argument
758 super(width, height);
/frameworks/base/core/java/com/android/internal/widget/
H A DAbsActionBarView.java90 // Reread the desired height from the theme-specified style.
171 public void setContentHeight(int height) { argument
172 mContentHeight = height;
H A DActionBarContextView.java125 layoutParams.height = mContentHeight;
137 public void setContentHeight(int height) { argument
138 mContentHeight = height;
239 layoutParams.height = mContentHeight;
321 final int height = maxHeight - verticalPadding;
322 final int childSpecHeight = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST);
357 final int customHeightMode = lp.height != LayoutParams.WRAP_CONTENT ?
359 final int customHeight = lp.height >= 0 ?
360 Math.min(lp.height, height)
[all...]

Completed in 249 milliseconds

1234567891011>>