Home
last modified time | relevance | path

Searched refs:totalWidth (Results 1 – 13 of 13) 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.java1606 int widthMeasureSpec, int totalWidth, int heightMeasureSpec, in measureChildBeforeLayout() argument
1608 measureChildWithMargins(child, widthMeasureSpec, totalWidth, in measureChildBeforeLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
DSquigglyProgress.kt139 val totalWidth = bounds.width().toFloat() in <lambda>() constant
140 val totalProgressPx = totalWidth * progress in <lambda>()
142 totalWidth * in <lambda>()
153 val waveEnd = if (transitionEnabled) totalWidth else waveProgressPx in <lambda>()
201 canvas.clipRect(totalProgressPx, -1f * clipTop, totalWidth, clipTop) in <lambda>()
207 canvas.drawLine(totalProgressPx, 0f, totalWidth, 0f, linePaint) in <lambda>()
/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()
DNotificationIconContainer.java243 int totalWidth = (int) (getActualPaddingStart() + getActualPaddingEnd()); in onMeasure() local
248 totalWidth += child.getMeasuredWidth(); in onMeasure()
251 final int measuredWidth = resolveSize(totalWidth, widthMeasureSpec); in onMeasure()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/util/
DSplitBounds.java67 float totalWidth = rightBottomBounds.right - leftTopBounds.left; in SplitBounds() local
69 leftTaskPercent = leftTopBounds.width() / totalWidth; in SplitBounds()
71 dividerWidthPercent = visualDividerBounds.width() / totalWidth; in SplitBounds()
/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.java644 int totalWidth = 0; in resize() local
650 totalWidth += key.width; in resize()
652 if (totalGap + totalWidth > newWidth) { in resize()
654 float scaleFactor = (float)(newWidth - totalGap) / totalWidth; in resize()
/frameworks/base/core/java/android/text/
DTextLine.java965 float totalWidth = 0;
970 totalWidth = getRunAdvance(wp, start, end, contextStart, contextEnd, runIsRtl, offset);
975 leftX = x - totalWidth;
979 rightX = x + totalWidth;
1050 return runIsRtl ? -totalWidth : totalWidth;