Home
last modified time | relevance | path

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

123

/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;
DMessagingLinearLayout.java130 int newHeight = Math.max(totalHeight, totalHeight + childHeight + lp.topMargin + in onMeasure()
233 childTop += lp.topMargin; in onLayout()
325 return lp.topMargin + childBaseline; in getBaseline()
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.java299 if (top && lp.topMargin != insets.top) {
301 lp.topMargin = insets.top;
388 mActionBarTop.getMeasuredHeight() + lp.topMargin + lp.bottomMargin);
398 mActionBarBottom.getMeasuredHeight() + lp.topMargin + lp.bottomMargin);
468 mContent.getMeasuredHeight() + lp.topMargin + lp.bottomMargin);
507 childTop = parentTop + lp.topMargin;
DRemeasuringLinearLayout.java70 int childHeight = child.getMeasuredHeight() + lp.topMargin + lp.bottomMargin; in onMeasure()
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()
DGridLayoutManager.java620 + lp.topMargin + lp.bottomMargin; in layoutChunk()
679 + (left + params.leftMargin) + ", t:" + (top + params.topMargin) + ", r:" in layoutChunk()
705 + lp.topMargin + lp.bottomMargin; in measureChild()
/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/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/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/controls/
DTooltipManager.kt101 bottomMargin = topMargin in <lambda>()
102 topMargin = 0 in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowView.java75 || lp.topMargin != mTopInset) { in applyMargins()
78 lp.topMargin = mTopInset; in applyMargins()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSContainerImpl.java149 int maxQs = getDisplayHeight() - layoutParams.topMargin - layoutParams.bottomMargin in onMeasure()
162 int height = layoutParams.topMargin + layoutParams.bottomMargin in onMeasure()
202 layoutParams.topMargin = mContext.getResources().getDimensionPixelSize( in updateResources()
/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/controls/ui/
DDetailDialog.kt114 lp.topMargin = offsetInPx in <lambda>()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1214 if (lp.topMargin != consumedTop || lp.rightMargin != consumedRight in updateColorViews()
1216 lp.topMargin = consumedTop; in updateColorViews()
1497 if (mlp.topMargin != newTopMargin || mlp.leftMargin != newLeftMargin
1500 mlp.topMargin = newTopMargin;
1509 mlp.topMargin, Gravity.LEFT | Gravity.TOP);
1516 if (lp.height != mlp.topMargin || lp.leftMargin != newGuardLeftMargin
1518 lp.height = mlp.topMargin;
1545 if (mlp.topMargin != 0 || mlp.leftMargin != 0 || mlp.rightMargin != 0) {
1547 mlp.topMargin = 0;

123