/frameworks/base/core/java/com/android/internal/widget/ |
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() 523 - lp.rightMargin; in layoutVerticalOptimized() 527 childLeft = childRight - childWidth - lp.rightMargin; in layoutVerticalOptimized()
|
D | OrientationHelper.java | 277 + params.rightMargin; in createHorizontalHelper() 292 return mLayoutManager.getDecoratedRight(view) + params.rightMargin; in createHorizontalHelper() 383 + params.rightMargin;
|
D | TextProgressBar.java | 154 int contentWidth = mProgressBar.getWidth() - (params.leftMargin + params.rightMargin); in onChronometerTick() 169 int rightLimit = contentWidth - params.rightMargin - textWidth; in onChronometerTick()
|
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() 358 childLeft += childWidth + lp.rightMargin; 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 | 338 if (right && lp.rightMargin != insets.right) { 340 lp.rightMargin = insets.right; 437 mActionBarTop.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 447 mActionBarBottom.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 537 mContent.getMeasuredWidth() + lp.leftMargin + lp.rightMargin);
|
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() 337 childLeft = childRight - childWidth - lp.rightMargin; 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() 96 lp.rightMargin = mRightInset; in applyMargins()
|
/frameworks/base/core/java/android/widget/ |
D | ActionMenuView.java | 168 lp.leftMargin = lp.rightMargin = 0; in onMeasure() 230 lp.rightMargin = 0; in onMeasureExactFormat() 348 lp.rightMargin = -extraPixels / 2; in onMeasureExactFormat() 358 lp.rightMargin = extraPixels / 2; in onMeasureExactFormat() 471 r = getWidth() - getPaddingRight() - p.rightMargin; in onLayout() 481 final int size = v.getMeasuredWidth() + p.leftMargin + p.rightMargin; in onLayout() 515 startRight -= lp.rightMargin; in onLayout() 536 startLeft += width + lp.rightMargin + spacerSize; 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() 309 childLeft = parentRight - width - lp.rightMargin; in layoutChildren()
|
D | LinearLayout.java | 485 position = child.getRight() + lp.rightMargin; in drawDividersHorizontal() 508 position = child.getRight() + lp.rightMargin; 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() 1258 + lp.rightMargin + getNextLocationOffset(child)); in measureHorizontal() 1356 mTotalLength += largestChildWidth + lp.leftMargin + lp.rightMargin + in measureHorizontal() [all …]
|
D | RelativeLayout.java | 515 width = Math.max(width, params.mRight + params.rightMargin); in onMeasure() 534 right = Math.max(right, params.mRight + params.rightMargin); in onMeasure() 688 params.leftMargin, params.rightMargin, in measureChild() 702 params.width, params.leftMargin, params.rightMargin, mPaddingLeft, mPaddingRight, in measureChildHorizontal() 870 params.mRight = myWidth - mPaddingRight - params.rightMargin; in positionAtEdge() 922 childParams.rightMargin); in applyHorizontalSizeRules() 925 childParams.mRight = myWidth - mPaddingRight - childParams.rightMargin; in applyHorizontalSizeRules() 931 childParams.mLeft = anchorParams.mRight + (anchorParams.rightMargin + in applyHorizontalSizeRules() 946 childParams.mRight = anchorParams.mRight - childParams.rightMargin; in applyHorizontalSizeRules() 949 childParams.mRight = myWidth - mPaddingRight - childParams.rightMargin; in applyHorizontalSizeRules() [all …]
|
D | Toolbar.java | 1632 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin in measureChildConstrained() 1657 final int rightDiff = lp.rightMargin - collapsingMargins[1]; in measureChildCollapseMargins() 1659 final int rightMargin = Math.max(0, rightDiff); in measureChildCollapseMargins() local 1660 final int hMargins = leftMargin + rightMargin; in measureChildCollapseMargins() 2047 final int r = lp.rightMargin - collapseRight; in getViewListMeasuredWidth() 2049 final int rightMargin = Math.max(0, r); in getViewListMeasuredWidth() local 2052 width += leftMargin + v.getMeasuredWidth() + rightMargin; in getViewListMeasuredWidth() 2066 left += childWidth + lp.rightMargin; in layoutChildLeft() 2073 final int r = lp.rightMargin - collapsingMargins[1]; in layoutChildRight()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/ |
D | ReachabilityEduLayout.java | 175 marginAnimator(mMoveRightButton, layoutParams -> layoutParams.rightMargin, in handleLetterboxHorizontalPosition() 176 (layoutParams, margin) -> layoutParams.rightMargin = margin, in handleLetterboxHorizontalPosition() 181 rightParams.rightMargin = mLastRightMargin; in handleLetterboxHorizontalPosition()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPINView.java | 142 int rightMargin = mContext.getResources().getDimensionPixelSize( in updateMargins() local 165 lp.rightMargin = rightMargin; in updateMargins()
|
/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/core/tests/coretests/src/android/widget/layout/frame/ |
D | FrameLayoutMarginTest.java | 72 ((ViewGroup.MarginLayoutParams) mRightView.getLayoutParams()).rightMargin); in testRightMarginAligned()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarContentInsetsProvider.kt | 529 var rightMargin = minRight in getStatusBarContentBounds() variable 552 rightMargin = max(rightMargin, logicalWidth) in getStatusBarContentBounds() 558 return Rect(leftMargin, insetTop, logicalDisplayWidth - rightMargin, sbHeight) in getStatusBarContentBounds()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 1216 if (lp.topMargin != consumedTop || lp.rightMargin != consumedRight in updateColorViews() 1219 lp.rightMargin = consumedRight; in updateColorViews() 1453 lp.rightMargin = sideMargin; in updateColorViewInt() 1463 int rightMargin = seascape ? 0 : sideMargin; in updateColorViewInt() local 1466 || lp.gravity != resolvedGravity || lp.rightMargin != rightMargin in updateColorViewInt() 1471 lp.rightMargin = rightMargin; in updateColorViewInt() 1579 || mlp.rightMargin != newRightMargin) { 1583 mlp.rightMargin = newRightMargin; 1592 lp.rightMargin = newGuardRightMargin; 1598 || lp.rightMargin != newGuardRightMargin) { [all …]
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
D | RvBoxAdapter.java | 71 lp.rightMargin = 5; in onCreateViewHolder()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | FillContentLayout.java | 94 getPaddingLeft() + getPaddingRight() + lp.leftMargin + lp.rightMargin, in measureIllustrationChild()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | AlertDialogLayout.java | 334 + lp.leftMargin - lp.rightMargin; in onLayout() 338 childLeft = childRight - childWidth - lp.rightMargin; in onLayout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | SegmentedButtons.java | 88 lp.leftMargin = lp.rightMargin = 0; // first button has no margin in addButton()
|