Home
last modified time | relevance | path

Searched refs:totalWidth (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/widget/
DTableLayout.java454 int widthMeasureSpec, int totalWidth, in measureChildBeforeLayout() argument
463 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
560 int totalWidth = 0; in shrinkAndStretchColumns() local
562 totalWidth += width; in shrinkAndStretchColumns()
567 if ((totalWidth > size) && (mShrinkAllColumns || mShrinkableColumns.size() > 0)) { in shrinkAndStretchColumns()
570 mutateColumnsWidth(mShrinkableColumns, mShrinkAllColumns, size, totalWidth); in shrinkAndStretchColumns()
571 } else if ((totalWidth < size) && (mStretchAllColumns || mStretchableColumns.size() > 0)) { in shrinkAndStretchColumns()
574 mutateColumnsWidth(mStretchableColumns, mStretchAllColumns, size, totalWidth); in shrinkAndStretchColumns()
579 boolean allColumns, int size, int totalWidth) { in mutateColumnsWidth() argument
584 final int totalExtraSpace = size - totalWidth; in mutateColumnsWidth()
DTabWidget.java170 void measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, in measureChildBeforeLayout() argument
174 totalWidth + mImposedTabWidths[childIndex], MeasureSpec.EXACTLY); in measureChildBeforeLayout()
180 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
DTableRow.java192 int widthMeasureSpec, int totalWidth, in measureChildBeforeLayout() argument
248 totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
DLinearLayout.java1550 int widthMeasureSpec, int totalWidth, int heightMeasureSpec, in measureChildBeforeLayout() argument
1552 measureChildWithMargins(child, widthMeasureSpec, totalWidth, in measureChildBeforeLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusIconContainer.java162 int totalWidth = mPaddingLeft + mPaddingRight; in onMeasure() local
175 totalWidth += getViewTotalMeasuredWidth(child) + spacing; in onMeasure()
178 totalWidth += mUnderflowWidth; in onMeasure()
182 totalWidth += getViewTotalMeasuredWidth(child) + spacing; in onMeasure()
187 if (!mNeedsUnderflow && totalWidth > width) { in onMeasure()
192 if (mode == MeasureSpec.AT_MOST && totalWidth > width) { in onMeasure()
194 totalWidth = width; in onMeasure()
196 setMeasuredDimension(totalWidth, MeasureSpec.getSize(heightMeasureSpec)); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
DDotIndicatorDecoration.java85 float totalWidth = in onDrawOver() local
91 (recyclerView.getWidth() - totalWidth) / 2f, in onDrawOver()
/frameworks/base/core/java/android/view/
DNotificationTopLineView.java114 int totalWidth = getPaddingStart(); in onMeasure() local
130 totalWidth += lp.leftMargin + lp.rightMargin + child.getMeasuredWidth(); in onMeasure()
143 if (totalWidth > givenWidth - endMargin) { in onMeasure()
144 int overFlow = totalWidth - givenWidth + endMargin; in onMeasure()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java988 final int totalWidth = mRootView.getMeasuredWidth(); in runEnterAnimation() local
1002 final float scaleW = (float) mAnimationStartWidth / totalWidth; in runEnterAnimation()
1007 totalWidth, scale); in runEnterAnimation()
1085 final int totalWidth = mRootView.getMeasuredWidth(); in runExitAnimation() local
1092 final float scaleW = (float) mAnimationStartWidth / totalWidth; in runExitAnimation()
1097 totalWidth, scale); in runExitAnimation()
1208 int totalWidth = mRootView.getMeasuredWidth(); in initTemporaryImage() local
1209 if (totalWidth == 0) { in initTemporaryImage()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java643 int totalWidth = 0; in resize() local
649 totalWidth += key.width; in resize()
651 if (totalGap + totalWidth > newWidth) { in resize()
653 float scaleFactor = (float)(newWidth - totalGap) / totalWidth; in resize()
/frameworks/base/core/java/android/text/
DTextLine.java931 float totalWidth = 0;
936 totalWidth = getRunAdvance(wp, start, end, contextStart, contextEnd, runIsRtl, offset);
941 leftX = x - totalWidth;
945 rightX = x + totalWidth;
1012 return runIsRtl ? -totalWidth : totalWidth;