Searched refs:totalWidth (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DTableLayout.java454 int widthMeasureSpec, int totalWidth,
463 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight);
560 int totalWidth = 0;
562 totalWidth += width;
567 if ((totalWidth > size) && (mShrinkAllColumns || mShrinkableColumns.size() > 0)) {
570 mutateColumnsWidth(mShrinkableColumns, mShrinkAllColumns, size, totalWidth);
571 } else if ((totalWidth < size) && (mStretchAllColumns || mStretchableColumns.size() > 0)) {
574 mutateColumnsWidth(mStretchableColumns, mStretchAllColumns, size, totalWidth);
579 boolean allColumns, int size, int totalWidth) {
584 final int totalExtraSpace = size - totalWidth;
453 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument
578 mutateColumnsWidth(SparseBooleanArray columns, boolean allColumns, int size, int totalWidth) argument
[all...]
H A DTabWidget.java149 void measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, argument
153 totalWidth + mImposedTabWidths[childIndex], MeasureSpec.EXACTLY);
159 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight);
H A DTableRow.java191 int widthMeasureSpec, int totalWidth,
247 totalWidth, heightMeasureSpec, totalHeight);
190 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument
H A DLinearLayout.java1507 * @param totalWidth extra space that has been used up by the parent horizontally
1512 int widthMeasureSpec, int totalWidth, int heightMeasureSpec,
1514 measureChildWithMargins(child, widthMeasureSpec, totalWidth,
1511 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument
/frameworks/base/tools/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/
H A DThemePreviewLayout.java158 int totalWidth = mNumColumns * itemWidth + horizontalMarginsTotalWidth +
163 setMeasuredDimension(resolveSize(totalWidth, widthMeasureSpec),
/frameworks/support/design/src/android/support/design/internal/
H A DBottomNavigationMenuView.java142 int totalWidth = 0;
152 totalWidth += child.getMeasuredWidth();
155 View.resolveSizeAndState(totalWidth,
156 MeasureSpec.makeMeasureSpec(totalWidth, MeasureSpec.EXACTLY), 0),
/frameworks/base/core/java/android/view/
H A DNotificationHeaderView.java110 int totalWidth = getPaddingStart() + getPaddingEnd();
123 totalWidth += lp.leftMargin + lp.rightMargin + child.getMeasuredWidth();
125 if (totalWidth > givenWidth) {
126 int overFlow = totalWidth - givenWidth;
/frameworks/support/wear/src/android/support/wear/widget/drawer/
H A DPageIndicatorView.java570 int totalWidth;
572 totalWidth = MeasureSpec.getSize(widthMeasureSpec);
575 totalWidth = contentWidth + getPaddingLeft() + getPaddingRight();
588 resolveSizeAndState(totalWidth, widthMeasureSpec, 0),
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewController.java988 final int totalWidth = mRootView.getMeasuredWidth();
1002 final float scaleW = (float) mAnimationStartWidth / totalWidth;
1007 totalWidth, scale);
1085 final int totalWidth = mRootView.getMeasuredWidth();
1092 final float scaleW = (float) mAnimationStartWidth / totalWidth;
1097 totalWidth, scale);
1208 int totalWidth = mRootView.getMeasuredWidth();
1209 if (totalWidth == 0) {
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java632 int totalWidth = 0;
638 totalWidth += key.width;
640 if (totalGap + totalWidth > newWidth) {
642 float scaleFactor = (float)(newWidth - totalGap) / totalWidth;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DLinearLayoutCompat.java1370 * @param totalWidth extra space that has been used up by the parent horizontally
1375 int widthMeasureSpec, int totalWidth, int heightMeasureSpec,
1377 measureChildWithMargins(child, widthMeasureSpec, totalWidth,
1374 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument

Completed in 421 milliseconds