Home
last modified time | relevance | path

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

12

/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DToolbarView.kt54 lp.topMargin = insets.stableInsetTop in onApplyWindowInsets()
57 lp.topMargin = insets.systemWindowInsetTop in onApplyWindowInsets()
/frameworks/base/core/java/com/android/internal/widget/
DDialogViewAnimator.java78 + lp.topMargin + lp.bottomMargin); in onMeasure()
128 - lp.topMargin - lp.bottomMargin, in onMeasure()
132 getPaddingTop() + getPaddingBottom() + lp.topMargin + lp.bottomMargin, in onMeasure()
DOrientationHelper.java284 return mLayoutManager.getDecoratedMeasuredHeight(view) + params.topMargin in createHorizontalHelper()
374 return mLayoutManager.getDecoratedMeasuredHeight(view) + params.topMargin
397 return mLayoutManager.getDecoratedTop(view) - params.topMargin;
DWatchListDecorLayout.java133 - lp.topMargin - lp.bottomMargin); in applyMeasureToChild()
139 lp.topMargin + lp.bottomMargin, in applyMeasureToChild()
179 child.getMeasuredHeight() + lp.topMargin + lp.bottomMargin); in onMeasure()
DActionBarOverlayLayout.java298 if (top && lp.topMargin != insets.top) {
300 lp.topMargin = insets.top;
387 mActionBarTop.getMeasuredHeight() + lp.topMargin + lp.bottomMargin);
397 mActionBarBottom.getMeasuredHeight() + lp.topMargin + lp.bottomMargin);
467 mContent.getMeasuredHeight() + lp.topMargin + lp.bottomMargin);
506 childTop = parentTop + lp.topMargin;
DRemeasuringLinearLayout.java63 height = Math.max(height, height + child.getMeasuredHeight() + lp.topMargin + in onMeasure()
DMessagingLinearLayout.java112 int newHeight = Math.max(totalHeight, totalHeight + childHeight + lp.topMargin + in onMeasure()
197 childTop += lp.topMargin; in onLayout()
DButtonBarLayout.java116 + firstParams.topMargin + firstParams.bottomMargin; in onMeasure()
DActionBarView.java1023 verticalMargin = ablp.topMargin + ablp.bottomMargin; in onMeasure()
1176 int topMargin = 0; in onLayout() local
1181 topMargin = ablp.topMargin; in onLayout()
1237 ypos = getPaddingTop() + topMargin; in onLayout()
1502 int height = upLp.topMargin + mUpView.getMeasuredHeight() + upLp.bottomMargin; in onMeasure()
1509 iconLp.topMargin + mIconView.getMeasuredHeight() + iconLp.bottomMargin); in onMeasure()
1576 final int iconTop = Math.max(iconLp.topMargin, vCenter - iconHeight / 2); in onLayout()
DLinearSmoothScroller.java308 final int top = layoutManager.getDecoratedTop(view) - params.topMargin; in calculateDyToMakeVisible()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintOptionsLayout.java107 rowHeight = Math.max(rowHeight, child.getMeasuredHeight() + childParams.topMargin in onMeasure()
160 final int childTop = cellTop + childParams.topMargin; in onLayout()
169 + childParams.topMargin + childParams.bottomMargin); in onLayout()
/frameworks/base/core/java/android/widget/
DFrameLayout.java199 child.getMeasuredHeight() + lp.topMargin + lp.bottomMargin); in onMeasure()
253 - lp.topMargin - lp.bottomMargin); in onMeasure()
259 lp.topMargin + lp.bottomMargin, in onMeasure()
319 childTop = parentTop + lp.topMargin; in layoutChildren()
323 lp.topMargin - lp.bottomMargin; in layoutChildren()
329 childTop = parentTop + lp.topMargin; in layoutChildren()
DLinearLayout.java442 final int top = child.getTop() - lp.topMargin - mDividerHeight; in drawDividersVertical()
634 return childTop + lp.topMargin + childBaseline; in getBaseline()
825 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin); in measureVertical()
855 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + in measureVertical()
937 lp.topMargin + lp.bottomMargin + getNextLocationOffset(child)); in measureVertical()
1016 lp.topMargin + lp.bottomMargin + getNextLocationOffset(child)); in measureVertical()
1239 final int margin = lp.topMargin + lp.bottomMargin; in measureHorizontal()
1381 mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin, in measureHorizontal()
1402 final int margin = lp.topMargin + lp .bottomMargin; in measureHorizontal()
1672 childTop += lp.topMargin; in layoutVertical()
[all …]
DToolbar.java1635 mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin in measureChildConstrained()
1667 mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin in measureChildCollapseMargins()
1900 titleHeight += lp.topMargin + mTitleTextView.getMeasuredHeight() + lp.bottomMargin; in onLayout()
1904 titleHeight += lp.topMargin + mSubtitleTextView.getMeasuredHeight() + lp.bottomMargin; in onLayout()
1918 titleTop = getPaddingTop() + toplp.topMargin + mTitleMarginTop; in onLayout()
1924 if (spaceAbove < toplp.topMargin + mTitleMarginTop) { in onLayout()
1925 spaceAbove = toplp.topMargin + mTitleMarginTop; in onLayout()
1958 titleTop += lp.topMargin; in onLayout()
1985 titleTop += lp.topMargin; in onLayout()
2102 if (spaceAbove < lp.topMargin) { in getChildTop()
[all …]
DRelativeLayout.java530 top = Math.min(top, params.mTop - params.topMargin); in onMeasure()
693 params.topMargin, params.bottomMargin, in measureChild()
721 - params.topMargin - params.bottomMargin); in measureChildHorizontal()
895 params.mTop = mPaddingTop + params.topMargin; in positionChildVertical()
900 params.mTop = mPaddingTop + params.topMargin; in positionChildVertical()
985 childParams.mBottom = anchorParams.mTop - (anchorParams.topMargin + in applyVerticalSizeRules()
996 childParams.topMargin); in applyVerticalSizeRules()
998 childParams.mTop = mPaddingTop + childParams.topMargin; in applyVerticalSizeRules()
1003 childParams.mTop = anchorParams.mTop + childParams.topMargin; in applyVerticalSizeRules()
1005 childParams.mTop = mPaddingTop + childParams.topMargin; in applyVerticalSizeRules()
[all …]
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DAbstractLayoutTest.java61 lp.topMargin = (lp.topMargin + 1) % 31; in animate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSContainerImpl.java101 int maxQs = getDisplayHeight() - layoutParams.topMargin - layoutParams.bottomMargin in onMeasure()
110 int height = layoutParams.topMargin + layoutParams.bottomMargin in onMeasure()
137 layoutParams.topMargin = mContext.getResources().getDimensionPixelSize( in updateResources()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java122 params.topMargin = edge; in updateEdgeMargin()
134 params.topMargin = edge; in updateEdgeMargin()
377 params.setMargins(params.topMargin, params.rightMargin, params.bottomMargin, in rotateLeft()
386 params.setMargins(params.bottomMargin, params.leftMargin, params.topMargin, in rotateRight()
395 params.setMargins(params.topMargin, params.leftMargin, params.bottomMargin, in swapLeftAndTop()
513 separatedViewTopMargin = separated ? params.topMargin : 0; in updatePaddingAndGravityIfTooTall()
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
DFrameLayoutMarginTest.java78 ((ViewGroup.MarginLayoutParams) mTopView.getLayoutParams()).topMargin); in testTopMarginAligned()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
DRvBoxAdapter.java72 lp.topMargin = 20; in onCreateViewHolder()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DFillContentLayout.java99 getPaddingTop() + getPaddingBottom() + lp.topMargin + lp.bottomMargin, in measureIllustrationChild()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationUndoLayout.java96 + undoLayoutParams.topMargin in onMeasure()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1219 if (lp.topMargin != consumedTop || lp.rightMargin != consumedRight in updateColorViews()
1221 lp.topMargin = consumedTop; in updateColorViews()
1501 if (mlp.topMargin != newTopMargin || mlp.leftMargin != newLeftMargin
1504 mlp.topMargin = newTopMargin;
1513 mlp.topMargin, Gravity.LEFT | Gravity.TOP);
1520 if (lp.height != mlp.topMargin || lp.leftMargin != newGuardLeftMargin
1522 lp.height = mlp.topMargin;
1549 if (mlp.topMargin != 0 || mlp.leftMargin != 0 || mlp.rightMargin != 0) {
1551 mlp.topMargin = 0;
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DSystemBarHelper.java340 lp.setMargins(lp.leftMargin, lp.topMargin, lp.rightMargin, bottomMargin); in onApplyWindowInsets()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DFrameworkActionBar.java153 layoutParams.topMargin = getActionBarHeight() + mActionBar.getMenuPopupMargin(); in createMenuPopup()

12