Searched refs:contentWidth (Results 1 – 10 of 10) 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 | 349 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()
|
D | ActionBarView.java | 921 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/ |
D | ActivityChooserView.java | 375 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()
|
D | ActionBarContextView.java | 342 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()
|
D | SpinnerCompat.java | 1031 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/ |
D | ActivityChooserView.java | 397 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()
|
D | Spinner.java | 1109 int contentWidth = measureContentWidth( in computeContentWidth() local 1113 if (contentWidth > contentWidthLimit) { in computeContentWidth() 1114 contentWidth = contentWidthLimit; in computeContentWidth() 1117 contentWidth, spinnerWidth - spinnerPaddingLeft - spinnerPaddingRight)); in computeContentWidth()
|
D | HorizontalScrollView.java | 1198 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/ |
D | PagerTitleStrip.java | 354 final int contentWidth = stripWidth - textPaddedLeft - textPaddedRight; in updateTextPositions() local 360 final int currCenter = stripWidth - textPaddedRight - (int) (contentWidth * currOffset); in updateTextPositions()
|