/frameworks/base/core/java/com/android/internal/widget/ |
D | TextProgressBar.java | 154 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()
|
D | DialogViewAnimator.java | 72 + lp.leftMargin + lp.rightMargin); in onMeasure() 116 - lp.leftMargin - lp.rightMargin, in onMeasure() 120 getPaddingLeft() + getPaddingRight() + lp.leftMargin + lp.rightMargin, in onMeasure()
|
D | NotificationOptimizedLinearLayout.java | 168 if (lp.leftMargin < 0 || lp.rightMargin < 0) { in requiresNegativeMarginHandlingForHorizontalLinearLayout() 397 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); in measureVerticalOptimized() 421 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin, lp.width); in measureVerticalOptimized() 431 weightedChildView.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); in measureVerticalOptimized() 522 paddingLeft + ((childSpace - childWidth) / 2) + lp.leftMargin in layoutVerticalOptimized() 532 childLeft = paddingLeft + lp.leftMargin; in layoutVerticalOptimized()
|
D | OrientationHelper.java | 276 return mLayoutManager.getDecoratedMeasuredWidth(view) + params.leftMargin in createHorizontalHelper() 299 return mLayoutManager.getDecoratedLeft(view) - params.leftMargin; in createHorizontalHelper() 382 return mLayoutManager.getDecoratedMeasuredWidth(view) + params.leftMargin
|
D | NotificationActionListLayout.java | 138 childMarginSum += lp.leftMargin + lp.rightMargin; in measureAndReturnEvenlyDividedWidth() 211 maxWidthForChild = maxPriorityWidth + lp.leftMargin + lp.rightMargin; in measureAndGetUsedWidth() 230 usedWidth += c.getMeasuredWidth() + lp.rightMargin + lp.leftMargin; in measureAndGetUsedWidth() 356 childLeft += lp.leftMargin; in onLayout()
|
D | WatchListDecorLayout.java | 119 - lp.leftMargin - lp.rightMargin); in applyMeasureToChild() 125 lp.leftMargin + lp.rightMargin, in applyMeasureToChild() 177 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); in onMeasure()
|
D | ActionBarOverlayLayout.java | 330 if (left && lp.leftMargin != insets.left) { 332 lp.leftMargin = insets.left; 437 mActionBarTop.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 447 mActionBarBottom.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 537 mContent.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 573 int childLeft = parentLeft + lp.leftMargin;
|
D | ActionBarContextView.java | 329 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()
|
D | AlertDialogLayout.java | 333 + lp.leftMargin - lp.rightMargin; in onLayout() 342 childLeft = paddingLeft + lp.leftMargin; in onLayout()
|
D | MessagingLinearLayout.java | 168 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin in onMeasure() 231 childLeft = paddingLeft + lp.leftMargin; in onLayout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/window/ |
D | StatusBarWindowView.java | 94 if (lp.rightMargin != mRightInset || lp.leftMargin != mLeftInset in applyMargins() 97 lp.leftMargin = mLeftInset; in applyMargins()
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
D | AbstractLayoutTest.java | 62 lp.leftMargin = (lp.leftMargin + 1) % 31; in animate()
|
/frameworks/base/core/java/android/widget/ |
D | ActionMenuView.java | 168 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()
|
D | FrameLayout.java | 197 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()
|
D | LinearLayout.java | 487 position = child.getLeft() - lp.leftMargin - mDividerWidth; in drawDividersHorizontal() 506 position = child.getLeft() - lp.leftMargin - mDividerWidth; in drawDividersHorizontal() 927 final int margin = lp.leftMargin + lp.rightMargin; in measureVertical() 1029 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin, in measureVertical() 1038 final int margin = lp.leftMargin + lp.rightMargin; in measureVertical() 1204 mTotalLength += lp.leftMargin + lp.rightMargin; in measureHorizontal() 1208 lp.leftMargin + lp.rightMargin); in measureHorizontal() 1253 mTotalLength += childWidth + lp.leftMargin + lp.rightMargin in measureHorizontal() 1257 mTotalLength = Math.max(totalLength, totalLength + childWidth + lp.leftMargin in measureHorizontal() 1356 mTotalLength += largestChildWidth + lp.leftMargin + lp.rightMargin + in measureHorizontal() [all …]
|
D | RelativeLayout.java | 509 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 …]
|
D | Toolbar.java | 1632 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()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/ |
D | ReachabilityEduLayout.java | 156 marginAnimator(mMoveLeftButton, layoutParams -> layoutParams.leftMargin, in handleLetterboxHorizontalPosition() 157 (layoutParams, margin) -> layoutParams.leftMargin = margin, in handleLetterboxHorizontalPosition() 161 leftParams.leftMargin = mLastLeftMargin; in handleLetterboxHorizontalPosition()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | IgnorableChildLinearLayout.kt | 67 val width = lastView.measuredWidth + lp.leftMargin + lp.rightMargin in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarContentInsetsProvider.kt | 528 var leftMargin = minLeft in getStatusBarContentBounds() variable 548 leftMargin = max(logicalWidth, leftMargin) in getStatusBarContentBounds() 558 return Rect(leftMargin, insetTop, logicalDisplayWidth - rightMargin, sbHeight) in getStatusBarContentBounds()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 1217 || lp.bottomMargin != consumedBottom || lp.leftMargin != consumedLeft) { in updateColorViews() 1221 lp.leftMargin = consumedLeft; in updateColorViews() 1451 lp.leftMargin = sideMargin; in updateColorViewInt() 1464 int leftMargin = seascape ? sideMargin : 0; in updateColorViewInt() local 1467 || lp.leftMargin != leftMargin) { in updateColorViewInt() 1472 lp.leftMargin = leftMargin; in updateColorViewInt() 1578 if (mlp.topMargin != newTopMargin || mlp.leftMargin != newLeftMargin 1582 mlp.leftMargin = newLeftMargin; 1591 lp.leftMargin = newGuardLeftMargin; 1597 if (lp.height != mlp.topMargin || lp.leftMargin != newGuardLeftMargin [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/ |
D | FrameLayoutMarginTest.java | 66 ((ViewGroup.MarginLayoutParams) mLeftView.getLayoutParams()).leftMargin); in testLeftMarginAligned()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | FillContentLayout.java | 94 getPaddingLeft() + getPaddingRight() + lp.leftMargin + lp.rightMargin, in measureIllustrationChild()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
D | RvBoxAdapter.java | 70 lp.leftMargin = 10; in onCreateViewHolder()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | AlertDialogLayout.java | 334 + lp.leftMargin - lp.rightMargin; in onLayout() 343 childLeft = paddingLeft + lp.leftMargin; in onLayout()
|