/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
D | MultiPaneChallengeLayout.java | 390 final int childWidth = child.getMeasuredWidth(); in layoutWithGravity() local 395 int right = left + childWidth; in layoutWithGravity() 425 padding.left + (adjustedWidth - childWidth) / 2 : padding.left; in layoutWithGravity() 426 right = left + childWidth; in layoutWithGravity() 429 padding.right += childWidth / 2; in layoutWithGravity() 434 ? width - padding.right - (adjustedWidth - childWidth) / 2 in layoutWithGravity() 436 left = right - childWidth; in layoutWithGravity() 439 padding.left += childWidth / 2; in layoutWithGravity() 444 left = (paddedWidth - childWidth) / 2; in layoutWithGravity() 445 right = left + childWidth; in layoutWithGravity()
|
D | SlidingChallengeLayout.java | 931 final int childWidth = child.getMeasuredWidth(); 933 final int left = center - childWidth / 2; 940 child.layout(left, bottom - childHeight, left + childWidth, bottom);
|
D | PagedView.java | 726 final int childWidth = getScaledMeasuredWidth(child); in onLayout() local 732 childLeft += childWidth + mPageSpacing; in onLayout() 1723 int childWidth = getScaledMeasuredWidth(layout); in getPageNearestToCenterOfScreen() local 1724 int halfChildWidth = (childWidth / 2); in getPageNearestToCenterOfScreen()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | AbsActionBarView.java | 230 int childWidth = child.getMeasuredWidth(); in positionChild() local 235 child.layout(x - childWidth, childTop, x, childTop + childHeight); in positionChild() 237 child.layout(x, childTop, x + childWidth, childTop + childHeight); in positionChild() 240 return (reverse ? -childWidth : childWidth); in positionChild()
|
D | SizeAdaptiveLayout.java | 159 int childWidth = model.getMeasuredHeight(); in onMeasure() local 162 int resolvedWidth = resolveSizeAndState(childWidth, widthMeasureSpec, childState); in onMeasure() 272 final int childWidth = mActiveChild.getMeasuredWidth(); in onLayout() local 275 mActiveChild.layout(0, 0, 0 + childWidth, 0 + childHeight); in onLayout() 278 mModestyPanel.layout(0, mModestyPanelTop, 0 + childWidth, mModestyPanelTop + childHeight); in onLayout()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
D | WeightSumTest.java | 52 final int childWidth = mChild.getWidth(); in testLayout() local 55 assertEquals(containerWidth / 2, childWidth); in testLayout()
|
/frameworks/base/core/java/android/widget/ |
D | SlidingDrawer.java | 325 int childWidth = handle.getMeasuredWidth(); in onLayout() local 334 childLeft = (width - childWidth) / 2; in onLayout() 340 childLeft = mExpanded ? mTopOffset : width - childWidth + mBottomOffset; in onLayout() 343 content.layout(mTopOffset + childWidth, 0, in onLayout() 344 mTopOffset + childWidth + content.getMeasuredWidth(), in onLayout() 348 handle.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout() 649 final int childWidth = mHandle.getWidth(); in prepareContent() local 650 int width = mRight - mLeft - childWidth - mTopOffset; in prepareContent() 653 content.layout(childWidth + mTopOffset, 0, in prepareContent() 654 mTopOffset + childWidth + content.getMeasuredWidth(), in prepareContent()
|
D | LinearLayout.java | 1060 final int childWidth = child.getMeasuredWidth(); in measureHorizontal() local 1062 mTotalLength += childWidth + lp.leftMargin + lp.rightMargin + in measureHorizontal() 1066 mTotalLength = Math.max(totalLength, totalLength + childWidth + lp.leftMargin + in measureHorizontal() 1071 largestChildWidth = Math.max(childWidth, largestChildWidth); in measureHorizontal() 1221 int childWidth = child.getMeasuredWidth() + share; in measureHorizontal() local 1222 if (childWidth < 0) { in measureHorizontal() 1223 childWidth = 0; in measureHorizontal() 1227 MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY), in measureHorizontal() 1488 final int childWidth = child.getMeasuredWidth(); in layoutVertical() local 1502 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in layoutVertical() [all …]
|
D | TabWidget.java | 196 final int childWidth = child.getMeasuredWidth(); in measureHorizontal() local 198 final int newWidth = Math.max(0, childWidth - delta); in measureHorizontal() 201 extraWidth -= childWidth - newWidth; // delta may have been clamped in measureHorizontal()
|
D | TableRow.java | 226 final int childWidth = child.getMeasuredWidth(); in measureChildBeforeLayout() local 227 lp.mOffset[LayoutParams.LOCATION_NEXT] = columnWidth - childWidth; in measureChildBeforeLayout()
|
D | RelativeLayout.java | 545 final int childWidth = child.getMeasuredWidth(); in onMeasure() local 546 params.mLeft = width - mPaddingRight - childWidth; in onMeasure() 547 params.mRight = params.mLeft + childWidth; in onMeasure() 995 int childWidth = child.getMeasuredWidth(); in centerHorizontal() local 996 int left = (myWidth - childWidth) / 2; in centerHorizontal() 999 params.mRight = left + childWidth; in centerHorizontal()
|
D | AdapterViewAnimator.java | 680 final int childWidth = getMeasuredWidth() - mPaddingLeft - mPaddingRight; in measureChildren() local 685 child.measure(MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY), in measureChildren()
|
D | StackView.java | 1132 final int childWidth = Math.round(measuredWidth*(1-PERSPECTIVE_SHIFT_FACTOR_X)) 1142 child.measure(MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.AT_MOST), 1161 if (maxWidth > 0 && count > 0 && maxWidth < childWidth) {
|
D | HorizontalScrollView.java | 250 int childWidth = child.getWidth(); in canScroll() local 251 return getWidth() < childWidth + mPaddingLeft + mPaddingRight ; in canScroll()
|
D | GridView.java | 1031 int childWidth = widthSize - mListPadding.left - mListPadding.right; in onMeasure() local 1032 boolean didNotInitiallyFit = determineColumns(childWidth); in onMeasure()
|
D | ListView.java | 1123 int childWidth = 0; in onMeasure() local 1134 childWidth = child.getMeasuredWidth(); in onMeasure() 1145 widthSize = mListPadding.left + mListPadding.right + childWidth + in onMeasure()
|
D | GridLayout.java | 947 int childWidth, int childHeight) { in measureChildWithMargins2() argument 949 mPaddingLeft + mPaddingRight + getTotalMargin(child, true), childWidth); in measureChildWithMargins2()
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
D | GridLayout.java | 891 int childWidth, int childHeight) { in measureChildWithMargins2() argument 893 mPaddingLeft + mPaddingRight + getTotalMargin(child, true), childWidth); in measureChildWithMargins2()
|