Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/com/android/internal/widget/
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.java277 + params.rightMargin; in createHorizontalHelper()
292 return mLayoutManager.getDecoratedRight(view) + params.rightMargin; in createHorizontalHelper()
383 + params.rightMargin;
DTextProgressBar.java154 int contentWidth = mProgressBar.getWidth() - (params.leftMargin + params.rightMargin); in onChronometerTick()
169 int rightLimit = contentWidth - params.rightMargin - textWidth; in onChronometerTick()
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.java303 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);
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()
212 childLeft = childRight - childWidth - lp.rightMargin; in onLayout()
DAlertDialogLayout.java333 + lp.leftMargin - lp.rightMargin; in onLayout()
337 childLeft = childRight - childWidth - lp.rightMargin; in onLayout()
DNotificationActionListLayout.java176 usedWidth += c.getMeasuredWidth() + lp.rightMargin + lp.leftMargin; in onMeasure()
286 childLeft += childWidth + lp.rightMargin; in onLayout()
/frameworks/base/core/java/android/widget/
DActionMenuView.java168 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()
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()
309 childLeft = parentRight - width - lp.rightMargin; in layoutChildren()
DLinearLayout.java485 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 …]
DRelativeLayout.java515 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 …]
DToolbar.java1632 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()
DTableRow.java217 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/
DStatusBarWindowView.java104 if (lp.rightMargin != mRightInset || lp.leftMargin != mLeftInset in applyMargins()
106 lp.rightMargin = mRightInset; in applyMargins()
DStatusBarContentInsetsProvider.kt325 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/
DIgnorableChildLinearLayout.kt67 val width = lastView.measuredWidth + lp.leftMargin + lp.rightMargin in onMeasure()
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
DFrameLayoutMarginTest.java72 ((ViewGroup.MarginLayoutParams) mRightView.getLayoutParams()).rightMargin); in testRightMarginAligned()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSContainerImpl.java115 + layoutParams.rightMargin; in onMeasure()
236 lp.rightMargin = mSideMargins; in updatePaddingsAndMargins()
DQuickStatusBarHeader.java466 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/
DRvBoxAdapter.java71 lp.rightMargin = 5; 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.java1241 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/
DBaseTooltipView.java235 final int rightMargin = isAnchorViewOnLeft ? mArrowMargin : 0; in updateArrowWith() local
236 layoutParams.setMargins(leftMargin, 0, rightMargin, 0); in updateArrowWith()

123