Home
last modified time | relevance | path

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

12

/frameworks/base/graphics/java/android/graphics/
DPaint.java1617 float maxWidth, float[] measuredWidth) { in breakText() argument
1630 mBidiFlags, measuredWidth); in breakText()
1636 maxWidth * mCompatScaling, mBidiFlags, measuredWidth); in breakText()
1638 if (measuredWidth != null) measuredWidth[0] *= mInvCompatScaling; in breakText()
1644 … float maxWidth, int bidiFlags, float[] measuredWidth); in native_breakText() argument
1664 float maxWidth, float[] measuredWidth) { in breakText() argument
1677 measuredWidth); in breakText()
1686 result = breakText(buf, 0, end - start, maxWidth, measuredWidth); in breakText()
1688 result = breakText(buf, 0, -(end - start), maxWidth, measuredWidth); in breakText()
1712 float maxWidth, float[] measuredWidth) { in breakText() argument
[all …]
/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()
DShadowOverlayContainer.java271 int measuredWidth = mWrappedView.getMeasuredWidth(); in onMeasure() local
282 (measuredWidth, MeasureSpec.EXACTLY); in onMeasure()
295 setMeasuredDimension(measuredWidth, measuredHeight); in onMeasure()
/frameworks/base/core/java/com/android/internal/widget/
DButtonBarLayout.java87 final int measuredWidth = getMeasuredWidthAndState(); in onMeasure() local
88 final int measuredWidthState = measuredWidth & MEASURED_STATE_MASK; in onMeasure()
DViewPager.java1379 final int measuredWidth = getMeasuredWidth();
1380 final int maxGutterSize = measuredWidth / 10;
1384 int childWidthSize = measuredWidth - getPaddingLeft() - getPaddingRight();
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionMenuPresenter.java464 final int measuredWidth = v.getMeasuredWidth(); in flagActionItems() local
465 widthLimit -= measuredWidth; in flagActionItems()
467 firstActionWidth = measuredWidth; in flagActionItems()
497 final int measuredWidth = v.getMeasuredWidth(); in flagActionItems() local
498 widthLimit -= measuredWidth; in flagActionItems()
500 firstActionWidth = measuredWidth; in flagActionItems()
DLinearLayoutCompat.java703 final int measuredWidth = child.getMeasuredWidth() + margin; in measureVertical() local
704 maxWidth = Math.max(maxWidth, measuredWidth); in measureVertical()
715 matchWidthLocally ? margin : measuredWidth); in measureVertical()
718 matchWidthLocally ? margin : measuredWidth); in measureVertical()
822 final int measuredWidth = child.getMeasuredWidth() + margin; in measureVertical() local
823 maxWidth = Math.max(maxWidth, measuredWidth); in measureVertical()
829 matchWidthLocally ? margin : measuredWidth); in measureVertical()
DActionMenuView.java420 final int measuredWidth = child.getMeasuredWidth(); in measureChildForCells() local
421 cellsUsed = measuredWidth / cellSize; in measureChildForCells()
422 if (measuredWidth % cellSize != 0) cellsUsed++; in measureChildForCells()
DAppCompatSpinner.java413 final int measuredWidth = getMeasuredWidth(); in onMeasure() local
414 setMeasuredDimension(Math.min(Math.max(measuredWidth, in onMeasure()
DToolbar.java1372 final int measuredWidth = ViewCompat.resolveSizeAndState( in onMeasure() local
1379 setMeasuredDimension(measuredWidth, shouldCollapse() ? 0 : measuredHeight); 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.java670 final int measuredWidth = v.getMeasuredWidth(); in flagActionItems() local
671 widthLimit -= measuredWidth; in flagActionItems()
673 firstActionWidth = measuredWidth; in flagActionItems()
700 final int measuredWidth = v.getMeasuredWidth(); in flagActionItems() local
701 widthLimit -= measuredWidth; in flagActionItems()
703 firstActionWidth = measuredWidth; in flagActionItems()
DLinearLayout.java795 final int measuredWidth = child.getMeasuredWidth() + margin; in measureVertical() local
796 maxWidth = Math.max(maxWidth, measuredWidth); in measureVertical()
806 matchWidthLocally ? margin : measuredWidth); in measureVertical()
809 matchWidthLocally ? margin : measuredWidth); in measureVertical()
912 final int measuredWidth = child.getMeasuredWidth() + margin; in measureVertical() local
913 maxWidth = Math.max(maxWidth, measuredWidth); in measureVertical()
919 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.java582 final int measuredWidth = getMeasuredWidth(); in onMeasure() local
583 setMeasuredDimension(Math.min(Math.max(measuredWidth, in onMeasure()
DProgressBar.java1735 final int measuredWidth = resolveSizeAndState(dw, widthMeasureSpec, 0); in onMeasure() local
1737 setMeasuredDimension(measuredWidth, measuredHeight); in onMeasure()
DToolbar.java1352 final int measuredWidth = resolveSizeAndState( in onMeasure() local
1359 setMeasuredDimension(measuredWidth, shouldCollapse() ? 0 : measuredHeight); in onMeasure()
/frameworks/support/v4/java/android/support/v4/widget/
DSlidingPaneLayout.java576 final int measuredWidth = skippedFirstPass ? 0 : child.getMeasuredWidth(); in onMeasure()
578 if (lp.width < 0 && (measuredWidth > fixedPanelWidthLimit || lp.weight > 0)) { in onMeasure()
628 if (measuredWidth != newWidth) { in onMeasure()
636 measuredWidth + addedWidth, MeasureSpec.EXACTLY); in onMeasure()
643 final int measuredWidth = widthSize; in onMeasure()
646 setMeasuredDimension(measuredWidth, measuredHeight); in onMeasure()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java629 int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) { in native_breakText() argument
654 if (measuredWidth != null) { in native_breakText()
655 measuredWidth[measureIndex] = res; in native_breakText()
672 float maxWidth, int bidiFlags, float[] measuredWidth) { in native_breakText() argument
674 maxWidth, bidiFlags, measuredWidth); in native_breakText()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java328 int measuredWidth = exactMeasure.getFirst(); in render() local
330 if (neededWidth > measuredWidth) { in render()
331 mMeasuredScreenWidth += neededWidth - measuredWidth; in render()
333 if (mMeasuredScreenWidth < measuredWidth) { in render()
336 mMeasuredScreenWidth = measuredWidth; in render()
/frameworks/support/design/src/android/support/design/widget/
DTabLayout.java1189 final int measuredWidth = getMeasuredWidth(); in onMeasure() local
1190 if (measuredWidth < mTabMinWidth || measuredWidth > mTabMaxWidth) { in onMeasure()
1193 MathUtils.constrain(measuredWidth, mTabMinWidth, mTabMaxWidth), in onMeasure()
/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.java2182 public void setMeasuredDimension(int measuredWidth, int measuredHeight) { in setMeasuredDimension() argument
2183 WebView.this.setMeasuredDimension(measuredWidth, measuredHeight); in setMeasuredDimension()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java1410 final int measuredWidth = getMeasuredWidth();
1411 final int maxGutterSize = measuredWidth / 10;
1415 int childWidthSize = measuredWidth - getPaddingLeft() - getPaddingRight();

12