Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthPanelController.java138 public void updateForContentDimensions(int contentWidth, int contentHeight, in updateForContentDimensions() argument
141 Log.v(TAG, "Content Width: " + contentWidth in updateForContentDimensions()
177 ValueAnimator widthAnimator = ValueAnimator.ofInt(mContentWidth, contentWidth); in updateForContentDimensions()
192 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.java1240 int contentWidth = measureContentWidth( in computeContentWidth() local
1244 if (contentWidth > contentWidthLimit) { in computeContentWidth()
1245 contentWidth = contentWidthLimit; in computeContentWidth()
1248 contentWidth, spinnerWidth - spinnerPaddingLeft - spinnerPaddingRight)); in computeContentWidth()
DHorizontalScrollView.java1358 final int contentWidth = getWidth() - mPaddingLeft - mPaddingRight; in computeHorizontalScrollRange() local
1360 return contentWidth; in computeHorizontalScrollRange()
1365 final int overscrollRight = Math.max(0, scrollRange - contentWidth); in computeHorizontalScrollRange()
DEditor.java5226 final float contentWidth = Math.round(mMagnifierAnimator.mMagnifier.getWidth() in obtainMagnifierShowCoordinates() local
5228 if (touchXInView < leftBound - contentWidth / 2 in obtainMagnifierShowCoordinates()
5229 || touchXInView > rightBound + contentWidth / 2) { in obtainMagnifierShowCoordinates()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DPerfTimeline.java122 int contentWidth = getWidth() - paddingLeft - paddingRight; in onDraw() local