Home
last modified time | relevance | path

Searched refs:contentWidth (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthPanelController.java146 public void updateForContentDimensions(int contentWidth, int contentHeight, in updateForContentDimensions() argument
149 Log.v(TAG, "Content Width: " + contentWidth in updateForContentDimensions()
185 ValueAnimator widthAnimator = ValueAnimator.ofInt(mContentWidth, contentWidth); in updateForContentDimensions()
200 mContentWidth = contentWidth; in updateForContentDimensions()
/frameworks/base/core/java/com/android/internal/widget/
DTextProgressBar.java154 int contentWidth = mProgressBar.getWidth() - (params.leftMargin + params.rightMargin); in onChronometerTick() local
155 int leadingEdge = ((contentWidth * mProgressBar.getProgress()) / in onChronometerTick()
169 int rightLimit = contentWidth - params.rightMargin - textWidth; in onChronometerTick()
DActionBarContextView.java316 final int contentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
322 int availableWidth = contentWidth - getPaddingLeft() - getPaddingRight(); in onMeasure()
339 final int titleWidthSpec = MeasureSpec.makeSafeMeasureSpec(contentWidth, in onMeasure()
377 setMeasuredDimension(contentWidth, measuredHeight); in onMeasure()
379 setMeasuredDimension(contentWidth, maxHeight); in onMeasure()
DActionBarView.java914 int contentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
926 int availableWidth = contentWidth - paddingLeft - paddingRight; in onMeasure()
1077 setMeasuredDimension(contentWidth, measuredHeight); in onMeasure()
1079 setMeasuredDimension(contentWidth, maxHeight); in onMeasure()
1088 contentWidth - mProgressBarPadding * 2, MeasureSpec.EXACTLY), in onMeasure()
/frameworks/base/core/java/android/widget/
DActivityChooserView.java404 final int contentWidth = Math.min(mAdapter.measureContentWidth(), mListPopupMaxWidth); in showPopupUnchecked() local
405 popupWindow.setContentWidth(contentWidth); in showPopupUnchecked()
806 int contentWidth = 0; in measureContentWidth() local
816 contentWidth = Math.max(contentWidth, itemView.getMeasuredWidth()); in measureContentWidth()
821 return contentWidth; in measureContentWidth()
DSpinner.java1265 int contentWidth = measureContentWidth( in computeContentWidth() local
1269 if (contentWidth > contentWidthLimit) { in computeContentWidth()
1270 contentWidth = contentWidthLimit; in computeContentWidth()
1273 contentWidth, spinnerWidth - spinnerPaddingLeft - spinnerPaddingRight)); in computeContentWidth()
DHorizontalScrollView.java1392 final int contentWidth = getWidth() - mPaddingLeft - mPaddingRight; in computeHorizontalScrollRange() local
1394 return contentWidth; in computeHorizontalScrollRange()
1399 final int overscrollRight = Math.max(0, scrollRange - contentWidth); in computeHorizontalScrollRange()
DEditor.java5510 final float contentWidth = Math.round(mMagnifierAnimator.mMagnifier.getWidth() in obtainMagnifierShowCoordinates() local
5512 if (touchXInView < leftBound - contentWidth / 2 in obtainMagnifierShowCoordinates()
5513 || touchXInView > rightBound + contentWidth / 2) { in obtainMagnifierShowCoordinates()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/
DCoreDocument.java221 float contentWidth = mWidth * contentScaleX; in computeTranslate() local
230 translateX = (w - contentWidth) / 2f; in computeTranslate()
234 translateX = w - contentWidth; in computeTranslate()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DPerfTimeline.java122 int contentWidth = getWidth() - paddingLeft - paddingRight; in onDraw() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconContainer.java471 final float contentWidth; in calculateWidthFor() local
473 contentWidth = mIconSize * numIcons; in calculateWidthFor()
475 contentWidth = mIconSize * MathUtils.min(numIcons, mMaxIconsOnLockscreen + 1); in calculateWidthFor()
477 return getActualPaddingStart() + contentWidth + getActualPaddingEnd(); in calculateWidthFor()