Home
last modified time | relevance | path

Searched refs:contentWidth (Results 1 – 11 of 11) 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.java314 final int contentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
320 int availableWidth = contentWidth - getPaddingLeft() - getPaddingRight(); in onMeasure()
337 final int titleWidthSpec = MeasureSpec.makeSafeMeasureSpec(contentWidth, in onMeasure()
375 setMeasuredDimension(contentWidth, measuredHeight); in onMeasure()
377 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/support/v7/appcompat/src/android/support/v7/widget/
DActivityChooserView.java390 final int contentWidth = Math.min(mAdapter.measureContentWidth(), mListPopupMaxWidth); in showPopupUnchecked() local
391 popupWindow.setContentWidth(contentWidth); in showPopupUnchecked()
792 int contentWidth = 0; in measureContentWidth() local
802 contentWidth = Math.max(contentWidth, itemView.getMeasuredWidth()); in measureContentWidth()
807 return contentWidth; in measureContentWidth()
DActionBarContextView.java254 final int contentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
260 int availableWidth = contentWidth - getPaddingLeft() - getPaddingRight(); in onMeasure()
314 setMeasuredDimension(contentWidth, measuredHeight); in onMeasure()
316 setMeasuredDimension(contentWidth, maxHeight); in onMeasure()
DAppCompatSpinner.java771 int contentWidth = compatMeasureContentWidth( in computeContentWidth() local
775 if (contentWidth > contentWidthLimit) { in computeContentWidth()
776 contentWidth = contentWidthLimit; in computeContentWidth()
779 contentWidth, spinnerWidth - spinnerPaddingLeft - spinnerPaddingRight)); in computeContentWidth()
/frameworks/base/core/java/android/widget/
DActivityChooserView.java400 final int contentWidth = Math.min(mAdapter.measureContentWidth(), mListPopupMaxWidth); in showPopupUnchecked() local
401 popupWindow.setContentWidth(contentWidth); in showPopupUnchecked()
802 int contentWidth = 0; in measureContentWidth() local
812 contentWidth = Math.max(contentWidth, itemView.getMeasuredWidth()); in measureContentWidth()
817 return contentWidth; in measureContentWidth()
DSpinner.java1225 int contentWidth = measureContentWidth( in computeContentWidth() local
1229 if (contentWidth > contentWidthLimit) { in computeContentWidth()
1230 contentWidth = contentWidthLimit; in computeContentWidth()
1233 contentWidth, spinnerWidth - spinnerPaddingLeft - spinnerPaddingRight)); in computeContentWidth()
DHorizontalScrollView.java1236 final int contentWidth = getWidth() - mPaddingLeft - mPaddingRight; in computeHorizontalScrollRange() local
1238 return contentWidth; in computeHorizontalScrollRange()
1243 final int overscrollRight = Math.max(0, scrollRange - contentWidth); in computeHorizontalScrollRange()
/frameworks/support/wear/src/android/support/wear/widget/drawer/
DPageIndicatorView.java576 int contentWidth = mNumberOfPositions * mDotSpacing; in onMeasure() local
577 totalWidth = contentWidth + getPaddingLeft() + getPaddingRight(); in onMeasure()
/frameworks/support/core-ui/java/android/support/v4/view/
DPagerTitleStrip.java349 final int contentWidth = stripWidth - textPaddedLeft - textPaddedRight; in updateTextPositions() local
355 final int currCenter = stripWidth - textPaddedRight - (int) (contentWidth * currOffset); in updateTextPositions()