Home
last modified time | relevance | path

Searched refs:contentWidth (Results 1 – 10 of 10) 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.java349 final int contentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
355 int availableWidth = contentWidth - getPaddingLeft() - getPaddingRight(); in onMeasure()
409 setMeasuredDimension(contentWidth, measuredHeight); in onMeasure()
411 setMeasuredDimension(contentWidth, maxHeight); in onMeasure()
DActionBarView.java921 int contentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
933 int availableWidth = contentWidth - paddingLeft - paddingRight; in onMeasure()
1084 setMeasuredDimension(contentWidth, measuredHeight); in onMeasure()
1086 setMeasuredDimension(contentWidth, maxHeight); in onMeasure()
1095 contentWidth - mProgressBarPadding * 2, MeasureSpec.EXACTLY), in onMeasure()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActivityChooserView.java375 final int contentWidth = Math.min(mAdapter.measureContentWidth(), mListPopupMaxWidth); in showPopupUnchecked() local
376 popupWindow.setContentWidth(contentWidth); in showPopupUnchecked()
763 int contentWidth = 0; in measureContentWidth() local
773 contentWidth = Math.max(contentWidth, itemView.getMeasuredWidth()); in measureContentWidth()
778 return contentWidth; in measureContentWidth()
DActionBarContextView.java342 final int contentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
348 int availableWidth = contentWidth - getPaddingLeft() - getPaddingRight(); in onMeasure()
402 setMeasuredDimension(contentWidth, measuredHeight); in onMeasure()
404 setMeasuredDimension(contentWidth, maxHeight); in onMeasure()
DSpinnerCompat.java1031 int contentWidth = measureContentWidth( in computeContentWidth() local
1035 if (contentWidth > contentWidthLimit) { in computeContentWidth()
1036 contentWidth = contentWidthLimit; in computeContentWidth()
1039 contentWidth, spinnerWidth - spinnerPaddingLeft - spinnerPaddingRight)); in computeContentWidth()
/frameworks/base/core/java/android/widget/
DActivityChooserView.java397 final int contentWidth = Math.min(mAdapter.measureContentWidth(), mListPopupMaxWidth); in showPopupUnchecked() local
398 popupWindow.setContentWidth(contentWidth); in showPopupUnchecked()
798 int contentWidth = 0; in measureContentWidth() local
808 contentWidth = Math.max(contentWidth, itemView.getMeasuredWidth()); in measureContentWidth()
813 return contentWidth; in measureContentWidth()
DSpinner.java1109 int contentWidth = measureContentWidth( in computeContentWidth() local
1113 if (contentWidth > contentWidthLimit) { in computeContentWidth()
1114 contentWidth = contentWidthLimit; in computeContentWidth()
1117 contentWidth, spinnerWidth - spinnerPaddingLeft - spinnerPaddingRight)); in computeContentWidth()
DHorizontalScrollView.java1198 final int contentWidth = getWidth() - mPaddingLeft - mPaddingRight; in computeHorizontalScrollRange() local
1200 return contentWidth; in computeHorizontalScrollRange()
1205 final int overscrollRight = Math.max(0, scrollRange - contentWidth); in computeHorizontalScrollRange()
/frameworks/support/v4/java/android/support/v4/view/
DPagerTitleStrip.java354 final int contentWidth = stripWidth - textPaddedLeft - textPaddedRight; in updateTextPositions() local
360 final int currCenter = stripWidth - textPaddedRight - (int) (contentWidth * currOffset); in updateTextPositions()