/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/ |
D | ToolbarView.kt | 54 lp.topMargin = insets.stableInsetTop in onApplyWindowInsets() 57 lp.topMargin = insets.systemWindowInsetTop in onApplyWindowInsets()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DialogViewAnimator.java | 78 + lp.topMargin + lp.bottomMargin); in onMeasure() 128 - lp.topMargin - lp.bottomMargin, in onMeasure() 132 getPaddingTop() + getPaddingBottom() + lp.topMargin + lp.bottomMargin, in onMeasure()
|
D | OrientationHelper.java | 284 return mLayoutManager.getDecoratedMeasuredHeight(view) + params.topMargin in createHorizontalHelper() 374 return mLayoutManager.getDecoratedMeasuredHeight(view) + params.topMargin 397 return mLayoutManager.getDecoratedTop(view) - params.topMargin;
|
D | MessagingLinearLayout.java | 130 int newHeight = Math.max(totalHeight, totalHeight + childHeight + lp.topMargin + in onMeasure() 233 childTop += lp.topMargin; in onLayout() 325 return lp.topMargin + childBaseline; in getBaseline()
|
D | WatchListDecorLayout.java | 133 - lp.topMargin - lp.bottomMargin); in applyMeasureToChild() 139 lp.topMargin + lp.bottomMargin, in applyMeasureToChild() 179 child.getMeasuredHeight() + lp.topMargin + lp.bottomMargin); in onMeasure()
|
D | ActionBarOverlayLayout.java | 299 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;
|
D | RemeasuringLinearLayout.java | 70 int childHeight = child.getMeasuredHeight() + lp.topMargin + lp.bottomMargin; in onMeasure()
|
D | ButtonBarLayout.java | 116 + firstParams.topMargin + firstParams.bottomMargin; in onMeasure()
|
D | ActionBarView.java | 1023 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()
|
D | LinearSmoothScroller.java | 308 final int top = layoutManager.getDecoratedTop(view) - params.topMargin; in calculateDyToMakeVisible()
|
D | GridLayoutManager.java | 620 + 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/ |
D | FrameLayout.java | 199 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()
|
D | LinearLayout.java | 442 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 …]
|
D | Toolbar.java | 1635 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 …]
|
D | RelativeLayout.java | 530 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/ |
D | PrintOptionsLayout.java | 107 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/ |
D | AbstractLayoutTest.java | 61 lp.topMargin = (lp.topMargin + 1) % 31; in animate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ |
D | TooltipManager.kt | 101 bottomMargin = topMargin in <lambda>() 102 topMargin = 0 in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowView.java | 75 || lp.topMargin != mTopInset) { in applyMargins() 78 lp.topMargin = mTopInset; in applyMargins()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSContainerImpl.java | 149 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/ |
D | FrameLayoutMarginTest.java | 78 ((ViewGroup.MarginLayoutParams) mTopView.getLayoutParams()).topMargin); in testTopMarginAligned()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
D | RvBoxAdapter.java | 72 lp.topMargin = 20; in onCreateViewHolder()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | FillContentLayout.java | 99 getPaddingTop() + getPaddingBottom() + lp.topMargin + lp.bottomMargin, in measureIllustrationChild()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | DetailDialog.kt | 114 lp.topMargin = offsetInPx in <lambda>()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 1214 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;
|