Searched refs:topMargin (Results 1 – 16 of 16) sorted by relevance
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
D | AbstractLayoutTest.java | 55 lp.topMargin = (lp.topMargin + 1) % 31; in animate()
|
/frameworks/base/core/java/android/widget/ |
D | FrameLayout.java | 298 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()
|
D | RelativeLayout.java | 407 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 …]
|
D | LinearLayout.java | 310 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 …]
|
D | GridLayout.java | 599 (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);
|
D | ListPopupWindow.java | 1052 otherHeights = hintView.getMeasuredHeight() + hintParams.topMargin in buildDropDown() 1065 otherHeights = view.getMeasuredHeight() + hintParams.topMargin in buildDropDown()
|
D | TableRow.java | 218 mPaddingTop + mPaddingBottom + lp.topMargin + in measureChildBeforeLayout()
|
D | ScrollView.java | 1161 lp.topMargin + lp.bottomMargin, MeasureSpec.UNSPECIFIED); in measureChildWithMargins()
|
D | HorizontalScrollView.java | 1149 mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin in measureChildWithMargins()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/ |
D | FrameLayoutMarginTest.java | 77 ((ViewGroup.MarginLayoutParams) mTopView.getLayoutParams()).topMargin); in testTopMarginAligned()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ActionBarView.java | 905 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()
|
D | ActionBarContainer.java | 179 mActionBarView.getMeasuredHeight() + lp.topMargin + lp.bottomMargin; in onMeasure()
|
/frameworks/base/core/java/android/view/ |
D | ViewGroup.java | 4674 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/ |
D | RenderSessionImpl.java | 1307 marginParams != null ? marginParams.topMargin : 0, in visit()
|
/frameworks/base/api/ |
D | current.txt | 23577 field public int topMargin;
|
D | 14.txt | 23577 field public int topMargin;
|