Home
last modified time | relevance | path

Searched refs:leftMargin (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/widget/
DTextProgressBar.java154 int contentWidth = mProgressBar.getWidth() - (params.leftMargin + params.rightMargin); in onChronometerTick()
156 mProgressBar.getMax()) + params.leftMargin; in onChronometerTick()
170 if (leadingEdge < params.leftMargin) { in onChronometerTick()
171 leadingEdge = params.leftMargin; in onChronometerTick()
177 params.leftMargin = leadingEdge; in onChronometerTick()
DDialogViewAnimator.java72 + lp.leftMargin + lp.rightMargin); in onMeasure()
116 - lp.leftMargin - lp.rightMargin, in onMeasure()
120 getPaddingLeft() + getPaddingRight() + lp.leftMargin + lp.rightMargin, in onMeasure()
DOrientationHelper.java276 return mLayoutManager.getDecoratedMeasuredWidth(view) + params.leftMargin in createHorizontalHelper()
299 return mLayoutManager.getDecoratedLeft(view) - params.leftMargin; in createHorizontalHelper()
382 return mLayoutManager.getDecoratedMeasuredWidth(view) + params.leftMargin
DWatchListDecorLayout.java119 - lp.leftMargin - lp.rightMargin); in applyMeasureToChild()
125 lp.leftMargin + lp.rightMargin, in applyMeasureToChild()
177 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); in onMeasure()
DActionBarOverlayLayout.java295 if (left && lp.leftMargin != insets.left) {
297 lp.leftMargin = insets.left;
386 mActionBarTop.getMeasuredWidth() + lp.leftMargin + lp.rightMargin);
396 mActionBarBottom.getMeasuredWidth() + lp.leftMargin + lp.rightMargin);
466 mContent.getMeasuredWidth() + lp.leftMargin + lp.rightMargin);
502 int childLeft = parentLeft + lp.leftMargin;
DActionBarContextView.java329 availableWidth -= lp.leftMargin + lp.rightMargin; in onMeasure()
392 final int startMargin = (isLayoutRtl ? lp.rightMargin : lp.leftMargin); in onLayout()
393 final int endMargin = (isLayoutRtl ? lp.leftMargin : lp.rightMargin); in onLayout()
DMessagingLinearLayout.java154 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin in onMeasure()
214 childLeft = paddingLeft + lp.leftMargin; in onLayout()
DAlertDialogLayout.java333 + lp.leftMargin - lp.rightMargin; in onLayout()
342 childLeft = paddingLeft + lp.leftMargin; in onLayout()
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DAbstractLayoutTest.java62 lp.leftMargin = (lp.leftMargin + 1) % 31; in animate()
/frameworks/base/core/java/android/widget/
DActionMenuView.java168 lp.leftMargin = lp.rightMargin = 0; in onMeasure()
229 lp.leftMargin = 0; in onMeasureExactFormat()
342 lp.leftMargin = -extraPixels / 2; in onMeasureExactFormat()
355 lp.leftMargin = extraPixels / 2; in onMeasureExactFormat()
468 l = getPaddingLeft() + p.leftMargin; in onLayout()
481 final int size = v.getMeasuredWidth() + p.leftMargin + p.rightMargin; in onLayout()
520 startRight -= width + lp.leftMargin + spacerSize; in onLayout()
531 startLeft += lp.leftMargin; in onLayout()
DFrameLayout.java197 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); in onMeasure()
239 - lp.leftMargin - lp.rightMargin); in onMeasure()
245 lp.leftMargin + lp.rightMargin, in onMeasure()
305 lp.leftMargin - lp.rightMargin; in layoutChildren()
314 childLeft = parentLeft + lp.leftMargin; in layoutChildren()
DLinearLayout.java487 position = child.getLeft() - lp.leftMargin - mDividerWidth; in drawDividersHorizontal()
506 position = child.getLeft() - lp.leftMargin - mDividerWidth; in drawDividersHorizontal()
891 final int margin = lp.leftMargin + lp.rightMargin; in measureVertical()
993 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin, in measureVertical()
1002 final int margin = lp.leftMargin + lp.rightMargin; in measureVertical()
1168 mTotalLength += lp.leftMargin + lp.rightMargin; in measureHorizontal()
1172 lp.leftMargin + lp.rightMargin); in measureHorizontal()
1217 mTotalLength += childWidth + lp.leftMargin + lp.rightMargin in measureHorizontal()
1221 mTotalLength = Math.max(totalLength, totalLength + childWidth + lp.leftMargin in measureHorizontal()
1314 mTotalLength += largestChildWidth + lp.leftMargin + lp.rightMargin + in measureHorizontal()
[all …]
DRelativeLayout.java509 width = Math.max(width, myWidth - params.mLeft + params.leftMargin); in onMeasure()
529 left = Math.min(left, params.mLeft - params.leftMargin); in onMeasure()
688 params.leftMargin, params.rightMargin, in measureChild()
702 params.width, params.leftMargin, params.rightMargin, mPaddingLeft, mPaddingRight, in measureChildHorizontal()
873 params.mLeft = mPaddingLeft + params.leftMargin; in positionAtEdge()
921 childParams.mRight = anchorParams.mLeft - (anchorParams.leftMargin + in applyHorizontalSizeRules()
932 childParams.leftMargin); in applyHorizontalSizeRules()
934 childParams.mLeft = mPaddingLeft + childParams.leftMargin; in applyHorizontalSizeRules()
939 childParams.mLeft = anchorParams.mLeft + childParams.leftMargin; in applyHorizontalSizeRules()
941 childParams.mLeft = mPaddingLeft + childParams.leftMargin; in applyHorizontalSizeRules()
[all …]
DToolbar.java1632 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin in measureChildConstrained()
1656 final int leftDiff = lp.leftMargin - collapsingMargins[0]; in measureChildCollapseMargins()
1658 final int leftMargin = Math.max(0, leftDiff); in measureChildCollapseMargins() local
1660 final int hMargins = leftMargin + rightMargin; in measureChildCollapseMargins()
2046 final int l = lp.leftMargin - collapseLeft; in getViewListMeasuredWidth()
2048 final int leftMargin = Math.max(0, l); in getViewListMeasuredWidth() local
2052 width += leftMargin + v.getMeasuredWidth() + rightMargin; in getViewListMeasuredWidth()
2060 final int l = lp.leftMargin - collapsingMargins[0]; in layoutChildLeft()
2079 right -= childWidth + lp.leftMargin; in layoutChildRight()
DTableRow.java217 Math.max(0, columnWidth - lp.leftMargin - lp.rightMargin), measureMode in measureChildBeforeLayout()
316 final int width = child.getMeasuredWidth() + layoutParams.leftMargin + in getColumnsWidths()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarContentInsetsProvider.kt324 var leftMargin = minLeft in getStatusBarLeftRight() variable
337 leftMargin = max(l, leftMargin) in getStatusBarLeftRight()
344 return Rect(leftMargin, 0, logicalDisplayWidth - rightMargin, sbHeight) in getStatusBarLeftRight()
DStatusBarWindowView.java104 if (lp.rightMargin != mRightInset || lp.leftMargin != mLeftInset in applyMargins()
107 lp.leftMargin = mLeftInset; in applyMargins()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DIgnorableChildLinearLayout.kt67 val width = lastView.measuredWidth + lp.leftMargin + lp.rightMargin in onMeasure()
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
DFrameLayoutMarginTest.java66 ((ViewGroup.MarginLayoutParams) mLeftView.getLayoutParams()).leftMargin); in testLeftMarginAligned()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSContainerImpl.java114 int padding = mPaddingLeft + mPaddingRight + layoutParams.leftMargin in onMeasure()
237 lp.leftMargin = mSideMargins; in updatePaddingsAndMargins()
DQuickStatusBarHeader.java465 int leftMargin = lp.leftMargin; in updateHeadersPadding() local
474 paddingLeft = Math.max(cutoutPadding - leftMargin, 0); in updateHeadersPadding()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
DRvBoxAdapter.java70 lp.leftMargin = 10; in onCreateViewHolder()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DFillContentLayout.java94 getPaddingLeft() + getPaddingRight() + lp.leftMargin + lp.rightMargin, in measureIllustrationChild()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1242 || lp.bottomMargin != consumedBottom || lp.leftMargin != consumedLeft) { in updateColorViews()
1246 lp.leftMargin = consumedLeft; in updateColorViews()
1463 lp.leftMargin = sideMargin; in updateColorViewInt()
1476 int leftMargin = seascape ? sideMargin : 0; in updateColorViewInt() local
1479 || lp.leftMargin != leftMargin) { in updateColorViewInt()
1484 lp.leftMargin = leftMargin; in updateColorViewInt()
1590 if (mlp.topMargin != newTopMargin || mlp.leftMargin != newLeftMargin
1594 mlp.leftMargin = newLeftMargin;
1603 lp.leftMargin = newGuardLeftMargin;
1609 if (lp.height != mlp.topMargin || lp.leftMargin != newGuardLeftMargin
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DBaseTooltipView.java234 final int leftMargin = isAnchorViewOnLeft ? 0 : mArrowMargin; in updateArrowWith() local
236 layoutParams.setMargins(leftMargin, 0, rightMargin, 0); in updateArrowWith()

123