/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/ui/view/ |
D | ChipChronometerTest.kt | 76 assertThat(textView.measuredWidth).isGreaterThan(0) in onMeasure_initialTextFitsInSpace_textDisplayed() 81 val initialTextLength = textView.measuredWidth in onMeasure_newTextLargerThanPreviousText_widthGetsLarger() 85 assertThat(textView.measuredWidth).isGreaterThan(initialTextLength) in onMeasure_newTextLargerThanPreviousText_widthGetsLarger() 91 val xlWidth = textView.measuredWidth in onMeasure_newTextSmallerThanPreviousText_widthDoesNotGetSmaller() 95 assertThat(textView.measuredWidth).isEqualTo(xlWidth) in onMeasure_newTextSmallerThanPreviousText_widthDoesNotGetSmaller() 102 assertThat(textView.measuredWidth).isEqualTo(0) in onMeasure_textDoesNotFit_textHidden() 111 assertThat(textView.measuredWidth).isEqualTo(0) in onMeasure_newTextFitsButPreviousTextDidNot_textHidden() 117 val xlWidth = textView.measuredWidth in resetBase_hadLongerTextThenSetBaseThenShorterText_widthIsShort() 122 assertThat(textView.measuredWidth).isLessThan(xlWidth) in resetBase_hadLongerTextThenSetBaseThenShorterText_widthIsShort() 123 assertThat(textView.measuredWidth).isGreaterThan(0) in resetBase_hadLongerTextThenSetBaseThenShorterText_widthIsShort() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | ClockTest.kt | 57 val width1 = clockView.measuredWidth in testWidthDoesNotDecrease_sameCharLength() 62 val width2 = clockView.measuredWidth in testWidthDoesNotDecrease_sameCharLength() 73 val width1 = clockView.measuredWidth in testWidthDoesNotDecrease_narrowerFont_sameNumberOfChars() 78 val width2 = clockView.measuredWidth in testWidthDoesNotDecrease_narrowerFont_sameNumberOfChars() 89 val width1 = clockView.measuredWidth in testWidthIncreases_whenCharsChanges() 94 val width2 = clockView.measuredWidth in testWidthIncreases_whenCharsChanges() 105 val width1 = clockView.measuredWidth in testWidthDecreases_whenCharsChange_longToShort() 110 val width2 = clockView.measuredWidth in testWidthDecreases_whenCharsChange_longToShort()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaHostStatesManager.kt | 84 if (it.measuredWidth > result.measuredWidth) { in updateCarouselDimensions() 85 result.measuredWidth = it.measuredWidth in updateCarouselDimensions()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | IgnorableChildLinearLayout.kt | 65 setMeasuredDimension(measuredWidth, measuredHeight - height) in onMeasure() 67 val width = lastView.measuredWidth + lp.leftMargin + lp.rightMargin in onMeasure() 68 setMeasuredDimension(measuredWidth - width, measuredHeight) in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/ |
D | UniqueObjectHostView.kt | 76 if (child.measuredWidth == 0 || measuredWidth == 0 || child.requiresRemeasuring == true) { in addView() 92 left + measuredWidth - paddingHorizontal, in addView()
|
D | TransitionLayout.kt | 150 if (child.measuredWidth != widgetState.measureWidth || in applyCurrentState() 157 child.layout(0, 0, child.measuredWidth, child.measuredHeight) in applyCurrentState() 219 child.layout(0, 0, child.measuredWidth, child.measuredHeight) in onLayout() 259 val previousWidth = measuredWidth in calculateViewState() 266 layout(layoutLeft, layoutTop, layoutLeft + measuredWidth, layoutTop + measuredHeight) in calculateViewState() 370 width = transitionLayout.measuredWidth in initFromLayout()
|
D | MeasurementInput.kt | 25 var measuredWidth: Int, variable in com.android.systemui.util.animation.MeasurementOutput
|
/frameworks/base/core/java/android/app/ |
D | MediaRouteButton.java | 290 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/core/java/com/android/internal/widget/ |
D | ButtonBarLayout.java | 94 final int measuredWidth = getMeasuredWidthAndState(); in onMeasure() local 95 final int measuredWidthState = measuredWidth & MEASURED_STATE_MASK; in onMeasure()
|
D | MessagingLinearLayout.java | 90 int measuredWidth = mPaddingLeft + mPaddingRight; in onMeasure() local 167 measuredWidth = Math.max(measuredWidth, in onMeasure() 191 resolveSize(Math.max(getSuggestedMinimumWidth(), measuredWidth), in onMeasure() local
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | ButtonBarLayout.java | 92 final int measuredWidth = getMeasuredWidthAndState(); in onMeasure() local 93 final int measuredWidthState = measuredWidth & MEASURED_STATE_MASK; in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/chips/ui/view/ |
D | ChipBackgroundContainer.kt | 45 setMeasuredDimension(measuredWidth, chosenHeight) in onMeasure()
|
D | ChipChronometer.kt | 77 val desiredTextWidth = measuredWidth in onMeasure()
|
/frameworks/base/tests/InputScreenshotTest/src/android/input/screenshot/ |
D | Bitmap.kt | 32 measuredWidth, in View()
|
/frameworks/base/packages/SettingsLib/Spa/screenshot/src/com/android/settingslib/spa/screenshot/util/ |
D | Bitmap.kt | 32 measuredWidth, in View()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 2709 float maxWidth, float[] measuredWidth) { in breakText() argument 2722 measuredWidth); in breakText() 2728 mBidiFlags, measuredWidth); in breakText() 2730 if (measuredWidth != null) measuredWidth[0] *= mInvCompatScaling; in breakText() 2752 float maxWidth, float[] measuredWidth) { in breakText() argument 2765 measuredWidth); in breakText() 2774 result = breakText(buf, 0, end - start, maxWidth, measuredWidth); in breakText() 2776 result = breakText(buf, 0, -(end - start), maxWidth, measuredWidth); in breakText() 2800 float maxWidth, float[] measuredWidth) { in breakText() argument 2810 maxWidth, mBidiFlags, measuredWidth); in breakText() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/ |
D | ScreenDecorationsLogger.kt | 101 measuredWidth: Int, in onMeasureDimensions() 110 int1 = measuredWidth in onMeasureDimensions()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | NoRemeasureMotionLayout.kt | 48 setMeasuredDimension(measuredWidth, measuredHeight) in onMeasure()
|
D | NeverExactlyLinearLayout.kt | 39 val newWidth = if (widthExactly) width else measuredWidth in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/ |
D | BiometricCustomizedViewBinder.kt | 305 if (measuredWidth > 0) { in getListItemBulletRadius() 308 function(measuredWidth) in getListItemBulletRadius() 312 else function(measuredWidth) in getListItemBulletRadius()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | FaceScanningOverlay.kt | 184 val measuredWidth = resolveSizeAndState(mTotalBounds.width(), widthMeasureSpec, 0) in onMeasure() constant 191 measuredWidth, in onMeasure() 193 setMeasuredDimension(measuredWidth, measuredHeight) in onMeasure()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | IconMenuView.java | 412 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/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/ |
D | BitmapUtils.kt | 65 val bitmap = Bitmap.createBitmap(view.measuredWidth, view.measuredHeight, config) in generateBitmapFromView()
|
/frameworks/base/core/java/android/widget/ |
D | ActionMenuPresenter.java | 696 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()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/ribbon/ui/composable/ |
D | Ribbon.kt | 85 width = placeable.measuredWidth + leftPadding + rightPadding, in <lambda>()
|