/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | HorizontalHoverCardSwitcher.java | 53 params.leftMargin = rightLimit - view.getMeasuredWidth(); in onViewSelected() 55 params.leftMargin = leftLimit; in onViewSelected() 57 params.leftMargin = mCardRight - view.getMeasuredWidth(); in onViewSelected() 59 params.leftMargin = mCardLeft; in onViewSelected()
|
D | ScaleFrameLayout.java | 112 lp.leftMargin - lp.rightMargin; in onLayout() 119 childLeft = parentLeft + lp.leftMargin; in onLayout()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | TextProgressBar.java | 154 int contentWidth = mProgressBar.getWidth() - (params.leftMargin + params.rightMargin); in onChronometerTick() 156 mProgressBar.getMax()) + params.leftMargin; in onChronometerTick() 170 if (leadingEdge < params.leftMargin) { in onChronometerTick() 171 leadingEdge = params.leftMargin; in onChronometerTick() 177 params.leftMargin = leadingEdge; in onChronometerTick()
|
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 | ActionBarOverlayLayout.java | 291 if (left && lp.leftMargin != insets.left) { 293 lp.leftMargin = insets.left; 376 mActionBarTop.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 386 mActionBarBottom.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 449 mContent.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 485 int childLeft = parentLeft + lp.leftMargin;
|
D | ActionBarContextView.java | 327 availableWidth -= lp.leftMargin + lp.rightMargin; in onMeasure() 390 final int startMargin = (isLayoutRtl ? lp.rightMargin : lp.leftMargin); in onLayout() 391 final int endMargin = (isLayoutRtl ? lp.leftMargin : lp.rightMargin); in onLayout()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | LinearLayoutCompat.java | 330 position = child.getLeft() - lp.leftMargin - mDividerWidth; in drawDividersHorizontal() 349 position = child.getLeft() - lp.leftMargin - mDividerWidth; in drawDividersHorizontal() 702 final int margin = lp.leftMargin + lp.rightMargin; in measureVertical() 793 lp.leftMargin + lp.rightMargin, lp.width); in measureVertical() 821 final int margin = lp.leftMargin + lp.rightMargin; in measureVertical() 985 mTotalLength += lp.leftMargin + lp.rightMargin; in measureHorizontal() 989 lp.leftMargin + lp.rightMargin); in measureHorizontal() 1029 mTotalLength += childWidth + lp.leftMargin + lp.rightMargin + in measureHorizontal() 1033 mTotalLength = Math.max(totalLength, totalLength + childWidth + lp.leftMargin + in measureHorizontal() 1128 mTotalLength += largestChildWidth + lp.leftMargin + lp.rightMargin + in measureHorizontal() [all …]
|
D | ActionMenuView.java | 169 lp.leftMargin = lp.rightMargin = 0; in onMeasure() 230 lp.leftMargin = 0; in onMeasureExactFormat() 343 lp.leftMargin = -extraPixels / 2; in onMeasureExactFormat() 356 lp.leftMargin = extraPixels / 2; in onMeasureExactFormat() 468 l = getPaddingLeft() + p.leftMargin; in onLayout() 481 final int size = v.getMeasuredWidth() + p.leftMargin + p.rightMargin; in onLayout() 520 startRight -= width + lp.leftMargin + spacerSize; in onLayout() 531 startLeft += lp.leftMargin; in onLayout()
|
D | Toolbar.java | 1187 getPaddingLeft() + getPaddingRight() + lp.leftMargin + lp.rightMargin in measureChildConstrained() 1211 final int leftDiff = lp.leftMargin - collapsingMargins[0]; in measureChildCollapseMargins() 1213 final int leftMargin = Math.max(0, leftDiff); in measureChildCollapseMargins() local 1215 final int hMargins = leftMargin + rightMargin; in measureChildCollapseMargins() 1606 final int l = lp.leftMargin - collapseLeft; in getViewListMeasuredWidth() 1608 final int leftMargin = Math.max(0, l); in getViewListMeasuredWidth() local 1612 width += leftMargin + v.getMeasuredWidth() + rightMargin; in getViewListMeasuredWidth() 1620 final int l = lp.leftMargin - collapsingMargins[0]; in layoutChildLeft() 1639 right -= childWidth + lp.leftMargin; in layoutChildRight() 1908 this.leftMargin = source.leftMargin; in copyMarginsFromCompat()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | OrientationHelper.java | 219 return mLayoutManager.getDecoratedMeasuredWidth(view) + params.leftMargin in createHorizontalHelper() 242 return mLayoutManager.getDecoratedLeft(view) - params.leftMargin; in createHorizontalHelper() 303 return mLayoutManager.getDecoratedMeasuredWidth(view) + params.leftMargin
|
/frameworks/base/core/java/android/widget/ |
D | ActionMenuView.java | 165 lp.leftMargin = lp.rightMargin = 0; in onMeasure() 226 lp.leftMargin = 0; in onMeasureExactFormat() 339 lp.leftMargin = -extraPixels / 2; in onMeasureExactFormat() 352 lp.leftMargin = extraPixels / 2; in onMeasureExactFormat() 465 l = getPaddingLeft() + p.leftMargin; in onLayout() 478 final int size = v.getMeasuredWidth() + p.leftMargin + p.rightMargin; in onLayout() 517 startRight -= width + lp.leftMargin + spacerSize; in onLayout() 528 startLeft += lp.leftMargin; 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() 309 lp.leftMargin - lp.rightMargin; in layoutChildren() 318 childLeft = parentLeft + lp.leftMargin; in layoutChildren()
|
D | LinearLayout.java | 401 position = child.getLeft() - lp.leftMargin - mDividerWidth; in drawDividersHorizontal() 420 position = child.getLeft() - lp.leftMargin - mDividerWidth; in drawDividersHorizontal() 794 final int margin = lp.leftMargin + lp.rightMargin; in measureVertical() 884 lp.leftMargin + lp.rightMargin, lp.width); in measureVertical() 911 final int margin = lp.leftMargin + lp.rightMargin; in measureVertical() 1075 mTotalLength += lp.leftMargin + lp.rightMargin; in measureHorizontal() 1079 lp.leftMargin + lp.rightMargin); in measureHorizontal() 1122 mTotalLength += childWidth + lp.leftMargin + lp.rightMargin + in measureHorizontal() 1126 mTotalLength = Math.max(totalLength, totalLength + childWidth + lp.leftMargin + in measureHorizontal() 1220 mTotalLength += largestChildWidth + lp.leftMargin + lp.rightMargin + in measureHorizontal() [all …]
|
D | RelativeLayout.java | 489 width = Math.max(width, myWidth - params.mLeft - params.leftMargin); in onMeasure() 509 left = Math.min(left, params.mLeft - params.leftMargin); in onMeasure() 668 params.leftMargin, params.rightMargin, in measureChild() 682 params.width, params.leftMargin, params.rightMargin, mPaddingLeft, mPaddingRight, in measureChildHorizontal() 836 params.mLeft = mPaddingLeft + params.leftMargin; in positionChildHorizontal() 847 params.mLeft = mPaddingLeft + params.leftMargin; in positionChildHorizontal() 898 childParams.mRight = anchorParams.mLeft - (anchorParams.leftMargin + in applyHorizontalSizeRules() 909 childParams.leftMargin); in applyHorizontalSizeRules() 911 childParams.mLeft = mPaddingLeft + childParams.leftMargin; in applyHorizontalSizeRules() 916 childParams.mLeft = anchorParams.mLeft + childParams.leftMargin; in applyHorizontalSizeRules() [all …]
|
D | Toolbar.java | 1175 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin in measureChildConstrained() 1199 final int leftDiff = lp.leftMargin - collapsingMargins[0]; in measureChildCollapseMargins() 1201 final int leftMargin = Math.max(0, leftDiff); in measureChildCollapseMargins() local 1203 final int hMargins = leftMargin + rightMargin; in measureChildCollapseMargins() 1586 final int l = lp.leftMargin - collapseLeft; in getViewListMeasuredWidth() 1588 final int leftMargin = Math.max(0, l); in getViewListMeasuredWidth() local 1592 width += leftMargin + v.getMeasuredWidth() + rightMargin; in getViewListMeasuredWidth() 1600 final int l = lp.leftMargin - collapsingMargins[0]; in layoutChildLeft() 1619 right -= childWidth + lp.leftMargin; in layoutChildRight()
|
D | TableRow.java | 216 Math.max(0, columnWidth - lp.leftMargin - lp.rightMargin), measureMode in measureChildBeforeLayout() 315 final int width = child.getMeasuredWidth() + layoutParams.leftMargin + in getColumnsWidths()
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
D | AbstractLayoutTest.java | 62 lp.leftMargin = (lp.leftMargin + 1) % 31; in animate()
|
/frameworks/support/percent/src/android/support/percent/ |
D | PercentLayoutHelper.java | 375 mPreservedParams.leftMargin = params.leftMargin; in fillMarginLayoutParams() 385 params.leftMargin = (int) (widthHint * leftMarginPercent); in fillMarginLayoutParams() 426 params.leftMargin = mPreservedParams.leftMargin; in restoreMarginLayoutParams()
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | MarginLayoutParamsCompat.java | 43 return lp.leftMargin; in getMarginStart() 53 lp.leftMargin = marginStart; in setMarginStart()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ActionBarOverlayLayout.java | 261 if (left && lp.leftMargin != insets.left) { in applyInsets() 263 lp.leftMargin = insets.left; in applyInsets() 343 mActionBarTop.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); in onMeasure() 396 mContent.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); in onMeasure() 434 int childLeft = parentLeft + lp.leftMargin; in onLayout()
|
D | ActionBarContextView.java | 265 availableWidth -= lp.leftMargin + lp.rightMargin; in onMeasure() 327 final int startMargin = (isLayoutRtl ? lp.rightMargin : lp.leftMargin); in onLayout() 328 final int endMargin = (isLayoutRtl ? lp.leftMargin : lp.rightMargin); in onLayout()
|
/frameworks/support/v4/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() 955 final int lpMargin = isLayoutRtl ? lp.rightMargin : lp.leftMargin; in onPanelDragged() 1065 int startBound = getPaddingLeft() + lp.leftMargin; in smoothSlideTo() 1192 (isLayoutRtl ? slideLp.rightMargin : slideLp.leftMargin) <= 0; in parallaxOtherViews() 1349 left = getPaddingLeft() + lp.leftMargin; in onViewReleased() 1374 int startBound = getPaddingLeft() + lp.leftMargin; in clampViewPositionHorizontal()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/ |
D | FrameLayoutMarginTest.java | 65 ((ViewGroup.MarginLayoutParams) mLeftView.getLayoutParams()).leftMargin); in testLeftMarginAligned()
|
/frameworks/support/v4/api21/android/support/v4/widget/ |
D | DrawerLayoutCompatApi21.java | 67 lp.leftMargin = wi.getSystemWindowInsetLeft(); in applyMarginInsets()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | SegmentedButtons.java | 80 lp.leftMargin = lp.rightMargin = 0; // first button has no margin in addButton()
|