Searched refs:contentWidth (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/core/java/com/android/internal/widget/ |
D | TextProgressBar.java | 151 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()
|
D | ActionBarContextView.java | 336 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()
|
D | ActionBarView.java | 935 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/ |
D | ActivityChooserView.java | 352 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()
|
D | ActionBarContextView.java | 307 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()
|
D | ActionBarView.java | 850 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/ |
D | ActivityChooserView.java | 380 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()
|
D | Spinner.java | 1081 int contentWidth = measureContentWidth( in computeContentWidth() local 1085 if (contentWidth > contentWidthLimit) { in computeContentWidth() 1086 contentWidth = contentWidthLimit; in computeContentWidth() 1089 contentWidth, spinnerWidth - spinnerPaddingLeft - spinnerPaddingRight)); in computeContentWidth()
|
D | HorizontalScrollView.java | 1190 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/ |
D | PagerTitleStrip.java | 354 final int contentWidth = stripWidth - textPaddedLeft - textPaddedRight; in updateTextPositions() local 360 final int currCenter = stripWidth - textPaddedRight - (int) (contentWidth * currOffset); in updateTextPositions()
|