Searched refs:contentWidth (Results 1 – 11 of 11) 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 | 314 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()
|
D | ActionBarView.java | 914 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/ |
D | ActivityChooserView.java | 390 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()
|
D | ActionBarContextView.java | 254 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()
|
D | AppCompatSpinner.java | 771 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/ |
D | ActivityChooserView.java | 400 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()
|
D | Spinner.java | 1225 int contentWidth = measureContentWidth( in computeContentWidth() local 1229 if (contentWidth > contentWidthLimit) { in computeContentWidth() 1230 contentWidth = contentWidthLimit; in computeContentWidth() 1233 contentWidth, spinnerWidth - spinnerPaddingLeft - spinnerPaddingRight)); in computeContentWidth()
|
D | HorizontalScrollView.java | 1236 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/ |
D | PageIndicatorView.java | 576 int contentWidth = mNumberOfPositions * mDotSpacing; in onMeasure() local 577 totalWidth = contentWidth + getPaddingLeft() + getPaddingRight(); in onMeasure()
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
D | PagerTitleStrip.java | 349 final int contentWidth = stripWidth - textPaddedLeft - textPaddedRight; in updateTextPositions() local 355 final int currCenter = stripWidth - textPaddedRight - (int) (contentWidth * currOffset); in updateTextPositions()
|