/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
D | FlowLayout.java | 59 final int childWidth = child.getMeasuredWidth(); in onMeasure() local 62 if (x + childWidth > width) { in onMeasure() 67 x += childWidth; in onMeasure() 100 final int childWidth = child.getMeasuredWidth(); in onLayout() local 102 if (x + childWidth > width) { in onLayout() 106 child.layout(x, y, x + childWidth, y + childHeight); in onLayout() 107 x += childWidth; 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 | 348 int childWidth = handle.getMeasuredWidth(); in onLayout() local 357 childLeft = (width - childWidth) / 2; in onLayout() 363 childLeft = mExpanded ? mTopOffset : width - childWidth + mBottomOffset; in onLayout() 366 content.layout(mTopOffset + childWidth, 0, in onLayout() 367 mTopOffset + childWidth + content.getMeasuredWidth(), in onLayout() 371 handle.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout() 675 final int childWidth = mHandle.getWidth(); in prepareContent() local 676 int width = mRight - mLeft - childWidth - mTopOffset; in prepareContent() 679 content.layout(childWidth + mTopOffset, 0, in prepareContent() 680 mTopOffset + childWidth + content.getMeasuredWidth(), in prepareContent()
|
D | LinearLayout.java | 1243 final int childWidth = child.getMeasuredWidth(); in measureHorizontal() local 1249 usedExcessSpace += childWidth; in measureHorizontal() 1253 mTotalLength += childWidth + lp.leftMargin + lp.rightMargin in measureHorizontal() 1257 mTotalLength = Math.max(totalLength, totalLength + childWidth + lp.leftMargin in measureHorizontal() 1262 largestChildWidth = Math.max(childWidth, largestChildWidth); in measureHorizontal() 1416 final int childWidth; in measureHorizontal() local 1418 childWidth = largestChildWidth; in measureHorizontal() 1423 childWidth = share; in measureHorizontal() 1427 childWidth = child.getMeasuredWidth() + share; in measureHorizontal() 1431 Math.max(0, childWidth), MeasureSpec.EXACTLY); in measureHorizontal() [all …]
|
D | TabWidget.java | 219 final int childWidth = child.getMeasuredWidth(); in measureHorizontal() local 221 final int newWidth = Math.max(0, childWidth - delta); in measureHorizontal() 224 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 | HorizontalScrollView.java | 385 int childWidth = child.getWidth(); in canScroll() local 386 return getWidth() < childWidth + mPaddingLeft + mPaddingRight ; in canScroll() 1708 int childWidth = 0; in onLayout() local 1712 childWidth = getChildAt(0).getMeasuredWidth(); in onLayout() 1720 final boolean forceLeftGravity = (childWidth > available); in onLayout() 1733 childWidth - (r - l - mPaddingLeft - mPaddingRight)); in onLayout()
|
D | Toolbar.java | 2064 final int childWidth = child.getMeasuredWidth(); in layoutChildLeft() local 2065 child.layout(left, top, left + childWidth, top + child.getMeasuredHeight()); in layoutChildLeft() 2066 left += childWidth + lp.rightMargin; in layoutChildLeft() 2077 final int childWidth = child.getMeasuredWidth(); in layoutChildRight() local 2078 child.layout(right - childWidth, top, right, top + child.getMeasuredHeight()); in layoutChildRight() 2079 right -= childWidth + lp.leftMargin; in layoutChildRight()
|
D | RelativeLayout.java | 578 final int childWidth = child.getMeasuredWidth(); in onMeasure() local 579 params.mLeft = width - mPaddingRight - childWidth; in onMeasure() 580 params.mRight = params.mLeft + childWidth; in onMeasure() 1077 int childWidth = child.getMeasuredWidth(); in centerHorizontal() local 1078 int left = (myWidth - childWidth) / 2; in centerHorizontal() 1081 params.mRight = left + childWidth; in centerHorizontal()
|
D | AdapterViewAnimator.java | 690 final int childWidth = getMeasuredWidth() - mPaddingLeft - mPaddingRight; in measureChildren() local 695 child.measure(MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY), in measureChildren()
|
D | StackView.java | 1144 final int childWidth = Math.round(measuredWidth*(1-PERSPECTIVE_SHIFT_FACTOR_X)) 1154 child.measure(MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.AT_MOST), 1173 if (maxWidth > 0 && count > 0 && maxWidth < childWidth) {
|
D | GridView.java | 1077 int childWidth = widthSize - mListPadding.left - mListPadding.right; in onMeasure() local 1078 boolean didNotInitiallyFit = determineColumns(childWidth); in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PseudoGridView.java | 71 int childWidth; in onMeasure() local 75 childWidth = mFixedChildWidth; in onMeasure() 78 childWidth = (width - (mNumColumns - 1) * mHorizontalSpacing) / mNumColumns; in onMeasure() 80 int childWidthSpec = MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY); in onMeasure()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | AbsActionBarView.java | 321 int childWidth = child.getMeasuredWidth(); in positionChild() local 326 child.layout(x - childWidth, childTop, x, childTop + childHeight); in positionChild() 328 child.layout(x, childTop, x + childWidth, childTop + childHeight); in positionChild() 331 return (reverse ? -childWidth : childWidth); in positionChild()
|
D | NotificationActionListLayout.java | 143 final int childWidth = innerWidthMinusChildMargins / mNumNotGoneChildren; in measureAndReturnEvenlyDividedWidth() local 145 MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY); in measureAndReturnEvenlyDividedWidth() 153 + "childWidth = " + childWidth + "px, " in measureAndReturnEvenlyDividedWidth() 348 final int childWidth = child.getMeasuredWidth(); in onLayout() local 357 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout() 358 childLeft += childWidth + lp.rightMargin; in onLayout()
|
D | NotificationOptimizedLinearLayout.java | 316 final int childWidth = lp.width; in onMeasureOptimized() local 326 lp.width = childWidth; in onMeasureOptimized() 506 final int childWidth = child.getMeasuredWidth(); in layoutVerticalOptimized() local 522 paddingLeft + ((childSpace - childWidth) / 2) + lp.leftMargin in layoutVerticalOptimized() 527 childLeft = childRight - childWidth - lp.rightMargin; in layoutVerticalOptimized() 541 child.layout(childLeft, childTop, childLeft + childWidth, in layoutVerticalOptimized()
|
D | AlertDialogLayout.java | 315 final int childWidth = child.getMeasuredWidth(); in onLayout() local 332 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in onLayout() 337 childLeft = childRight - childWidth - lp.rightMargin; in onLayout() 351 setChildFrame(child, childLeft, childTop, childWidth, childHeight); in onLayout()
|
D | MessagingLinearLayout.java | 224 final int childWidth = child.getMeasuredWidth(); in onLayout() local 229 childLeft = childRight - childWidth - lp.rightMargin; in onLayout() 236 child.layout(childLeft, childTop, childLeft + childWidth, in onLayout() 252 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout()
|
D | ResolverDrawerLayout.java | 1108 final int childWidth = child.getMeasuredWidth(); 1109 final int left = leftEdge + (widthAvailable - childWidth) / 2; 1110 final int right = left + childWidth;
|
D | ViewPager.java | 1567 final int childWidth = width - paddingLeft - paddingRight; 1590 (int) (childWidth * lp.widthFactor), 1599 final int startOffset = (int) (childWidth * ii.offset);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyboardShortcutKeysLayout.java | 66 int childWidth = child.getMeasuredWidth(); in onMeasure() local 70 if (xPos + childWidth > width) { in onMeasure() 74 xPos += childWidth + layoutParams.mHorizontalSpacing; in onMeasure()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | AlertDialogLayout.java | 316 final int childWidth = child.getMeasuredWidth(); in onLayout() local 333 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in onLayout() 338 childLeft = childRight - childWidth - lp.rightMargin; in onLayout() 348 setChildFrame(child, childLeft, childTop, childWidth, childHeight); in onLayout()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | HorizontalScrollViewFunctionalTest.java | 85 int childWidth = mHorizontalScrollView.getChildAt(0).getWidth(); in testScrollAfterFlingRight() local 86 int maxScroll = childWidth - mHorizontalScrollView.getWidth(); in testScrollAfterFlingRight()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyView.java | 307 final int childWidth = child.getMeasuredWidth(); in onMeasure() local 309 accumulatedMeasures.mMeasuredWidth += spacing + childWidth; in onMeasure() 687 final int childWidth = child.getMeasuredWidth(); in onLayout() local 689 final int childLeft = isRtl ? position - childWidth : position; in onLayout() 690 child.layout(childLeft, 0, childLeft + childWidth, childHeight); in onLayout() 692 final int childWidthWithSpacing = childWidth + mSpacing; in onLayout()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | InsetDrawable.java | 286 final int childWidth = getDrawable().getIntrinsicWidth(); in getIntrinsicWidth() local 288 if (childWidth < 0 || fraction >= 1) { in getIntrinsicWidth() 291 return (int) (childWidth / (1 - fraction)) + mState.mInsetLeft.mDimension in getIntrinsicWidth()
|