Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ongoingcall/
H A DOngoingCallChronometerTest.kt75 assertThat(textView.measuredWidth).isGreaterThan(0)
80 val initialTextLength = textView.measuredWidth
90 val xlWidth = textView.measuredWidth
94 assertThat(textView.measuredWidth).isEqualTo(xlWidth)
101 assertThat(textView.measuredWidth).isEqualTo(0)
110 assertThat(textView.measuredWidth).isEqualTo(0)
116 val xlWidth = textView.measuredWidth
122 assertThat(textView.measuredWidth).isGreaterThan(0)
132 assertThat(textView.measuredWidth).isGreaterThan(0)
140 assertThat(textView.measuredWidth).isEqualTo(0)
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DClockTest.kt57 val width1 = clockView.measuredWidth
62 val width2 = clockView.measuredWidth
73 val width1 = clockView.measuredWidth
78 val width2 = clockView.measuredWidth
89 val width1 = clockView.measuredWidth
94 val width2 = clockView.measuredWidth
105 val width1 = clockView.measuredWidth
110 val width2 = clockView.measuredWidth
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
H A DMediaHostStatesManager.kt83 if (it.measuredWidth > result.measuredWidth) {
84 result.measuredWidth = it.measuredWidth
H A DMediaViewController.kt511 measurement.measuredWidth = viewState.measureWidth
622 result.measureHeight != it.measuredHeight || result.measureWidth != it.measuredWidth
625 result.measureWidth = Math.max(it.measuredWidth, result.measureWidth)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
H A DIgnorableChildLinearLayout.kt65 setMeasuredDimension(measuredWidth, measuredHeight - height)
67 val width = lastView.measuredWidth + lp.leftMargin + lp.rightMargin
68 setMeasuredDimension(measuredWidth - width, measuredHeight)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/
H A DUniqueObjectHostView.kt76 if (child.measuredWidth == 0 || measuredWidth == 0 || child.requiresRemeasuring == true) {
92 left + measuredWidth - paddingHorizontal,
H A DTransitionLayout.kt150 if (child.measuredWidth != widgetState.measureWidth ||
157 child.layout(0, 0, child.measuredWidth, child.measuredHeight)
219 child.layout(0, 0, child.measuredWidth, child.measuredHeight)
259 val previousWidth = measuredWidth
266 layout(layoutLeft, layoutTop, layoutLeft + measuredWidth, layoutTop + measuredHeight)
370 width = transitionLayout.measuredWidth
H A DMeasurementInput.kt25 var measuredWidth: Int,
/aosp14/frameworks/base/core/java/android/app/
H A 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()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DMessagingLinearLayout.java80 int measuredWidth = mPaddingLeft + mPaddingRight; in onMeasure() local
153 measuredWidth = Math.max(measuredWidth, in onMeasure()
177 resolveSize(Math.max(getSuggestedMinimumWidth(), measuredWidth), in onMeasure() local
H A DButtonBarLayout.java94 final int measuredWidth = getMeasuredWidthAndState(); in onMeasure() local
95 final int measuredWidthState = measuredWidth & MEASURED_STATE_MASK; in onMeasure()
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DPaint.java2473 float maxWidth, float[] measuredWidth) { in breakText() argument
2486 measuredWidth); in breakText()
2492 mBidiFlags, measuredWidth); in breakText()
2494 if (measuredWidth != null) measuredWidth[0] *= mInvCompatScaling; in breakText()
2516 float maxWidth, float[] measuredWidth) { in breakText() argument
2529 measuredWidth); in breakText()
2574 maxWidth, mBidiFlags, measuredWidth); in breakText()
2580 mBidiFlags, measuredWidth); in breakText()
2582 if (measuredWidth != null) measuredWidth[0] *= mInvCompatScaling; in breakText()
3357 float maxWidth, int bidiFlags, float[] measuredWidth); in nBreakText() argument
[all …]
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
H A DButtonBarLayout.java92 final int measuredWidth = getMeasuredWidthAndState(); in onMeasure() local
93 final int measuredWidthState = measuredWidth & MEASURED_STATE_MASK; in onMeasure()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/log/
H A DScreenDecorationsLogger.kt101 measuredWidth: Int,
110 int1 = measuredWidth
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ongoingcall/
H A DOngoingCallBackgroundContainer.kt45 setMeasuredDimension(measuredWidth, chosenHeight)
H A DOngoingCallChronometer.kt81 val desiredTextWidth = measuredWidth
/aosp14/frameworks/base/packages/SettingsLib/Spa/screenshot/src/com/android/settingslib/spa/screenshot/util/
H A DBitmap.kt32 measuredWidth,
/aosp14/frameworks/base/core/java/com/android/internal/view/menu/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
H A DNoRemeasureMotionLayout.kt47 setMeasuredDimension(measuredWidth, measuredHeight)
H A DNeverExactlyLinearLayout.kt39 val newWidth = if (widthExactly) width else measuredWidth
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DFaceScanningOverlay.kt200 val measuredWidth = resolveSizeAndState(mTotalBounds.width(), widthMeasureSpec, 0) regex
207 measuredWidth,
209 setMeasuredDimension(measuredWidth, measuredHeight)
/aosp14/frameworks/base/core/java/android/widget/
H A DActionMenuPresenter.java696 final int measuredWidth = v.getMeasuredWidth(); in flagActionItems() local
697 widthLimit -= measuredWidth; in flagActionItems()
699 firstActionWidth = measuredWidth; in flagActionItems()
726 final int measuredWidth = v.getMeasuredWidth(); in flagActionItems() local
727 widthLimit -= measuredWidth; in flagActionItems()
729 firstActionWidth = measuredWidth; in flagActionItems()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
H A DQSPanelTest.kt127 qsPanel.layout(0, 0, qsPanel.measuredWidth, qsPanel.measuredHeight)
157 qsPanel.layout(0, 0, qsPanel.measuredWidth, qsPanel.measuredHeight)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DClock.java335 int measuredWidth = getMeasuredWidth(); in onMeasure() local
336 if (mCachedWidth > measuredWidth) { in onMeasure()
339 mCachedWidth = measuredWidth; in onMeasure()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/
H A DKeyguardPreviewRenderer.kt207 rootView.layout(0, 0, rootView.measuredWidth, rootView.measuredHeight)
211 (width / rootView.measuredWidth.toFloat()).coerceAtMost(
226 host.setView(rootView, rootView.measuredWidth, rootView.measuredHeight)

12