/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 | 1207 final int childWidth = child.getMeasuredWidth(); in measureHorizontal() local 1213 usedExcessSpace += childWidth; in measureHorizontal() 1217 mTotalLength += childWidth + lp.leftMargin + lp.rightMargin in measureHorizontal() 1221 mTotalLength = Math.max(totalLength, totalLength + childWidth + lp.leftMargin in measureHorizontal() 1226 largestChildWidth = Math.max(childWidth, largestChildWidth); in measureHorizontal() 1364 final int childWidth; in measureHorizontal() local 1366 childWidth = largestChildWidth; in measureHorizontal() 1371 childWidth = share; in measureHorizontal() 1375 childWidth = child.getMeasuredWidth() + share; in measureHorizontal() 1379 Math.max(0, childWidth), MeasureSpec.EXACTLY); in measureHorizontal() [all …]
|
D | TabWidget.java | 202 final int childWidth = child.getMeasuredWidth(); in measureHorizontal() local 204 final int newWidth = Math.max(0, childWidth - delta); in measureHorizontal() 207 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 | 368 int childWidth = child.getWidth(); in canScroll() local 369 return getWidth() < childWidth + mPaddingLeft + mPaddingRight ; in canScroll() 1609 int childWidth = 0; in onLayout() local 1613 childWidth = getChildAt(0).getMeasuredWidth(); in onLayout() 1621 final boolean forceLeftGravity = (childWidth > available); in onLayout() 1634 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 | 577 final int childWidth = child.getMeasuredWidth(); in onMeasure() local 578 params.mLeft = width - mPaddingRight - childWidth; in onMeasure() 579 params.mRight = params.mLeft + childWidth; in onMeasure() 1076 int childWidth = child.getMeasuredWidth(); in centerHorizontal() local 1077 int left = (myWidth - childWidth) / 2; in centerHorizontal() 1080 params.mRight = left + childWidth; in centerHorizontal()
|
D | AdapterViewAnimator.java | 685 final int childWidth = getMeasuredWidth() - mPaddingLeft - mPaddingRight; in measureChildren() local 690 child.measure(MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY), in measureChildren()
|
D | StackView.java | 1142 final int childWidth = Math.round(measuredWidth*(1-PERSPECTIVE_SHIFT_FACTOR_X)) 1152 child.measure(MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.AT_MOST), 1171 if (maxWidth > 0 && count > 0 && maxWidth < childWidth) {
|
D | GridView.java | 1076 int childWidth = widthSize - mListPadding.left - mListPadding.right; in onMeasure() local 1077 boolean didNotInitiallyFit = determineColumns(childWidth); in onMeasure()
|
D | ListView.java | 1286 int childWidth = 0; in onMeasure() local 1299 childWidth = child.getMeasuredWidth(); in onMeasure() 1310 widthSize = mListPadding.left + mListPadding.right + childWidth + in onMeasure()
|
D | GridLayout.java | 1030 int childWidth, int childHeight) { in measureChildWithMargins2() argument 1032 getTotalMargin(child, true), childWidth); in measureChildWithMargins2()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | AbsActionBarView.java | 320 int childWidth = child.getMeasuredWidth(); in positionChild() local 325 child.layout(x - childWidth, childTop, x, childTop + childHeight); in positionChild() 327 child.layout(x, childTop, x + childWidth, childTop + childHeight); in positionChild() 330 return (reverse ? -childWidth : childWidth); in positionChild()
|
D | MessagingLinearLayout.java | 170 final int childWidth = child.getMeasuredWidth(); in onLayout() local 175 childLeft = childRight - childWidth - lp.rightMargin; in onLayout() 182 child.layout(childLeft, childTop, childLeft + childWidth, in onLayout() 198 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout()
|
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 | NotificationActionListLayout.java | 241 final int childWidth = child.getMeasuredWidth(); in onLayout() local 250 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout() 251 childLeft += childWidth + lp.rightMargin; in onLayout()
|
D | ResolverDrawerLayout.java | 952 final int childWidth = child.getMeasuredWidth(); 954 final int left = leftEdge + (widthAvailable - childWidth) / 2; 955 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/SystemUI/src/com/android/systemui/qs/ |
D | PseudoGridView.java | 69 int childWidth = (width - (mNumColumns - 1) * mHorizontalSpacing) / mNumColumns; in onMeasure() local 70 int childWidthSpec = MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY); in onMeasure()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | InsetDrawable.java | 285 final int childWidth = getDrawable().getIntrinsicWidth(); in getIntrinsicWidth() local 287 if (childWidth < 0 || fraction >= 1) { in getIntrinsicWidth() 290 return (int) (childWidth / (1 - fraction)) + mState.mInsetLeft.mDimension in getIntrinsicWidth()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyView.java | 456 final int childWidth = child.getMeasuredWidth(); in onMeasure() local 458 accumulatedMeasures.mMeasuredWidth += spacing + childWidth; in onMeasure() 807 final int childWidth = child.getMeasuredWidth(); in onLayout() local 809 final int childLeft = isRtl ? position - childWidth : position; in onLayout() 810 child.layout(childLeft, 0, childLeft + childWidth, childHeight); in onLayout() 812 final int childWidthWithSpacing = childWidth + mSpacing; in onLayout()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | RecentsView.java | 457 int childWidth = mEmptyView.getMeasuredWidth(); 460 Math.max(0, (right - left - leftRightInsets - childWidth)) / 2; 463 mEmptyView.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
|