Home
last modified time | relevance | path

Searched refs:topMargin (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DAbstractLayoutTest.java55 lp.topMargin = (lp.topMargin + 1) % 31; in animate()
/frameworks/base/core/java/android/widget/
DFrameLayout.java298 child.getMeasuredHeight() + lp.topMargin + lp.bottomMargin); in onMeasure()
352 lp.topMargin - lp.bottomMargin, in onMeasure()
357 lp.topMargin + lp.bottomMargin, in onMeasure()
418 childTop = parentTop + lp.topMargin; in onLayout()
422 lp.topMargin - lp.bottomMargin; in onLayout()
428 childTop = parentTop + lp.topMargin; in onLayout()
DRelativeLayout.java407 top = Math.min(top, params.mTop - params.topMargin); in onMeasure()
426 top = Math.min(top, params.mTop - params.topMargin); in onMeasure()
576 params.topMargin, params.bottomMargin, in measureChild()
722 params.mTop = mPaddingTop + params.topMargin; in positionChildVertical()
727 params.mTop = mPaddingTop + params.topMargin; in positionChildVertical()
805 childParams.mBottom = anchorParams.mTop - (anchorParams.topMargin + in applyVerticalSizeRules()
818 childParams.topMargin); in applyVerticalSizeRules()
820 childParams.mTop = mPaddingTop + childParams.topMargin; in applyVerticalSizeRules()
825 childParams.mTop = anchorParams.mTop + childParams.topMargin; in applyVerticalSizeRules()
827 childParams.mTop = mPaddingTop + childParams.topMargin; in applyVerticalSizeRules()
[all …]
DLinearLayout.java310 final int top = child.getTop() - lp.topMargin; in drawDividersVertical()
469 return childTop + lp.topMargin + childBaseline; in getBaseline()
643 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin); in measureVertical()
670 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + in measureVertical()
753 lp.topMargin + lp.bottomMargin + getNextLocationOffset(child)); in measureVertical()
836 lp.topMargin + lp.bottomMargin + getNextLocationOffset(child)); in measureVertical()
1049 final int margin = lp.topMargin + lp.bottomMargin; in measureHorizontal()
1178 mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin, in measureHorizontal()
1218 final int margin = lp.topMargin + lp .bottomMargin; in measureHorizontal()
1485 childTop += lp.topMargin; in layoutVertical()
[all …]
DGridLayout.java599 (leading ? lp.topMargin : lp.bottomMargin); in getMargin1()
1011 int topMargin = getMargin(c, false, true); in onLayout() local
1017 int mHeight = topMargin + pHeight + bottomMargin; in onLayout()
1024 dy = c2ay + a2vy + topMargin; in onLayout()
1027 cellHeight -= topMargin + bottomMargin; in onLayout()
1840 this.topMargin = a.getDimensionPixelSize(TOP_MARGIN, margin);
DListPopupWindow.java1052 otherHeights = hintView.getMeasuredHeight() + hintParams.topMargin in buildDropDown()
1065 otherHeights = view.getMeasuredHeight() + hintParams.topMargin in buildDropDown()
DTableRow.java218 mPaddingTop + mPaddingBottom + lp.topMargin + in measureChildBeforeLayout()
DScrollView.java1161 lp.topMargin + lp.bottomMargin, MeasureSpec.UNSPECIFIED); in measureChildWithMargins()
DHorizontalScrollView.java1149 mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin in measureChildWithMargins()
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
DFrameLayoutMarginTest.java77 ((ViewGroup.MarginLayoutParams) mTopView.getLayoutParams()).topMargin); in testTopMarginAligned()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java905 verticalMargin = ablp.topMargin + ablp.bottomMargin; in onMeasure()
1040 int topMargin = 0; in onLayout() local
1045 topMargin = ablp.topMargin; in onLayout()
1089 ypos = getPaddingTop() + topMargin; in onLayout()
1247 int height = upLp.topMargin + mUpView.getMeasuredHeight() + upLp.bottomMargin; in onMeasure()
1252 iconLp.topMargin + mIconView.getMeasuredHeight() + iconLp.bottomMargin); in onMeasure()
1304 final int iconTop = Math.max(iconLp.topMargin, vCenter - iconHeight / 2); in onLayout()
DActionBarContainer.java179 mActionBarView.getMeasuredHeight() + lp.topMargin + lp.bottomMargin; in onMeasure()
/frameworks/base/core/java/android/view/
DViewGroup.java4674 mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin in measureChildWithMargins()
5368 public int topMargin; field in ViewGroup.MarginLayoutParams
5426 topMargin = margin; in MarginLayoutParams()
5432 topMargin = a.getDimensionPixelSize( in MarginLayoutParams()
5464 this.topMargin = source.topMargin; in MarginLayoutParams()
5495 topMargin = top; in setMargins()
5520 topMargin = top; in setMarginsRelative()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java1307 marginParams != null ? marginParams.topMargin : 0, in visit()
/frameworks/base/api/
Dcurrent.txt23577 field public int topMargin;
D14.txt23577 field public int topMargin;