Searched refs:usedWidth (Results 1 – 4 of 4) sorted by relevance
/aosp14/frameworks/base/core/java/com/android/internal/widget/ |
H A D | NotificationActionListLayout.java | 133 int usedWidth = 0; in measureAndGetUsedWidth() local 156 int usedWidthForChild = usedWidth; in measureAndGetUsedWidth() 162 int availableWidth = innerWidth - usedWidth; in measureAndGetUsedWidth() 190 usedWidth += c.getMeasuredWidth() + lp.rightMargin + lp.leftMargin; in measureAndGetUsedWidth() 199 if (innerWidth - usedWidth > collapsibleIndent) { in measureAndGetUsedWidth() 204 return usedWidth; in measureAndGetUsedWidth() 211 int usedWidth = measureAndGetUsedWidth(widthMeasureSpec, heightMeasureSpec, innerWidth, in onMeasure() local 213 if (mNumPriorityChildren != 0 && usedWidth >= innerWidth) { in onMeasure() 214 usedWidth = measureAndGetUsedWidth(widthMeasureSpec, heightMeasureSpec, innerWidth, in onMeasure() 218 mTotalWidth = usedWidth + mPaddingRight + mPaddingLeft + mExtraStartPadding; in onMeasure()
|
H A D | GridLayoutManager.java | 296 final int usedWidth = childrenBounds.width() + horizontalPadding; in setMeasuredDimension() local 297 width = chooseSize(wSpec, usedWidth, getMinimumWidth()); in setMeasuredDimension()
|
H A D | RecyclerView.java | 7097 int usedWidth = childrenBounds.width() + getPaddingLeft() + getPaddingRight(); in setMeasuredDimension() local 7099 int width = chooseSize(wSpec, usedWidth, getMinimumWidth()); in setMeasuredDimension()
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | LinearLayout.java | 1239 final int usedWidth = totalWeight == 0 ? mTotalLength : 0; in measureHorizontal() local 1240 measureChildBeforeLayout(child, i, widthMeasureSpec, usedWidth, in measureHorizontal()
|