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.java917 int contentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
929 int availableWidth = contentWidth - paddingLeft - paddingRight; in onMeasure()
1076 setMeasuredDimension(contentWidth, measuredHeight); in onMeasure()
1078 setMeasuredDimension(contentWidth, maxHeight); in onMeasure()
1087 contentWidth - mProgressBarPadding * 2, MeasureSpec.EXACTLY), in onMeasure()
/frameworks/base/core/java/android/webkit/
DViewStateSerializer.java57 int contentWidth = dis.readInt(); in deserializeViewState() local
64 draw.mContentSize = new Point(contentWidth, contentHeight); in deserializeViewState()
DWebViewCore.java3004 int contentWidth, int contentHeight, float xPercentInDoc, in showRect() argument
3012 data.mContentWidth = contentWidth; in showRect()
DWebViewClassic.java7069 int contentWidth = contentToViewDimension(mContentWidth); in onMeasure() local
7094 measuredWidth = contentWidth; in onMeasure()
7096 if (measuredWidth < contentWidth) { in onMeasure()
/frameworks/base/core/java/android/widget/
DActivityChooserView.java346 final int contentWidth = Math.min(mAdapter.measureContentWidth(), mListPopupMaxWidth); in showPopupUnchecked() local
347 popupWindow.setContentWidth(contentWidth); in showPopupUnchecked()
734 int contentWidth = 0; in measureContentWidth() local
744 contentWidth = Math.max(contentWidth, itemView.getMeasuredWidth()); in measureContentWidth()
749 return contentWidth; in measureContentWidth()
DSpinner.java959 int contentWidth = measureContentWidth( in show() local
963 if (contentWidth > contentWidthLimit) { in show()
964 contentWidth = contentWidthLimit; in show()
967 contentWidth, spinnerWidth - spinnerPaddingLeft - spinnerPaddingRight)); in show()
DHorizontalScrollView.java1181 final int contentWidth = getWidth() - mPaddingLeft - mPaddingRight; in computeHorizontalScrollRange() local
1183 return contentWidth; in computeHorizontalScrollRange()
1188 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()