Home
last modified time | relevance | path

Searched refs:bottomMargin (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationUndoLayout.java97 + undoLayoutParams.bottomMargin; in onMeasure()
132 parentBottom - mUndoView.getMeasuredHeight() - undoLayoutParams.bottomMargin, in onLayout()
134 parentBottom - undoLayoutParams.bottomMargin); in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationsQuickSettingsContainer.java73 mStackScrollerMargin = ((LayoutParams) mStackScroller.getLayoutParams()).bottomMargin; in onFinishInflate()
199 private void setBottomMargin(View v, int bottomMargin) { in setBottomMargin() argument
201 params.bottomMargin = bottomMargin; in setBottomMargin()
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DToolbarView.kt55 lp.bottomMargin = insets.stableInsetBottom in onApplyWindowInsets()
58 lp.bottomMargin = insets.systemWindowInsetBottom 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.java285 + params.bottomMargin; in createHorizontalHelper()
375 + params.bottomMargin;
390 return mLayoutManager.getDecoratedBottom(view) + params.bottomMargin;
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.java307 if (bottom && lp.bottomMargin != insets.bottom) {
309 lp.bottomMargin = insets.bottom;
388 mActionBarTop.getMeasuredHeight() + lp.topMargin + lp.bottomMargin);
398 mActionBarBottom.getMeasuredHeight() + lp.topMargin + lp.bottomMargin);
468 mContent.getMeasuredHeight() + lp.topMargin + lp.bottomMargin);
505 childTop = parentBottom - height - lp.bottomMargin;
DRemeasuringLinearLayout.java64 lp.bottomMargin); in onMeasure()
DActionBarContainer.java281 return view.getMeasuredHeight() + lp.topMargin + lp.bottomMargin; in getMeasuredHeightWithMargins()
326 tabContainer.layout(l, containerHeight - tabHeight - lp.bottomMargin, r, in onLayout()
327 containerHeight - lp.bottomMargin); in onLayout()
DMessagingLinearLayout.java113 lp.bottomMargin + spacing); in onMeasure()
200 childTop += childHeight + lp.bottomMargin; in onLayout()
DButtonBarLayout.java116 + firstParams.topMargin + firstParams.bottomMargin; in onMeasure()
DActionBarView.java1023 verticalMargin = ablp.topMargin + ablp.bottomMargin; in onMeasure()
1177 int bottomMargin = 0; in onLayout() local
1182 bottomMargin = ablp.bottomMargin; in onLayout()
1241 - bottomMargin; in onLayout()
1502 int height = upLp.topMargin + mUpView.getMeasuredHeight() + upLp.bottomMargin; in onMeasure()
1509 iconLp.topMargin + mIconView.getMeasuredHeight() + iconLp.bottomMargin); in onMeasure()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DSystemBarHelper.java334 final int bottomMargin = Math.max(insets.getSystemWindowInsetBottom() - bottomOffset, 0); in onApplyWindowInsets() local
339 if (bottomMargin < lp.bottomMargin + view.getHeight()) { in onApplyWindowInsets()
340 lp.setMargins(lp.leftMargin, lp.topMargin, lp.rightMargin, bottomMargin); in onApplyWindowInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipDismissViewController.java78 final int bottomMargin = mContext.getResources().getDimensionPixelSize( in createDismissTarget() local
97 tlp.bottomMargin = stableInsets.bottom + bottomMargin; in createDismissTarget()
/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()
323 lp.topMargin - lp.bottomMargin; in layoutChildren()
326 childTop = parentBottom - height - lp.bottomMargin; in layoutChildren()
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()
1929 if (spaceBelow < toplp.bottomMargin + mTitleMarginBottom) { in onLayout()
1931 (bottomlp.bottomMargin + mTitleMarginBottom - spaceBelow)); in onLayout()
1937 titleTop = height - paddingBottom - bottomlp.bottomMargin - mTitleMarginBottom - in onLayout()
1954 titleTop = titleBottom + lp.bottomMargin; in onLayout()
1963 titleTop = subtitleBottom + lp.bottomMargin; in onLayout()
1981 titleTop = titleBottom + lp.bottomMargin; in onLayout()
[all …]
DLinearLayout.java455 bottom = child.getBottom() + lp.bottomMargin; in drawDividersVertical()
825 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin); in measureVertical()
856 lp.bottomMargin + getNextLocationOffset(child)); 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()
1675 childTop += childHeight + lp.bottomMargin + getNextLocationOffset(child); in layoutVertical()
1798 + lp.topMargin - lp.bottomMargin; in layoutHorizontal()
[all …]
DRelativeLayout.java523 height = Math.max(height, params.mBottom + params.bottomMargin); in onMeasure()
534 bottom = Math.max(bottom, params.mBottom + params.bottomMargin); in onMeasure()
692 params.topMargin, params.bottomMargin, in measureChild()
720 - params.topMargin - params.bottomMargin); in measureChildHorizontal()
985 childParams.bottomMargin); in applyVerticalSizeRules()
988 childParams.mBottom = myHeight - mPaddingBottom - childParams.bottomMargin; in applyVerticalSizeRules()
994 childParams.mTop = anchorParams.mBottom + (anchorParams.bottomMargin + in applyVerticalSizeRules()
1009 childParams.mBottom = anchorParams.mBottom - childParams.bottomMargin; in applyVerticalSizeRules()
1012 childParams.mBottom = myHeight - mPaddingBottom - childParams.bottomMargin; in applyVerticalSizeRules()
1022 childParams.mBottom = myHeight - mPaddingBottom - childParams.bottomMargin; in applyVerticalSizeRules()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java124 params.bottomMargin = edge; in updateEdgeMargin()
136 params.bottomMargin = 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()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintOptionsLayout.java108 + childParams.bottomMargin); in onMeasure()
169 + childParams.topMargin + childParams.bottomMargin); in onLayout()
/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()
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
DFrameLayoutMarginTest.java84 ((ViewGroup.MarginLayoutParams) mBottomView.getLayoutParams()).bottomMargin); in testBottomMarginAligned()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
DRvBoxAdapter.java73 lp.bottomMargin = 15; in onCreateViewHolder()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DFillContentLayout.java99 getPaddingTop() + getPaddingBottom() + lp.topMargin + lp.bottomMargin, in measureIllustrationChild()
/frameworks/base/core/java/android/inputmethodservice/
DCompactExtractEditLayout.java81 lp.bottomMargin = px; in setLayoutMarginBottom()

123