/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 1617 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/ |
D | ControlBar.java | 76 int measuredWidth = first.getMeasuredWidth() + second.getMeasuredWidth(); in onMeasure() local 77 int marginStart = mChildMarginFromCenter - measuredWidth / 2; in onMeasure()
|
D | ShadowOverlayContainer.java | 271 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/ |
D | ButtonBarLayout.java | 87 final int measuredWidth = getMeasuredWidthAndState(); in onMeasure() local 88 final int measuredWidthState = measuredWidth & MEASURED_STATE_MASK; in onMeasure()
|
D | ViewPager.java | 1379 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/ |
D | ActionMenuPresenter.java | 464 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()
|
D | LinearLayoutCompat.java | 703 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()
|
D | ActionMenuView.java | 420 final int measuredWidth = child.getMeasuredWidth(); in measureChildForCells() local 421 cellsUsed = measuredWidth / cellSize; in measureChildForCells() 422 if (measuredWidth % cellSize != 0) cellsUsed++; in measureChildForCells()
|
D | AppCompatSpinner.java | 413 final int measuredWidth = getMeasuredWidth(); in onMeasure() local 414 setMeasuredDimension(Math.min(Math.max(measuredWidth, in onMeasure()
|
D | Toolbar.java | 1372 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/ |
D | IconMenuView.java | 407 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/ |
D | ActionMenuPresenter.java | 670 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()
|
D | LinearLayout.java | 795 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()
|
D | ActionMenuView.java | 416 final int measuredWidth = child.getMeasuredWidth(); in measureChildForCells() local 417 cellsUsed = measuredWidth / cellSize; in measureChildForCells() 418 if (measuredWidth % cellSize != 0) cellsUsed++; in measureChildForCells()
|
D | StackView.java | 1133 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;
|
D | Spinner.java | 582 final int measuredWidth = getMeasuredWidth(); in onMeasure() local 583 setMeasuredDimension(Math.min(Math.max(measuredWidth, in onMeasure()
|
D | ProgressBar.java | 1735 final int measuredWidth = resolveSizeAndState(dw, widthMeasureSpec, 0); in onMeasure() local 1737 setMeasuredDimension(measuredWidth, measuredHeight); in onMeasure()
|
D | Toolbar.java | 1352 final int measuredWidth = resolveSizeAndState( in onMeasure() local 1359 setMeasuredDimension(measuredWidth, shouldCollapse() ? 0 : measuredHeight); in onMeasure()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | SlidingPaneLayout.java | 576 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/ |
D | Paint_Delegate.java | 629 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/ |
D | RenderSessionImpl.java | 328 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/ |
D | TabLayout.java | 1189 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/ |
D | RadialPickerLayout.java | 148 int measuredWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 152 int minDimension = Math.min(measuredWidth, measuredHeight); in onMeasure()
|
/frameworks/base/core/java/android/webkit/ |
D | WebView.java | 2182 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/ |
D | ViewPager.java | 1410 final int measuredWidth = getMeasuredWidth(); 1411 final int maxGutterSize = measuredWidth / 10; 1415 int childWidthSize = measuredWidth - getPaddingLeft() - getPaddingRight();
|