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

12

/frameworks/base/core/java/com/android/internal/widget/
H A DButtonBarLayout.java87 final int measuredWidth = getMeasuredWidthAndState();
88 final int measuredWidthState = measuredWidth & MEASURED_STATE_MASK;
H A DViewPager.java1379 final int measuredWidth = getMeasuredWidth();
1380 final int maxGutterSize = measuredWidth / 10;
1384 int childWidthSize = measuredWidth - getPaddingLeft() - getPaddingRight();
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DControlBar.java76 int measuredWidth = first.getMeasuredWidth() + second.getMeasuredWidth();
77 int marginStart = mChildMarginFromCenter - measuredWidth / 2;
H A DShadowOverlayContainer.java271 int measuredWidth = mWrappedView.getMeasuredWidth();
282 (measuredWidth, MeasureSpec.EXACTLY);
295 setMeasuredDimension(measuredWidth, measuredHeight);
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java1603 * Return the number of chars that were measured, and if measuredWidth is
1611 * @param measuredWidth Optional. If not null, returns the actual width
1617 float maxWidth, float[] measuredWidth) {
1630 mBidiFlags, measuredWidth);
1636 maxWidth * mCompatScaling, mBidiFlags, measuredWidth);
1638 if (measuredWidth != null) measuredWidth[0] *= mInvCompatScaling;
1644 float maxWidth, int bidiFlags, float[] measuredWidth);
1648 * Return the number of chars that were measured, and if measuredWidth is
1657 * @param measuredWidth Optiona
1616 breakText(char[] text, int index, int count, float maxWidth, float[] measuredWidth) argument
1642 native_breakText(long native_object, long native_typeface, char[] text, int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) argument
1662 breakText(CharSequence text, int start, int end, boolean measureForwards, float maxWidth, float[] measuredWidth) argument
1711 breakText(String text, boolean measureForwards, float maxWidth, float[] measuredWidth) argument
1734 native_breakText(long native_object, long native_typeface, String text, boolean measureForwards, float maxWidth, int bidiFlags, float[] measuredWidth) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionMenuPresenter.java464 final int measuredWidth = v.getMeasuredWidth();
465 widthLimit -= measuredWidth;
467 firstActionWidth = measuredWidth;
497 final int measuredWidth = v.getMeasuredWidth();
498 widthLimit -= measuredWidth;
500 firstActionWidth = measuredWidth;
H A DLinearLayoutCompat.java703 final int measuredWidth = child.getMeasuredWidth() + margin;
704 maxWidth = Math.max(maxWidth, measuredWidth);
715 matchWidthLocally ? margin : measuredWidth);
718 matchWidthLocally ? margin : measuredWidth);
822 final int measuredWidth = child.getMeasuredWidth() + margin;
823 maxWidth = Math.max(maxWidth, measuredWidth);
829 matchWidthLocally ? margin : measuredWidth);
H A DActionMenuView.java420 final int measuredWidth = child.getMeasuredWidth();
421 cellsUsed = measuredWidth / cellSize;
422 if (measuredWidth % cellSize != 0) cellsUsed++;
H A DAppCompatSpinner.java413 final int measuredWidth = getMeasuredWidth();
414 setMeasuredDimension(Math.min(Math.max(measuredWidth,
H A DToolbar.java1372 final int measuredWidth = ViewCompat.resolveSizeAndState(
1379 setMeasuredDimension(measuredWidth, shouldCollapse() ? 0 : measuredHeight);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java407 int measuredWidth = resolveSize(Integer.MAX_VALUE, widthMeasureSpec);
408 calculateItemFittingMetadata(measuredWidth);
409 layoutItems(measuredWidth);
418 setMeasuredDimension(measuredWidth,
/frameworks/base/core/java/android/widget/
H A DActionMenuPresenter.java670 final int measuredWidth = v.getMeasuredWidth();
671 widthLimit -= measuredWidth;
673 firstActionWidth = measuredWidth;
700 final int measuredWidth = v.getMeasuredWidth();
701 widthLimit -= measuredWidth;
703 firstActionWidth = measuredWidth;
H A DActionMenuView.java416 final int measuredWidth = child.getMeasuredWidth();
417 cellsUsed = measuredWidth / cellSize;
418 if (measuredWidth % cellSize != 0) cellsUsed++;
H A DLinearLayout.java795 final int measuredWidth = child.getMeasuredWidth() + margin;
796 maxWidth = Math.max(maxWidth, measuredWidth);
806 matchWidthLocally ? margin : measuredWidth);
809 matchWidthLocally ? margin : measuredWidth);
912 final int measuredWidth = child.getMeasuredWidth() + margin;
913 maxWidth = Math.max(maxWidth, measuredWidth);
919 matchWidthLocally ? margin : measuredWidth);
H A 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;
H A DSpinner.java582 final int measuredWidth = getMeasuredWidth();
583 setMeasuredDimension(Math.min(Math.max(measuredWidth,
H A DProgressBar.java1735 final int measuredWidth = resolveSizeAndState(dw, widthMeasureSpec, 0);
1737 setMeasuredDimension(measuredWidth, measuredHeight);
H A DToolbar.java1352 final int measuredWidth = resolveSizeAndState(
1359 setMeasuredDimension(measuredWidth, shouldCollapse() ? 0 : measuredHeight);
/frameworks/support/v4/java/android/support/v4/widget/
H A DSlidingPaneLayout.java576 final int measuredWidth = skippedFirstPass ? 0 : child.getMeasuredWidth();
578 if (lp.width < 0 && (measuredWidth > fixedPanelWidthLimit || lp.weight > 0)) {
628 if (measuredWidth != newWidth) {
636 measuredWidth + addedWidth, MeasureSpec.EXACTLY);
643 final int measuredWidth = widthSize;
646 setMeasuredDimension(measuredWidth, measuredHeight);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java629 int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) {
654 if (measuredWidth != null) {
655 measuredWidth[measureIndex] = res;
672 float maxWidth, int bidiFlags, float[] measuredWidth) {
674 maxWidth, bidiFlags, measuredWidth);
628 native_breakText(long nativePaint, long nativeTypeface, char[] text, int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) argument
670 native_breakText(long nativePaint, long nativeTypeface, String text, boolean measureForwards, float maxWidth, int bidiFlags, float[] measuredWidth) argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderSessionImpl.java328 int measuredWidth = exactMeasure.getFirst();
330 if (neededWidth > measuredWidth) {
331 mMeasuredScreenWidth += neededWidth - measuredWidth;
333 if (mMeasuredScreenWidth < measuredWidth) {
336 mMeasuredScreenWidth = measuredWidth;
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DRadialPickerLayout.java148 int measuredWidth = MeasureSpec.getSize(widthMeasureSpec);
152 int minDimension = Math.min(measuredWidth, measuredHeight);
/frameworks/support/design/src/android/support/design/widget/
H A DTabLayout.java1189 final int measuredWidth = getMeasuredWidth();
1190 if (measuredWidth < mTabMinWidth || measuredWidth > mTabMaxWidth) {
1193 MathUtils.constrain(measuredWidth, mTabMinWidth, mTabMaxWidth),
/frameworks/base/core/java/android/webkit/
H A DWebView.java2182 public void setMeasuredDimension(int measuredWidth, int measuredHeight) { argument
2183 WebView.this.setMeasuredDimension(measuredWidth, measuredHeight);
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java1410 final int measuredWidth = getMeasuredWidth();
1411 final int maxGutterSize = measuredWidth / 10;
1415 int childWidthSize = measuredWidth - getPaddingLeft() - getPaddingRight();

Completed in 926 milliseconds

12