Home
last modified time | relevance | path

Searched refs:measuredWidth (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/widget/
DMessagingLinearLayout.java148 int measuredWidth = mPaddingLeft + mPaddingRight; in onMeasure() local
173 measuredWidth = Math.max(measuredWidth, in onMeasure()
180 resolveSize(Math.max(getSuggestedMinimumWidth(), measuredWidth), in onMeasure() local
DButtonBarLayout.java99 final int measuredWidth = getMeasuredWidthAndState(); in onMeasure() local
100 final int measuredWidthState = measuredWidth & MEASURED_STATE_MASK; in onMeasure()
DViewPager.java1395 final int measuredWidth = getMeasuredWidth();
1396 final int maxGutterSize = measuredWidth / 10;
1400 int childWidthSize = measuredWidth - getPaddingLeft() - getPaddingRight();
/frameworks/base/graphics/java/android/graphics/
DPaint.java1820 float maxWidth, float[] measuredWidth) { in breakText() argument
1833 mBidiFlags, measuredWidth); in breakText()
1839 maxWidth * mCompatScaling, mBidiFlags, measuredWidth); in breakText()
1841 if (measuredWidth != null) measuredWidth[0] *= mInvCompatScaling; in breakText()
1847 … float maxWidth, int bidiFlags, float[] measuredWidth); in nBreakText() argument
1867 float maxWidth, float[] measuredWidth) { in breakText() argument
1880 measuredWidth); in breakText()
1889 result = breakText(buf, 0, end - start, maxWidth, measuredWidth); in breakText()
1891 result = breakText(buf, 0, -(end - start), maxWidth, measuredWidth); in breakText()
1915 float maxWidth, float[] measuredWidth) { in breakText() argument
[all …]
/frameworks/base/core/java/android/app/
DMediaRouteButton.java339 int measuredWidth; in onMeasure() local
342 measuredWidth = widthSize; in onMeasure()
345 measuredWidth = Math.min(widthSize, width); in onMeasure()
349 measuredWidth = width; in onMeasure()
367 setMeasuredDimension(measuredWidth, measuredHeight); in onMeasure()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DControlBar.java76 int measuredWidth = first.getMeasuredWidth() + second.getMeasuredWidth(); in onMeasure() local
77 int marginStart = mChildMarginFromCenter - measuredWidth / 2; in onMeasure()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteButton.java440 int measuredWidth; in onMeasure() local
443 measuredWidth = widthSize; in onMeasure()
446 measuredWidth = Math.min(widthSize, width); in onMeasure()
450 measuredWidth = width; in onMeasure()
468 setMeasuredDimension(measuredWidth, measuredHeight); in onMeasure()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DButtonBarLayout.java93 final int measuredWidth = ViewCompat.getMeasuredWidthAndState(this); in onMeasure() local
94 final int measuredWidthState = measuredWidth & ViewCompat.MEASURED_STATE_MASK; in onMeasure()
DActionMenuPresenter.java489 final int measuredWidth = v.getMeasuredWidth(); in flagActionItems() local
490 widthLimit -= measuredWidth; in flagActionItems()
492 firstActionWidth = measuredWidth; in flagActionItems()
522 final int measuredWidth = v.getMeasuredWidth(); in flagActionItems() local
523 widthLimit -= measuredWidth; in flagActionItems()
525 firstActionWidth = measuredWidth; in flagActionItems()
DLinearLayoutCompat.java701 final int measuredWidth = child.getMeasuredWidth() + margin; in measureVertical() local
702 maxWidth = Math.max(maxWidth, measuredWidth); in measureVertical()
713 matchWidthLocally ? margin : measuredWidth); in measureVertical()
716 matchWidthLocally ? margin : measuredWidth); in measureVertical()
820 final int measuredWidth = child.getMeasuredWidth() + margin; in measureVertical() local
821 maxWidth = Math.max(maxWidth, measuredWidth); in measureVertical()
827 matchWidthLocally ? margin : measuredWidth); in measureVertical()
DActionMenuView.java419 final int measuredWidth = child.getMeasuredWidth(); in measureChildForCells() local
420 cellsUsed = measuredWidth / cellSize; in measureChildForCells()
421 if (measuredWidth % cellSize != 0) cellsUsed++; in measureChildForCells()
DAppCompatSpinner.java422 final int measuredWidth = getMeasuredWidth(); in onMeasure() local
423 setMeasuredDimension(Math.min(Math.max(measuredWidth, in onMeasure()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuView.java407 int measuredWidth = resolveSize(Integer.MAX_VALUE, widthMeasureSpec); in onMeasure() local
408 calculateItemFittingMetadata(measuredWidth); in onMeasure()
409 layoutItems(measuredWidth); in onMeasure()
418 setMeasuredDimension(measuredWidth, in onMeasure()
/frameworks/base/core/java/android/widget/
DActionMenuPresenter.java691 final int measuredWidth = v.getMeasuredWidth(); in flagActionItems() local
692 widthLimit -= measuredWidth; in flagActionItems()
694 firstActionWidth = measuredWidth; in flagActionItems()
721 final int measuredWidth = v.getMeasuredWidth(); in flagActionItems() local
722 widthLimit -= measuredWidth; in flagActionItems()
724 firstActionWidth = measuredWidth; in flagActionItems()
DLinearLayout.java808 final int measuredWidth = child.getMeasuredWidth() + margin; in measureVertical() local
809 maxWidth = Math.max(maxWidth, measuredWidth); in measureVertical()
819 matchWidthLocally ? margin : measuredWidth); in measureVertical()
822 matchWidthLocally ? margin : measuredWidth); in measureVertical()
919 final int measuredWidth = child.getMeasuredWidth() + margin; in measureVertical() local
920 maxWidth = Math.max(maxWidth, measuredWidth); in measureVertical()
926 matchWidthLocally ? margin : measuredWidth); in measureVertical()
DActionMenuView.java416 final int measuredWidth = child.getMeasuredWidth(); in measureChildForCells() local
417 cellsUsed = measuredWidth / cellSize; in measureChildForCells()
418 if (measuredWidth % cellSize != 0) cellsUsed++; in measureChildForCells()
DStackView.java1133 final int measuredWidth = getMeasuredWidth();
1136 final int childWidth = Math.round(measuredWidth*(1-PERSPECTIVE_SHIFT_FACTOR_X))
1161 mNewPerspectiveShiftX = PERSPECTIVE_SHIFT_FACTOR_X * measuredWidth;
1166 mNewPerspectiveShiftX = measuredWidth - maxWidth;
DSpinner.java594 final int measuredWidth = getMeasuredWidth(); in onMeasure() local
595 setMeasuredDimension(Math.min(Math.max(measuredWidth, in onMeasure()
DProgressBar.java1812 final int measuredWidth = resolveSizeAndState(dw, widthMeasureSpec, 0); in onMeasure() local
1814 setMeasuredDimension(measuredWidth, measuredHeight); in onMeasure()
/frameworks/support/v4/java/android/support/v4/widget/
DSlidingPaneLayout.java579 final int measuredWidth = skippedFirstPass ? 0 : child.getMeasuredWidth(); in onMeasure()
581 if (lp.width < 0 && (measuredWidth > fixedPanelWidthLimit || lp.weight > 0)) { in onMeasure()
631 if (measuredWidth != newWidth) { in onMeasure()
639 measuredWidth + addedWidth, MeasureSpec.EXACTLY); in onMeasure()
646 final int measuredWidth = widthSize; in onMeasure()
649 setMeasuredDimension(measuredWidth, measuredHeight); in onMeasure()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java625 int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) { in nBreakText() argument
650 if (measuredWidth != null) { in nBreakText()
651 measuredWidth[measureIndex] = res; in nBreakText()
668 float maxWidth, int bidiFlags, float[] measuredWidth) { in nBreakText() argument
670 maxWidth, bidiFlags, measuredWidth); in nBreakText()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java261 int measuredWidth = exactMeasure.getFirst(); in measure() local
263 if (neededWidth > measuredWidth) { in measure()
264 mMeasuredScreenWidth += neededWidth - measuredWidth; in measure()
266 if (mMeasuredScreenWidth < measuredWidth) { in measure()
269 mMeasuredScreenWidth = measuredWidth; in measure()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialPickerLayout.java148 int measuredWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
152 int minDimension = Math.min(measuredWidth, measuredHeight); in onMeasure()
/frameworks/base/core/java/android/webkit/
DWebView.java2230 public void setMeasuredDimension(int measuredWidth, int measuredHeight) { in setMeasuredDimension() argument
2231 WebView.this.setMeasuredDimension(measuredWidth, measuredHeight); in setMeasuredDimension()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java1545 final int measuredWidth = getMeasuredWidth();
1546 final int maxGutterSize = measuredWidth / 10;
1550 int childWidthSize = measuredWidth - getPaddingLeft() - getPaddingRight();

12