Home
last modified time | relevance | path

Searched refs:usedWidth (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DNotificationActionListLayout.java92 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/
DGridLayoutManager.java297 final int usedWidth = childrenBounds.width() + horizontalPadding; in setMeasuredDimension() local
298 width = chooseSize(wSpec, usedWidth, getMinimumWidth()); in setMeasuredDimension()
DStaggeredGridLayoutManager.java587 final int usedWidth = childrenBounds.width() + horizontalPadding;
588 width = chooseSize(wSpec, usedWidth, getMinimumWidth());
DRecyclerView.java6399 int usedWidth = childrenBounds.width() + getPaddingLeft() + getPaddingRight(); in setMeasuredDimension() local
6401 int width = chooseSize(wSpec, usedWidth, getMinimumWidth()); in setMeasuredDimension()
/frameworks/base/core/java/android/widget/
DLinearLayout.java1116 final int usedWidth = totalWeight == 0 ? mTotalLength : 0; in measureHorizontal() local
1117 measureChildBeforeLayout(child, i, widthMeasureSpec, usedWidth, in measureHorizontal()