/frameworks/support/compat/tests/java/android/support/v4/view/ |
D | MarginLayoutParamsCompatTest.java | 58 mlp.rightMargin = 80; in testMappingOldMarginsToNewMarginsLtr() 71 mlp.rightMargin = 80; in testMappingOldMarginsToNewMarginsRtl() 142 assertEquals("Default right margin field under LTR", 0, mlp.rightMargin); in testResolveMarginsLtr() 147 assertEquals("Resolved right margin field under LTR", 80, mlp.rightMargin); in testResolveMarginsLtr() 162 assertEquals("Resolved right margin field under RTL", 50, mlp.rightMargin); in testResolveMarginsRtl() 167 0, mlp.rightMargin); in testResolveMarginsRtl() 175 assertEquals("Keeping right margin field under RTL", 50, mlp.rightMargin); in testResolveMarginsRtl() 178 80, mlp.rightMargin); in testResolveMarginsRtl()
|
/frameworks/support/compat/java/android/support/v4/view/ |
D | MarginLayoutParamsCompat.java | 64 return lp.rightMargin; in getMarginEnd() 102 lp.rightMargin = marginEnd; in setMarginEnd()
|
/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 | NotificationActionListLayout.java | 134 usedWidth += c.getMeasuredWidth() + lp.rightMargin + lp.leftMargin; in onMeasure() 145 usedWidth -= lastNotGoneChild.getMeasuredWidth() + lp.rightMargin + lp.leftMargin; in onMeasure() 154 usedWidth += lastNotGoneChild.getMeasuredWidth() + lp.rightMargin + lp.leftMargin; in onMeasure() 251 childLeft += childWidth + lp.rightMargin; in onLayout()
|
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 | MessagingLinearLayout.java | 179 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin, in onMeasure() 192 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin in onMeasure() 238 childLeft = childRight - childWidth - lp.rightMargin;
|
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 | 300 if (right && lp.rightMargin != insets.right) { 302 lp.rightMargin = insets.right; 381 mActionBarTop.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 391 mActionBarBottom.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 454 mContent.getMeasuredWidth() + lp.leftMargin + lp.rightMargin);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | LinearLayoutCompat.java | 330 position = child.getRight() + lp.rightMargin; in drawDividersHorizontal() 353 position = child.getRight() + lp.rightMargin; in drawDividersHorizontal() 704 final int margin = lp.leftMargin + lp.rightMargin; in measureVertical() 795 lp.leftMargin + lp.rightMargin, lp.width); in measureVertical() 823 final int margin = lp.leftMargin + lp.rightMargin; in measureVertical() 987 mTotalLength += lp.leftMargin + lp.rightMargin; in measureHorizontal() 991 lp.leftMargin + lp.rightMargin); in measureHorizontal() 1031 mTotalLength += childWidth + lp.leftMargin + lp.rightMargin + in measureHorizontal() 1036 lp.rightMargin + getNextLocationOffset(child)); in measureHorizontal() 1129 mTotalLength += largestChildWidth + lp.leftMargin + lp.rightMargin + in measureHorizontal() [all …]
|
D | ActionMenuView.java | 169 lp.leftMargin = lp.rightMargin = 0; in onMeasure() 231 lp.rightMargin = 0; in onMeasureExactFormat() 349 lp.rightMargin = -extraPixels / 2; in onMeasureExactFormat() 359 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 | ActionBarContextView.java | 267 availableWidth -= lp.leftMargin + lp.rightMargin; in onMeasure() 329 final int startMargin = (isLayoutRtl ? lp.rightMargin : lp.leftMargin); in onLayout() 330 final int endMargin = (isLayoutRtl ? lp.leftMargin : lp.rightMargin); in onLayout()
|
D | Toolbar.java | 1508 getPaddingLeft() + getPaddingRight() + lp.leftMargin + lp.rightMargin in measureChildConstrained() 1533 final int rightDiff = lp.rightMargin - collapsingMargins[1]; in measureChildCollapseMargins() 1535 final int rightMargin = Math.max(0, rightDiff); in measureChildCollapseMargins() local 1536 final int hMargins = leftMargin + rightMargin; in measureChildCollapseMargins() 1929 final int r = lp.rightMargin - collapseRight; in getViewListMeasuredWidth() 1931 final int rightMargin = Math.max(0, r); in getViewListMeasuredWidth() local 1934 width += leftMargin + v.getMeasuredWidth() + rightMargin; in getViewListMeasuredWidth() 1948 left += childWidth + lp.rightMargin; in layoutChildLeft() 1955 final int r = lp.rightMargin - collapsingMargins[1]; in layoutChildRight() 2255 this.rightMargin = source.rightMargin; in copyMarginsFromCompat()
|
D | ActionBarOverlayLayout.java | 273 if (right && lp.rightMargin != insets.right) { 275 lp.rightMargin = insets.right; 351 mActionBarTop.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 403 mContent.getMeasuredWidth() + lp.leftMargin + lp.rightMargin);
|
/frameworks/base/core/java/android/widget/ |
D | ActionMenuView.java | 166 lp.leftMargin = lp.rightMargin = 0; in onMeasure() 228 lp.rightMargin = 0; in onMeasureExactFormat() 346 lp.rightMargin = -extraPixels / 2; in onMeasureExactFormat() 356 lp.rightMargin = extraPixels / 2; in onMeasureExactFormat() 469 r = getWidth() - getPaddingRight() - p.rightMargin; in onLayout() 479 final int size = v.getMeasuredWidth() + p.leftMargin + p.rightMargin; in onLayout() 513 startRight -= lp.rightMargin; in onLayout() 534 startLeft += width + lp.rightMargin + spacerSize; in onLayout()
|
D | FrameLayout.java | 188 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); in onMeasure() 230 - lp.leftMargin - lp.rightMargin); in onMeasure() 236 lp.leftMargin + lp.rightMargin, in onMeasure() 296 lp.leftMargin - lp.rightMargin; in layoutChildren() 300 childLeft = parentRight - width - lp.rightMargin; in layoutChildren()
|
D | LinearLayout.java | 453 position = child.getRight() + lp.rightMargin; in drawDividersHorizontal() 476 position = child.getRight() + lp.rightMargin; in drawDividersHorizontal() 855 final int margin = lp.leftMargin + lp.rightMargin; in measureVertical() 956 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin, in measureVertical() 965 final int margin = lp.leftMargin + lp.rightMargin; in measureVertical() 1131 mTotalLength += lp.leftMargin + lp.rightMargin; in measureHorizontal() 1135 lp.leftMargin + lp.rightMargin); in measureHorizontal() 1180 mTotalLength += childWidth + lp.leftMargin + lp.rightMargin in measureHorizontal() 1185 + lp.rightMargin + getNextLocationOffset(child)); in measureHorizontal() 1277 mTotalLength += largestChildWidth + lp.leftMargin + lp.rightMargin + in measureHorizontal() [all …]
|
D | RelativeLayout.java | 495 width = Math.max(width, params.mRight + params.rightMargin); in onMeasure() 514 right = Math.max(right, params.mRight + params.rightMargin); in onMeasure() 668 params.leftMargin, params.rightMargin, in measureChild() 682 params.width, params.leftMargin, params.rightMargin, mPaddingLeft, mPaddingRight, in measureChildHorizontal() 850 params.mRight = myWidth - mPaddingRight - params.rightMargin; in positionAtEdge() 902 childParams.rightMargin); in applyHorizontalSizeRules() 905 childParams.mRight = myWidth - mPaddingRight - childParams.rightMargin; in applyHorizontalSizeRules() 911 childParams.mLeft = anchorParams.mRight + (anchorParams.rightMargin + in applyHorizontalSizeRules() 926 childParams.mRight = anchorParams.mRight - childParams.rightMargin; in applyHorizontalSizeRules() 929 childParams.mRight = myWidth - mPaddingRight - childParams.rightMargin; in applyHorizontalSizeRules() [all …]
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | OrientationHelper.java | 276 + params.rightMargin; in createHorizontalHelper() 291 return mLayoutManager.getDecoratedRight(view) + params.rightMargin; in createHorizontalHelper() 382 + params.rightMargin;
|
/frameworks/support/percent/src/android/support/percent/ |
D | PercentLayoutHelper.java | 516 mPreservedParams.rightMargin = params.rightMargin; in fillMarginLayoutParams() 530 params.rightMargin = Math.round(widthHint * rightMarginPercent); in fillMarginLayoutParams() 576 params.rightMargin = mPreservedParams.rightMargin; in restoreMarginLayoutParams()
|
/frameworks/support/wear/src/android/support/wear/widget/ |
D | BoxInsetLayout.java | 179 marginRight = lp.rightMargin; in onMeasure() 191 marginRight = lp.rightMargin; in onMeasure() 375 return lp.rightMargin + desiredMinInset; in calculateChildRightMargin() 378 return lp.rightMargin; in calculateChildRightMargin()
|
/frameworks/support/v7/gridlayout/tests/src/android/support/v7/widget/ |
D | GridLayoutTest.java | 139 lp.rightMargin = 3; in testGenerateLayoutParamsFromMarginParams() 147 assertEquals(3, generated.rightMargin); in testGenerateLayoutParamsFromMarginParams()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ScaleFrameLayout.java | 147 + lp.leftMargin - lp.rightMargin; in onLayout() 150 childLeft = parentRight - width - lp.rightMargin; in onLayout()
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | SlidingPaneLayout.java | 523 final int horizontalMargin = lp.leftMargin + lp.rightMargin; in onMeasure() 624 final int horizontalMargin = lp.leftMargin + lp.rightMargin; in onMeasure() 689 final int margin = lp.leftMargin + lp.rightMargin; in onLayout() 693 final int lpMargin = isLayoutRtl ? lp.rightMargin : lp.leftMargin; in onLayout() 953 final int lpMargin = isLayoutRtl ? lp.rightMargin : lp.leftMargin; in onPanelDragged() 1038 int startBound = getPaddingRight() + lp.rightMargin; in smoothSlideTo() 1171 && (isLayoutRtl ? slideLp.rightMargin : slideLp.leftMargin) <= 0; in parallaxOtherViews() 1329 int startToRight = getPaddingRight() + lp.rightMargin; in onViewReleased() 1357 - (getPaddingRight() + lp.rightMargin + mSlideableView.getWidth()); in clampViewPositionHorizontal()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | HardwareUiLayout.java | 108 params.rightMargin = edge; in updateEdgeMargin() 305 params.setMargins(params.topMargin, params.rightMargin, params.bottomMargin, in rotateLeft() 315 params.rightMargin); in rotateRight()
|