/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 | OrientationHelper.java | 276 return mLayoutManager.getDecoratedMeasuredWidth(view) + params.leftMargin in createHorizontalHelper() 299 return mLayoutManager.getDecoratedLeft(view) - params.leftMargin; in createHorizontalHelper() 382 return mLayoutManager.getDecoratedMeasuredWidth(view) + params.leftMargin
|
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 | 295 if (left && lp.leftMargin != insets.left) { 297 lp.leftMargin = insets.left; 386 mActionBarTop.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 396 mActionBarBottom.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 466 mContent.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 502 int childLeft = parentLeft + lp.leftMargin;
|
D | MessagingLinearLayout.java | 127 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin in onMeasure() 177 childLeft = paddingLeft + lp.leftMargin; in onLayout()
|
D | ActionBarContextView.java | 328 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()
|
D | NotificationActionListLayout.java | 150 usedWidth += c.getMeasuredWidth() + lp.rightMargin + lp.leftMargin; in onMeasure() 249 childLeft += lp.leftMargin; in onLayout()
|
D | AlertDialogLayout.java | 333 + lp.leftMargin - lp.rightMargin; in onLayout() 342 childLeft = paddingLeft + lp.leftMargin; in onLayout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationUndoLayout.java | 83 + confirmationLayoutParams.leftMargin in onMeasure() 121 confirmationLayoutParams.leftMargin, in onLayout() 123 confirmationLayoutParams.leftMargin + mConfirmationTextView.getMeasuredWidth(), in onLayout()
|
/frameworks/base/core/java/android/widget/ |
D | ActionMenuView.java | 167 lp.leftMargin = lp.rightMargin = 0; in onMeasure() 228 lp.leftMargin = 0; in onMeasureExactFormat() 341 lp.leftMargin = -extraPixels / 2; in onMeasureExactFormat() 354 lp.leftMargin = extraPixels / 2; in onMeasureExactFormat() 467 l = getPaddingLeft() + p.leftMargin; in onLayout() 480 final int size = v.getMeasuredWidth() + p.leftMargin + p.rightMargin; in onLayout() 519 startRight -= width + lp.leftMargin + spacerSize; in onLayout() 530 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() 305 lp.leftMargin - lp.rightMargin; in layoutChildren() 314 childLeft = parentLeft + lp.leftMargin; in layoutChildren()
|
D | LinearLayout.java | 487 position = child.getLeft() - lp.leftMargin - mDividerWidth; in drawDividersHorizontal() 506 position = child.getLeft() - lp.leftMargin - mDividerWidth; 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() 1221 mTotalLength = Math.max(totalLength, totalLength + childWidth + lp.leftMargin in measureHorizontal() 1314 mTotalLength += largestChildWidth + lp.leftMargin + lp.rightMargin + in measureHorizontal() [all …]
|
D | RelativeLayout.java | 508 width = Math.max(width, myWidth - params.mLeft + params.leftMargin); in onMeasure() 528 left = Math.min(left, params.mLeft - params.leftMargin); in onMeasure() 687 params.leftMargin, params.rightMargin, in measureChild() 701 params.width, params.leftMargin, params.rightMargin, mPaddingLeft, mPaddingRight, in measureChildHorizontal() 872 params.mLeft = mPaddingLeft + params.leftMargin; in positionAtEdge() 920 childParams.mRight = anchorParams.mLeft - (anchorParams.leftMargin + in applyHorizontalSizeRules() 931 childParams.leftMargin); in applyHorizontalSizeRules() 933 childParams.mLeft = mPaddingLeft + childParams.leftMargin; in applyHorizontalSizeRules() 938 childParams.mLeft = anchorParams.mLeft + childParams.leftMargin; in applyHorizontalSizeRules() 940 childParams.mLeft = mPaddingLeft + childParams.leftMargin; in applyHorizontalSizeRules() [all …]
|
D | Toolbar.java | 1632 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin in measureChildConstrained() 1656 final int leftDiff = lp.leftMargin - collapsingMargins[0]; in measureChildCollapseMargins() 1658 final int leftMargin = Math.max(0, leftDiff); in measureChildCollapseMargins() local 1660 final int hMargins = leftMargin + rightMargin; in measureChildCollapseMargins() 2046 final int l = lp.leftMargin - collapseLeft; in getViewListMeasuredWidth() 2048 final int leftMargin = Math.max(0, l); in getViewListMeasuredWidth() local 2052 width += leftMargin + v.getMeasuredWidth() + rightMargin; in getViewListMeasuredWidth() 2060 final int l = lp.leftMargin - collapsingMargins[0]; in layoutChildLeft() 2079 right -= childWidth + lp.leftMargin; in layoutChildRight()
|
D | TableRow.java | 217 Math.max(0, columnWidth - lp.leftMargin - lp.rightMargin), measureMode in measureChildBeforeLayout() 316 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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarView.java | 365 lp.leftMargin = 0; in updateSafeInsets() 369 lp.leftMargin = cornerCutoutMargins.first; in updateSafeInsets() 376 if (lp.leftMargin <= leftInset) { in updateSafeInsets() 377 lp.leftMargin = 0; in updateSafeInsets()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | HardwareUiLayout.java | 378 params.leftMargin); in rotateLeft() 386 params.setMargins(params.bottomMargin, params.leftMargin, params.topMargin, in rotateRight() 395 params.setMargins(params.topMargin, params.leftMargin, params.bottomMargin, in swapLeftAndTop() 499 separatedViewTopMargin = separated ? params.leftMargin : 0; in updatePaddingAndGravityIfTooTall() 506 separatedViewTopMargin = separated ? params.leftMargin : 0; in updatePaddingAndGravityIfTooTall()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/ |
D | FrameLayoutMarginTest.java | 66 ((ViewGroup.MarginLayoutParams) mLeftView.getLayoutParams()).leftMargin); in testLeftMarginAligned()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 1222 || lp.bottomMargin != consumedBottom || lp.leftMargin != consumedLeft) { in updateColorViews() 1226 lp.leftMargin = consumedLeft; in updateColorViews() 1376 lp.leftMargin = sideMargin; in updateColorViewInt() 1389 int leftMargin = seascape ? sideMargin : 0; in updateColorViewInt() local 1392 || lp.leftMargin != leftMargin) { in updateColorViewInt() 1397 lp.leftMargin = leftMargin; in updateColorViewInt() 1503 if (mlp.topMargin != newTopMargin || mlp.leftMargin != newLeftMargin 1507 mlp.leftMargin = newLeftMargin; 1516 lp.leftMargin = newGuardLeftMargin; 1522 if (lp.height != mlp.topMargin || lp.leftMargin != newGuardLeftMargin [all …]
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
D | RvBoxAdapter.java | 70 lp.leftMargin = 10; 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/android/view/ |
D | NotificationHeaderView.java | 147 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/ |
D | SegmentedButtons.java | 88 lp.leftMargin = lp.rightMargin = 0; // first button has no margin in addButton()
|