/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 | 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 | 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 | 303 if (right && lp.rightMargin != insets.right) { 305 lp.rightMargin = insets.right; 386 mActionBarTop.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 396 mActionBarBottom.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 466 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 | MessagingLinearLayout.java | 154 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin in onMeasure() 212 childLeft = childRight - childWidth - lp.rightMargin; in onLayout()
|
D | AlertDialogLayout.java | 333 + lp.leftMargin - lp.rightMargin; in onLayout() 337 childLeft = childRight - childWidth - lp.rightMargin; in onLayout()
|
D | NotificationActionListLayout.java | 176 usedWidth += c.getMeasuredWidth() + lp.rightMargin + lp.leftMargin; in onMeasure() 286 childLeft += childWidth + lp.rightMargin; in onLayout()
|
/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() 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() 1222 + lp.rightMargin + getNextLocationOffset(child)); in measureHorizontal() 1314 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()
|
D | TableRow.java | 217 Math.max(0, columnWidth - lp.leftMargin - lp.rightMargin), measureMode in measureChildBeforeLayout() 317 layoutParams.rightMargin; in getColumnsWidths()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowView.java | 104 if (lp.rightMargin != mRightInset || lp.leftMargin != mLeftInset in applyMargins() 106 lp.rightMargin = mRightInset; in applyMargins()
|
D | StatusBarContentInsetsProvider.kt | 325 var rightMargin = minRight in getStatusBarLeftRight() variable 340 rightMargin = max(minRight, logicalWidth) in getStatusBarLeftRight() 344 return Rect(leftMargin, 0, logicalDisplayWidth - rightMargin, sbHeight) in getStatusBarLeftRight()
|
/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/qs/ |
D | QSContainerImpl.java | 115 + layoutParams.rightMargin; in onMeasure() 236 lp.rightMargin = mSideMargins; in updatePaddingsAndMargins()
|
D | QuickStatusBarHeader.java | 466 int rightMargin = lp.rightMargin; in updateHeadersPadding() local 479 paddingRight = Math.max(cutoutPadding - rightMargin, 0); in updateHeadersPadding()
|
/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/core/java/com/android/internal/policy/ |
D | DecorView.java | 1241 if (lp.topMargin != consumedTop || lp.rightMargin != consumedRight in updateColorViews() 1244 lp.rightMargin = consumedRight; in updateColorViews() 1465 lp.rightMargin = sideMargin; in updateColorViewInt() 1475 int rightMargin = seascape ? 0 : sideMargin; in updateColorViewInt() local 1478 || lp.gravity != resolvedGravity || lp.rightMargin != rightMargin in updateColorViewInt() 1483 lp.rightMargin = rightMargin; in updateColorViewInt() 1591 || mlp.rightMargin != newRightMargin) { 1595 mlp.rightMargin = newRightMargin; 1604 lp.rightMargin = newGuardRightMargin; 1610 || lp.rightMargin != newGuardRightMargin) { [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | BaseTooltipView.java | 235 final int rightMargin = isAnchorViewOnLeft ? mArrowMargin : 0; in updateArrowWith() local 236 layoutParams.setMargins(leftMargin, 0, rightMargin, 0); in updateArrowWith()
|