/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingLinearLayout.java | 148 int measuredWidth = mPaddingLeft + mPaddingRight; in onMeasure() local 173 measuredWidth = Math.max(measuredWidth, in onMeasure() 180 resolveSize(Math.max(getSuggestedMinimumWidth(), measuredWidth), in onMeasure() local
|
D | ButtonBarLayout.java | 99 final int measuredWidth = getMeasuredWidthAndState(); in onMeasure() local 100 final int measuredWidthState = measuredWidth & MEASURED_STATE_MASK; in onMeasure()
|
D | ViewPager.java | 1395 final int measuredWidth = getMeasuredWidth(); 1396 final int maxGutterSize = measuredWidth / 10; 1400 int childWidthSize = measuredWidth - getPaddingLeft() - getPaddingRight();
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 1820 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/ |
D | MediaRouteButton.java | 339 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/ |
D | ControlBar.java | 76 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/ |
D | MediaRouteButton.java | 440 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/ |
D | ButtonBarLayout.java | 93 final int measuredWidth = ViewCompat.getMeasuredWidthAndState(this); in onMeasure() local 94 final int measuredWidthState = measuredWidth & ViewCompat.MEASURED_STATE_MASK; in onMeasure()
|
D | ActionMenuPresenter.java | 489 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()
|
D | LinearLayoutCompat.java | 701 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()
|
D | ActionMenuView.java | 419 final int measuredWidth = child.getMeasuredWidth(); in measureChildForCells() local 420 cellsUsed = measuredWidth / cellSize; in measureChildForCells() 421 if (measuredWidth % cellSize != 0) cellsUsed++; in measureChildForCells()
|
D | AppCompatSpinner.java | 422 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/ |
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 | 691 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()
|
D | LinearLayout.java | 808 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()
|
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 | 594 final int measuredWidth = getMeasuredWidth(); in onMeasure() local 595 setMeasuredDimension(Math.min(Math.max(measuredWidth, in onMeasure()
|
D | ProgressBar.java | 1812 final int measuredWidth = resolveSizeAndState(dw, widthMeasureSpec, 0); in onMeasure() local 1814 setMeasuredDimension(measuredWidth, measuredHeight); in onMeasure()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | SlidingPaneLayout.java | 579 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/ |
D | Paint_Delegate.java | 625 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/ |
D | RenderSessionImpl.java | 261 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/ |
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 | 2230 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/ |
D | ViewPager.java | 1545 final int measuredWidth = getMeasuredWidth(); 1546 final int maxGutterSize = measuredWidth / 10; 1550 int childWidthSize = measuredWidth - getPaddingLeft() - getPaddingRight();
|