Searched refs:usedWidth (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/com/android/internal/widget/ |
D | NotificationActionListLayout.java | 92 int usedWidth = 0; in onMeasure() local 110 int usedWidthForChild = usedWidth; in onMeasure() 116 int availableWidth = innerWidth - usedWidth; in onMeasure() 125 usedWidth += c.getMeasuredWidth() + lp.rightMargin + lp.leftMargin; in onMeasure() 131 if (lastNotGoneChild != null && (constrained && usedWidth < innerWidth in onMeasure() 136 usedWidth -= lastNotGoneChild.getMeasuredWidth() + lp.rightMargin + lp.leftMargin; in onMeasure() 141 measureChildWithMargins(lastNotGoneChild, widthMeasureSpec, usedWidth, in onMeasure() 145 usedWidth += lastNotGoneChild.getMeasuredWidth() + lp.rightMargin + lp.leftMargin; in onMeasure() 148 mTotalWidth = usedWidth + mPaddingRight + mPaddingLeft; in onMeasure()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | GridLayoutManager.java | 297 final int usedWidth = childrenBounds.width() + horizontalPadding; in setMeasuredDimension() local 298 width = chooseSize(wSpec, usedWidth, getMinimumWidth()); in setMeasuredDimension()
|
D | StaggeredGridLayoutManager.java | 587 final int usedWidth = childrenBounds.width() + horizontalPadding; 588 width = chooseSize(wSpec, usedWidth, getMinimumWidth());
|
D | RecyclerView.java | 6399 int usedWidth = childrenBounds.width() + getPaddingLeft() + getPaddingRight(); in setMeasuredDimension() local 6401 int width = chooseSize(wSpec, usedWidth, getMinimumWidth()); in setMeasuredDimension()
|
/frameworks/base/core/java/android/widget/ |
D | LinearLayout.java | 1116 final int usedWidth = totalWeight == 0 ? mTotalLength : 0; in measureHorizontal() local 1117 measureChildBeforeLayout(child, i, widthMeasureSpec, usedWidth, in measureHorizontal()
|