/frameworks/base/core/java/android/widget/ |
D | TableLayout.java | 454 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()
|
D | TabWidget.java | 157 void measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, in measureChildBeforeLayout() argument 161 totalWidth + mImposedTabWidths[childIndex], MeasureSpec.EXACTLY); in measureChildBeforeLayout() 167 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
|
D | TableRow.java | 192 int widthMeasureSpec, int totalWidth, in measureChildBeforeLayout() argument 248 totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
|
D | LinearLayout.java | 1550 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/ |
D | StatusIconContainer.java | 160 int totalWidth = mPaddingLeft + mPaddingRight; in onMeasure() local 172 totalWidth += getViewTotalMeasuredWidth(child); in onMeasure() 175 totalWidth += mUnderflowWidth; in onMeasure() 179 totalWidth += getViewTotalMeasuredWidth(child); in onMeasure() 184 if (!mNeedsUnderflow && totalWidth > width) { in onMeasure() 189 if (mode == MeasureSpec.AT_MOST && totalWidth > width) { in onMeasure() 191 totalWidth = width; in onMeasure() 193 setMeasuredDimension(totalWidth, MeasureSpec.getSize(heightMeasureSpec)); in onMeasure()
|
/frameworks/base/core/java/android/view/ |
D | NotificationHeaderView.java | 137 int totalWidth = getPaddingStart(); in onMeasure() local 156 totalWidth += lp.leftMargin + lp.rightMargin + child.getMeasuredWidth(); in onMeasure() 162 if (totalWidth > givenWidth - endMargin) { in onMeasure() 163 int overFlow = totalWidth - givenWidth + endMargin; in onMeasure() 175 totalWidth += getPaddingEnd(); in onMeasure() 176 mTotalWidth = Math.min(totalWidth, givenWidth); in onMeasure()
|
/frameworks/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/ |
D | ThemePreviewLayout.java | 158 int totalWidth = mNumColumns * itemWidth + horizontalMarginsTotalWidth + in onMeasure() local 163 setMeasuredDimension(resolveSize(totalWidth, widthMeasureSpec), in onMeasure()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
D | PhotoViewController.java | 988 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/ |
D | Keyboard.java | 643 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/ |
D | TextLine.java | 874 float totalWidth = 0; 878 totalWidth = getRunAdvance(wp, start, end, contextStart, contextEnd, runIsRtl, offset); 884 leftX = x - totalWidth; 888 rightX = x + totalWidth; 950 return runIsRtl ? -totalWidth : totalWidth;
|