Home
last modified time | relevance | path

Searched refs:leftMargin (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DTextProgressBar.java151 int contentWidth = mProgressBar.getWidth() - (params.leftMargin + params.rightMargin); in onChronometerTick()
153 mProgressBar.getMax()) + params.leftMargin; in onChronometerTick()
167 if (leadingEdge < params.leftMargin) { in onChronometerTick()
168 leadingEdge = params.leftMargin; in onChronometerTick()
174 params.leftMargin = leadingEdge; in onChronometerTick()
DActionBarContextView.java345 availableWidth -= lp.leftMargin + lp.rightMargin; in onMeasure()
389 ((MarginLayoutParams) mClose.getLayoutParams()).leftMargin); in makeInAnimation()
417 -mClose.getWidth() - ((MarginLayoutParams) mClose.getLayoutParams()).leftMargin); in makeOutAnimation()
450 x += lp.leftMargin; in onLayout()
DActionBarView.java904 horizontalMargin = ablp.leftMargin + ablp.rightMargin; in onMeasure()
1043 x += ablp.leftMargin; in onLayout()
1245 mUpWidth = upLp.leftMargin + mUpView.getMeasuredWidth() + upLp.rightMargin; in onMeasure()
1250 width += iconLp.leftMargin + mIconView.getMeasuredWidth() + iconLp.rightMargin; in onMeasure()
1295 upOffset = upLp.leftMargin + upWidth + upLp.rightMargin; in onLayout()
1303 final int iconLeft = upOffset + Math.max(iconLp.leftMargin, hCenter - iconWidth / 2); in onLayout()
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DAbstractLayoutTest.java56 lp.leftMargin = (lp.leftMargin + 1) % 31; in animate()
/frameworks/base/core/java/android/widget/
DFrameLayout.java296 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); in onMeasure()
340 lp.leftMargin - lp.rightMargin, in onMeasure()
345 lp.leftMargin + lp.rightMargin, in onMeasure()
403 childLeft = parentLeft + lp.leftMargin; in onLayout()
407 lp.leftMargin - lp.rightMargin; in onLayout()
413 childLeft = parentLeft + lp.leftMargin; in onLayout()
DLinearLayout.java337 final int left = child.getLeft() - lp.leftMargin; in drawDividersHorizontal()
706 final int margin = lp.leftMargin + lp.rightMargin; in measureVertical()
795 lp.leftMargin + lp.rightMargin, lp.width); in measureVertical()
822 final int margin = lp.leftMargin + lp.rightMargin; in measureVertical()
985 mTotalLength += lp.leftMargin + lp.rightMargin; in measureHorizontal()
989 lp.leftMargin + lp.rightMargin); in measureHorizontal()
1027 mTotalLength += childWidth + lp.leftMargin + lp.rightMargin + in measureHorizontal()
1031 mTotalLength = Math.max(totalLength, totalLength + childWidth + lp.leftMargin + in measureHorizontal()
1125 mTotalLength += largestChildWidth + lp.leftMargin + lp.rightMargin + in measureHorizontal()
1130 lp.leftMargin + lp.rightMargin + getNextLocationOffset(child)); in measureHorizontal()
[all …]
DRelativeLayout.java406 left = Math.min(left, params.mLeft - params.leftMargin); in onMeasure()
425 left = Math.min(left, params.mLeft - params.leftMargin); in onMeasure()
571 params.leftMargin, params.rightMargin, in measureChild()
585 params.leftMargin, params.rightMargin, in measureChildHorizontal()
693 params.mLeft = mPaddingLeft + params.leftMargin; in positionChildHorizontal()
698 params.mLeft = mPaddingLeft + params.leftMargin; in positionChildHorizontal()
747 childParams.mRight = anchorParams.mLeft - (anchorParams.leftMargin + in applyHorizontalSizeRules()
760 childParams.leftMargin); in applyHorizontalSizeRules()
762 childParams.mLeft = mPaddingLeft + childParams.leftMargin; in applyHorizontalSizeRules()
767 childParams.mLeft = anchorParams.mLeft + childParams.leftMargin; in applyHorizontalSizeRules()
[all …]
DTableRow.java215 Math.max(0, columnWidth - lp.leftMargin - lp.rightMargin), measureMode in measureChildBeforeLayout()
312 final int width = child.getMeasuredWidth() + layoutParams.leftMargin + in getColumnsWidths()
DGridLayout.java598 (leading ? lp.leftMargin : lp.rightMargin) : in getMargin1()
1010 int leftMargin = getMargin(c, true, true); in onLayout() local
1016 int mWidth = leftMargin + pWidth + rightMargin; in onLayout()
1023 dx = c2ax + a2vx + leftMargin; in onLayout()
1026 cellWidth -= leftMargin + rightMargin; in onLayout()
1839 this.leftMargin = a.getDimensionPixelSize(LEFT_MARGIN, margin);
DScrollView.java1158 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin in measureChildWithMargins()
DHorizontalScrollView.java1152 lp.leftMargin + lp.rightMargin, MeasureSpec.UNSPECIFIED); in measureChildWithMargins()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuView.java155 lp.leftMargin = 0; in onMeasureExactFormat()
268 lp.leftMargin = -extraPixels / 2; in onMeasureExactFormat()
281 lp.leftMargin = extraPixels / 2; in onMeasureExactFormat()
397 final int size = v.getMeasuredWidth() + p.leftMargin + p.rightMargin; in onLayout()
430 startLeft += lp.leftMargin; in onLayout()
/frameworks/base/tests/BrowserTestPlugin/jni/event/
DEventPlugin.cpp68 const int leftMargin = (int)(zoomFactorW * 10); in drawPlugin() local
99 gCanvasI.drawText(canvas, c, sizeof(c)-1, leftMargin, -fm.fTop, paint); in drawPlugin()
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
DFrameLayoutMarginTest.java65 ((ViewGroup.MarginLayoutParams) mLeftView.getLayoutParams()).leftMargin); in testLeftMarginAligned()
/frameworks/base/core/java/android/view/
DViewGroup.java4671 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin in measureChildWithMargins()
5361 public int leftMargin; field in ViewGroup.MarginLayoutParams
5425 leftMargin = margin; in MarginLayoutParams()
5430 leftMargin = a.getDimensionPixelSize( in MarginLayoutParams()
5463 this.leftMargin = source.leftMargin; in MarginLayoutParams()
5494 leftMargin = left; in setMargins()
5575 leftMargin = (endMargin > DEFAULT_RELATIVE) ? endMargin : leftMargin; in resolveWithDirection()
5580 leftMargin = (startMargin > DEFAULT_RELATIVE) ? startMargin : leftMargin; in resolveWithDirection()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java1306 marginParams != null ? marginParams.leftMargin : 0, in visit()
/frameworks/base/api/
Dcurrent.txt23575 field public int leftMargin;
D14.txt23575 field public int leftMargin;