Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationUndoLayout.java82 + confirmationLayoutParams.rightMargin in onMeasure()
85 + undoLayoutParams.rightMargin; in onMeasure()
128 ? undoLayoutParams.rightMargin in onLayout()
129 : parentRight - mUndoView.getMeasuredWidth() - undoLayoutParams.rightMargin; in onLayout()
/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);
DMessagingLinearLayout.java127 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin in onMeasure()
175 childLeft = childRight - childWidth - lp.rightMargin; in onLayout()
DActionBarContextView.java328 availableWidth -= lp.leftMargin + lp.rightMargin; in onMeasure()
391 final int startMargin = (isLayoutRtl ? lp.rightMargin : lp.leftMargin); in onLayout()
392 final int endMargin = (isLayoutRtl ? lp.leftMargin : lp.rightMargin); in onLayout()
DNotificationActionListLayout.java150 usedWidth += c.getMeasuredWidth() + lp.rightMargin + lp.leftMargin; in onMeasure()
251 childLeft += childWidth + lp.rightMargin; in onLayout()
DAlertDialogLayout.java333 + lp.leftMargin - lp.rightMargin; in onLayout()
337 childLeft = childRight - childWidth - lp.rightMargin; in onLayout()
DLinearSmoothScroller.java334 final int right = layoutManager.getDecoratedRight(view) + params.rightMargin; in calculateDxToMakeVisible()
/frameworks/base/core/java/android/widget/
DActionMenuView.java167 lp.leftMargin = lp.rightMargin = 0; in onMeasure()
229 lp.rightMargin = 0; in onMeasureExactFormat()
347 lp.rightMargin = -extraPixels / 2; in onMeasureExactFormat()
357 lp.rightMargin = extraPixels / 2; in onMeasureExactFormat()
470 r = getWidth() - getPaddingRight() - p.rightMargin; in onLayout()
480 final int size = v.getMeasuredWidth() + p.leftMargin + p.rightMargin; in onLayout()
514 startRight -= lp.rightMargin; in onLayout()
535 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.java514 width = Math.max(width, params.mRight + params.rightMargin); in onMeasure()
533 right = Math.max(right, params.mRight + params.rightMargin); in onMeasure()
687 params.leftMargin, params.rightMargin, in measureChild()
701 params.width, params.leftMargin, params.rightMargin, mPaddingLeft, mPaddingRight, in measureChildHorizontal()
869 params.mRight = myWidth - mPaddingRight - params.rightMargin; in positionAtEdge()
921 childParams.rightMargin); in applyHorizontalSizeRules()
924 childParams.mRight = myWidth - mPaddingRight - childParams.rightMargin; in applyHorizontalSizeRules()
930 childParams.mLeft = anchorParams.mRight + (anchorParams.rightMargin + in applyHorizontalSizeRules()
945 childParams.mRight = anchorParams.mRight - childParams.rightMargin; in applyHorizontalSizeRules()
948 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/
DPhoneStatusBarView.java366 lp.rightMargin = 0; in updateSafeInsets()
370 lp.rightMargin = cornerCutoutMargins.second; in updateSafeInsets()
379 if (lp.rightMargin <= rightInset) { in updateSafeInsets()
380 lp.rightMargin = 0; in updateSafeInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java126 params.rightMargin = edge; in updateEdgeMargin()
138 params.rightMargin = edge; in updateEdgeMargin()
377 params.setMargins(params.topMargin, params.rightMargin, params.bottomMargin, in rotateLeft()
387 params.rightMargin); in rotateRight()
396 params.rightMargin); in swapLeftAndTop()
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
DFrameLayoutMarginTest.java72 ((ViewGroup.MarginLayoutParams) mRightView.getLayoutParams()).rightMargin); in testRightMarginAligned()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1221 if (lp.topMargin != consumedTop || lp.rightMargin != consumedRight in updateColorViews()
1224 lp.rightMargin = consumedRight; in updateColorViews()
1378 lp.rightMargin = sideMargin; in updateColorViewInt()
1388 int rightMargin = seascape ? 0 : sideMargin; in updateColorViewInt() local
1391 || lp.gravity != resolvedGravity || lp.rightMargin != rightMargin in updateColorViewInt()
1396 lp.rightMargin = rightMargin; in updateColorViewInt()
1504 || mlp.rightMargin != newRightMargin) {
1508 mlp.rightMargin = newRightMargin;
1517 lp.rightMargin = newGuardRightMargin;
1523 || lp.rightMargin != newGuardRightMargin) {
[all …]
/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/android/view/
DNotificationHeaderView.java147 lp.leftMargin + lp.rightMargin, lp.width); in onMeasure()
154 iconWidth += lp.leftMargin + lp.rightMargin + child.getMeasuredWidth(); in onMeasure()
156 totalWidth += lp.leftMargin + lp.rightMargin + child.getMeasuredWidth(); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DSegmentedButtons.java88 lp.leftMargin = lp.rightMargin = 0; // first button has no margin in addButton()

12