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.java151 int contentWidth = mProgressBar.getWidth() - (params.leftMargin + params.rightMargin); in onChronometerTick() local
152 int leadingEdge = ((contentWidth * mProgressBar.getProgress()) / in onChronometerTick()
166 int rightLimit = contentWidth - params.rightMargin - textWidth; in onChronometerTick()
DActionBarContextView.java336 final int contentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
342 int availableWidth = contentWidth - getPaddingLeft() - getPaddingRight(); in onMeasure()
396 setMeasuredDimension(contentWidth, measuredHeight); in onMeasure()
398 setMeasuredDimension(contentWidth, maxHeight); in onMeasure()
DActionBarView.java935 int contentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
947 int availableWidth = contentWidth - paddingLeft - paddingRight; in onMeasure()
1098 setMeasuredDimension(contentWidth, measuredHeight); in onMeasure()
1100 setMeasuredDimension(contentWidth, maxHeight); in onMeasure()
1109 contentWidth - mProgressBarPadding * 2, MeasureSpec.EXACTLY), in onMeasure()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActivityChooserView.java352 final int contentWidth = Math.min(mAdapter.measureContentWidth(), mListPopupMaxWidth); in showPopupUnchecked() local
353 popupWindow.setContentWidth(contentWidth); in showPopupUnchecked()
740 int contentWidth = 0; in measureContentWidth() local
750 contentWidth = Math.max(contentWidth, itemView.getMeasuredWidth()); in measureContentWidth()
755 return contentWidth; in measureContentWidth()
DActionBarContextView.java307 final int contentWidth = View.MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
313 int availableWidth = contentWidth - getPaddingLeft() - getPaddingRight(); in onMeasure()
370 setMeasuredDimension(contentWidth, measuredHeight); in onMeasure()
372 setMeasuredDimension(contentWidth, maxHeight); in onMeasure()
DActionBarView.java850 int contentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
861 int availableWidth = contentWidth - paddingLeft - paddingRight; in onMeasure()
997 setMeasuredDimension(contentWidth, measuredHeight); in onMeasure()
999 setMeasuredDimension(contentWidth, maxHeight); in onMeasure()
1008 contentWidth - mProgressBarPadding * 2, MeasureSpec.EXACTLY), in onMeasure()
/frameworks/base/core/java/android/widget/
DActivityChooserView.java380 final int contentWidth = Math.min(mAdapter.measureContentWidth(), mListPopupMaxWidth); in showPopupUnchecked() local
381 popupWindow.setContentWidth(contentWidth); in showPopupUnchecked()
781 int contentWidth = 0; in measureContentWidth() local
791 contentWidth = Math.max(contentWidth, itemView.getMeasuredWidth()); in measureContentWidth()
796 return contentWidth; in measureContentWidth()
DSpinner.java1081 int contentWidth = measureContentWidth( in computeContentWidth() local
1085 if (contentWidth > contentWidthLimit) { in computeContentWidth()
1086 contentWidth = contentWidthLimit; in computeContentWidth()
1089 contentWidth, spinnerWidth - spinnerPaddingLeft - spinnerPaddingRight)); in computeContentWidth()
DHorizontalScrollView.java1190 final int contentWidth = getWidth() - mPaddingLeft - mPaddingRight; in computeHorizontalScrollRange() local
1192 return contentWidth; in computeHorizontalScrollRange()
1197 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()