/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 | 174 void measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, in measureChildBeforeLayout() argument 178 totalWidth + mImposedTabWidths[childIndex], MeasureSpec.EXACTLY); in measureChildBeforeLayout() 184 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 | 1606 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/drawable/ |
D | SquigglyProgress.kt | 144 val totalWidth = bounds.width().toFloat() in <lambda>() constant 145 val totalProgressPx = totalWidth * progress in <lambda>() 147 totalWidth * in <lambda>() 158 val waveEnd = if (transitionEnabled) totalWidth else waveProgressPx in <lambda>() 206 canvas.clipRect(totalProgressPx, -1f * clipTop, totalWidth, clipTop) in <lambda>() 212 canvas.drawLine(totalProgressPx, 0f, totalWidth, 0f, linePaint) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusIconContainer.java | 173 int totalWidth = mPaddingLeft + mPaddingRight; in onMeasure() local 186 totalWidth += getViewTotalMeasuredWidth(child) + spacing; in onMeasure() 189 totalWidth += mUnderflowWidth; in onMeasure() 193 totalWidth += getViewTotalMeasuredWidth(child) + spacing; in onMeasure() 197 getMeasuredWidth(widthMode, specWidth, totalWidth), in onMeasure() 213 private int getMeasuredWidth(int widthMode, int specWidth, int totalWidth) { in getMeasuredWidth() argument 215 if (!mNeedsUnderflow && totalWidth > specWidth) { in getMeasuredWidth() 220 if (widthMode == MeasureSpec.AT_MOST && totalWidth > specWidth) { in getMeasuredWidth() 222 totalWidth = specWidth; in getMeasuredWidth() 224 return totalWidth; in getMeasuredWidth()
|
D | NotificationIconContainer.java | 249 int totalWidth = (int) (getActualPaddingStart() + getActualPaddingEnd()); in onMeasure() local 254 totalWidth += child.getMeasuredWidth(); in onMeasure() 257 final int measuredWidth = resolveSize(totalWidth, widthMeasureSpec); in onMeasure()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/util/ |
D | SplitBounds.java | 73 float totalWidth = rightBottomBounds.right - leftTopBounds.left; in SplitBounds() local 75 leftTaskPercent = leftTopBounds.width() / totalWidth; in SplitBounds() 77 dividerWidthPercent = visualDividerBounds.width() / totalWidth; in SplitBounds()
|
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/grid/ |
D | Grids.kt | 168 var totalWidth = totalHorizontalSpacingBetweenChildren in Grid() variable 170 totalWidth += sizeCache.columnWidths[column] in Grid() 178 layout(totalWidth, totalHeight) { in Grid()
|
/frameworks/base/core/java/android/view/ |
D | NotificationTopLineView.java | 116 int totalWidth = getPaddingStart(); in onMeasure() local 132 totalWidth += lp.leftMargin + lp.rightMargin + child.getMeasuredWidth(); in onMeasure() 145 if (totalWidth > givenWidth - endMargin) { in onMeasure() 146 int overFlow = totalWidth - givenWidth + endMargin; in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/ |
D | DotIndicatorDecoration.java | 87 float totalWidth = in onDrawOver() local 93 (recyclerView.getWidth() - totalWidth) / 2f, in onDrawOver()
|
/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/packages/SystemUI/compose/core/src/com/android/compose/ |
D | PlatformSlider.kt | 286 right = drawingState.totalWidth, in TrackBackground() 364 totalWidth = desiredWidth.toFloat(), in measure() 377 totalWidth = desiredWidth.toFloat(), in measure() 402 val totalWidth: Float = 0f, constant in com.android.compose.DrawingState
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | Keyboard.java | 644 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/ |
D | TextLine.java | 1344 float totalWidth = 0; in handleText() local 1361 totalWidth = getRunAdvance(wp, start, end, contextStart, contextEnd, runIsRtl, offset, in handleText() 1366 mTmpRectForPaintAPI.offset(x - totalWidth, 0); in handleText() 1376 leftX = x - totalWidth; in handleText() 1380 rightX = x + totalWidth; in handleText() 1451 return runIsRtl ? -totalWidth : totalWidth; in handleText()
|