Searched refs:contentWidth (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/java/com/android/internal/widget/ |
D | TextProgressBar.java | 154 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()
|
D | ActionBarContextView.java | 315 final int contentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 321 int availableWidth = contentWidth - getPaddingLeft() - getPaddingRight(); in onMeasure() 338 final int titleWidthSpec = MeasureSpec.makeSafeMeasureSpec(contentWidth, in onMeasure() 376 setMeasuredDimension(contentWidth, measuredHeight); in onMeasure() 378 setMeasuredDimension(contentWidth, maxHeight); in onMeasure()
|
D | ActionBarView.java | 914 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/ |
D | ActivityChooserView.java | 404 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()
|
D | Spinner.java | 1240 int contentWidth = measureContentWidth( in computeContentWidth() local 1244 if (contentWidth > contentWidthLimit) { in computeContentWidth() 1245 contentWidth = contentWidthLimit; in computeContentWidth() 1248 contentWidth, spinnerWidth - spinnerPaddingLeft - spinnerPaddingRight)); in computeContentWidth()
|
D | HorizontalScrollView.java | 1334 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()
|
D | Editor.java | 4928 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/ |
D | NotificationIconContainer.java | 451 float contentWidth = 0; in calculateIconTranslations() 453 contentWidth = mLastVisibleIconState.xTranslation + mIconSize; in calculateIconTranslations() 454 contentWidth = Math.min(getWidth(), contentWidth) - initialTranslation; in calculateIconTranslations() 457 float delta = (availableSpace - contentWidth) / 2; in calculateIconTranslations()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/ |
D | PerfTimeline.java | 122 int contentWidth = getWidth() - paddingLeft - paddingRight; in onDraw() local
|