Home
last modified time | relevance | path

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

/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.java1334 final int contentWidth = getWidth() - mPaddingLeft - mPaddingRight; in computeHorizontalScrollRange() local
1336 return contentWidth; in computeHorizontalScrollRange()
1341 final int overscrollRight = Math.max(0, scrollRange - contentWidth); in computeHorizontalScrollRange()
DEditor.java4928 final float contentWidth = Math.round(mMagnifierAnimator.mMagnifier.getWidth() in obtainMagnifierShowCoordinates() local
4930 if (touchXInView < leftBound - contentWidth / 2 in obtainMagnifierShowCoordinates()
4931 || touchXInView > rightBound + contentWidth / 2) { in obtainMagnifierShowCoordinates()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconContainer.java446 float contentWidth = 0; in calculateIconTranslations()
448 contentWidth = mLastVisibleIconState.xTranslation + mIconSize; in calculateIconTranslations()
449 contentWidth = Math.min(getWidth(), contentWidth) - initialTranslation; in calculateIconTranslations()
452 float delta = (availableSpace - contentWidth) / 2; in calculateIconTranslations()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DPerfTimeline.java122 int contentWidth = getWidth() - paddingLeft - paddingRight; in onDraw() local