Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSHeaderInfoLayout.kt69 location.setLocationFromOffset(pWidth, offset, this.measuredWidth, RTL) in layoutView()
71 return this.measuredWidth in layoutView()
84 val alarmWidth = alarmContainer.measuredWidth in onMeasure()
85 val separatorWidth = statusSeparator.measuredWidth in onMeasure()
86 val ringerWidth = ringerContainer.measuredWidth in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationUndoLayout.java78 int measuredWidth = getMeasuredWidth(); in onMeasure() local
88 if (requiredWidth > measuredWidth) { in onMeasure()
99 setMeasuredDimension(measuredWidth, updatedHeight); in onMeasure()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingLinearLayout.java80 int measuredWidth = mPaddingLeft + mPaddingRight; in onMeasure() local
126 measuredWidth = Math.max(measuredWidth, in onMeasure()
140 resolveSize(Math.max(getSuggestedMinimumWidth(), measuredWidth), in onMeasure() local
DButtonBarLayout.java94 final int measuredWidth = getMeasuredWidthAndState(); in onMeasure() local
95 final int measuredWidthState = measuredWidth & MEASURED_STATE_MASK; in onMeasure()
DViewPager.java1376 final int measuredWidth = getMeasuredWidth();
1377 final int maxGutterSize = measuredWidth / 10;
1381 int childWidthSize = measuredWidth - getPaddingLeft() - getPaddingRight();
/frameworks/base/core/java/android/app/
DMediaRouteButton.java290 int measuredWidth; in onMeasure() local
293 measuredWidth = widthSize; in onMeasure()
296 measuredWidth = Math.min(widthSize, width); in onMeasure()
300 measuredWidth = width; in onMeasure()
318 setMeasuredDimension(measuredWidth, measuredHeight); in onMeasure()
/frameworks/base/graphics/java/android/graphics/
DPaint.java2288 float maxWidth, float[] measuredWidth) { in breakText() argument
2301 measuredWidth); in breakText()
2307 mBidiFlags, measuredWidth); in breakText()
2309 if (measuredWidth != null) measuredWidth[0] *= mInvCompatScaling; in breakText()
2331 float maxWidth, float[] measuredWidth) { in breakText() argument
2344 measuredWidth); in breakText()
2353 result = breakText(buf, 0, end - start, maxWidth, measuredWidth); in breakText()
2355 result = breakText(buf, 0, -(end - start), maxWidth, measuredWidth); in breakText()
2379 float maxWidth, float[] measuredWidth) { in breakText() argument
2389 maxWidth, mBidiFlags, measuredWidth); in breakText()
[all …]
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuView.java412 int measuredWidth = resolveSize(Integer.MAX_VALUE, widthMeasureSpec); in onMeasure() local
413 calculateItemFittingMetadata(measuredWidth); in onMeasure()
414 layoutItems(measuredWidth); in onMeasure()
423 setMeasuredDimension(measuredWidth, in onMeasure()
/frameworks/base/core/java/android/widget/
DActionMenuPresenter.java695 final int measuredWidth = v.getMeasuredWidth(); in flagActionItems() local
696 widthLimit -= measuredWidth; in flagActionItems()
698 firstActionWidth = measuredWidth; in flagActionItems()
725 final int measuredWidth = v.getMeasuredWidth(); in flagActionItems() local
726 widthLimit -= measuredWidth; in flagActionItems()
728 firstActionWidth = measuredWidth; in flagActionItems()
DLinearLayout.java892 final int measuredWidth = child.getMeasuredWidth() + margin; in measureVertical() local
893 maxWidth = Math.max(maxWidth, measuredWidth); in measureVertical()
903 matchWidthLocally ? margin : measuredWidth); in measureVertical()
906 matchWidthLocally ? margin : measuredWidth); in measureVertical()
1003 final int measuredWidth = child.getMeasuredWidth() + margin; in measureVertical() local
1004 maxWidth = Math.max(maxWidth, measuredWidth); in measureVertical()
1010 matchWidthLocally ? margin : measuredWidth); in measureVertical()
DActionMenuView.java418 final int measuredWidth = child.getMeasuredWidth(); in measureChildForCells() local
419 cellsUsed = measuredWidth / cellSize; in measureChildForCells()
420 if (measuredWidth % cellSize != 0) cellsUsed++; in measureChildForCells()
DStackView.java1139 final int measuredWidth = getMeasuredWidth();
1142 final int childWidth = Math.round(measuredWidth*(1-PERSPECTIVE_SHIFT_FACTOR_X))
1167 mNewPerspectiveShiftX = PERSPECTIVE_SHIFT_FACTOR_X * measuredWidth;
1172 mNewPerspectiveShiftX = measuredWidth - maxWidth;
DSpinner.java616 final int measuredWidth = getMeasuredWidth(); in onMeasure() local
617 setMeasuredDimension(Math.min(Math.max(measuredWidth, in onMeasure()
DProgressBar.java2121 final int measuredWidth = resolveSizeAndState(dw, widthMeasureSpec, 0); in onMeasure() local
2123 setMeasuredDimension(measuredWidth, measuredHeight); in onMeasure()
DToolbar.java1809 final int measuredWidth = resolveSizeAndState( in onMeasure() local
1816 setMeasuredDimension(measuredWidth, shouldCollapse() ? 0 : measuredHeight); in onMeasure()
DGridLayout.java1100 int measuredWidth = Math.max(widthSansPadding + hPadding, getSuggestedMinimumWidth()); in onMeasure() local
1104 resolveSizeAndState(measuredWidth, widthSpec, 0), in onMeasure()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java250 int measuredWidth = exactMeasure.getFirst(); in measureLayout() local
252 if (neededWidth > measuredWidth) { in measureLayout()
253 mMeasuredScreenWidth += neededWidth - measuredWidth; in measureLayout()
255 if (mMeasuredScreenWidth < measuredWidth) { in measureLayout()
258 mMeasuredScreenWidth = measuredWidth; in measureLayout()
/frameworks/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java640 int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) { in nBreakText() argument
665 if (measuredWidth != null) { in nBreakText()
666 measuredWidth[measureIndex] = res; in nBreakText()
682 float maxWidth, int bidiFlags, float[] measuredWidth) { in nBreakText() argument
684 maxWidth, bidiFlags, measuredWidth); in nBreakText()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialPickerLayout.java150 int measuredWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
154 int minDimension = Math.min(measuredWidth, measuredHeight); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java558 SmartSuggestionMeasures(int measuredWidth, int maxChildHeight, in SmartSuggestionMeasures() argument
560 this.mMeasuredWidth = measuredWidth; in SmartSuggestionMeasures()
/frameworks/base/core/java/android/webkit/
DWebView.java2453 public void setMeasuredDimension(int measuredWidth, int measuredHeight) { in setMeasuredDimension() argument
2454 WebView.this.setMeasuredDimension(measuredWidth, measuredHeight); in setMeasuredDimension()
/frameworks/base/core/java/android/view/
DView.java24636 protected final void setMeasuredDimension(int measuredWidth, int measuredHeight) { in setMeasuredDimension() argument
24643 measuredWidth += optical ? opticalWidth : -opticalWidth; in setMeasuredDimension()
24646 setMeasuredDimensionRaw(measuredWidth, measuredHeight); in setMeasuredDimension()
24661 private void setMeasuredDimensionRaw(int measuredWidth, int measuredHeight) { in setMeasuredDimensionRaw() argument
24662 mMeasuredWidth = measuredWidth; in setMeasuredDimensionRaw()