Home
last modified time | relevance | path

Searched defs:width (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/compose/material/material/src/androidInstrumentedTest/kotlin/androidx/compose/material/
DIconTest.kt62 val width = 24.dp in vector_materialIconSize_dimensions() constant
73 val width = 35.dp in vector_customIconSize_dimensions() constant
91 val width = 24.dp in image_noIntrinsicSize_dimensions() constant
108 val width = 35.dp in image_withIntrinsicSize_dimensions() constant
126 val width = 24.dp in painter_noIntrinsicSize_dimensions() constant
137 val width = 35.dp in painter_withIntrinsicSize_dimensions() constant
158 val width = 24.dp in iconScalesToFitSize() constant
191 val width = 35.dp in iconUnspecifiedTintColorIgnored() constant
210 val width = 35.dp in iconSpecifiedTintColorApplied() constant
DIconButtonTest.kt65 val width = 48.dp in iconButton_size() constant
76 val width = 24.dp in iconButton_size_withoutMinimumTouchTarget() constant
118 val width = 36.dp in iconButton_customIconSize_iconPositioning() constant
154 val width = 48.dp in iconToggleButton_size() constant
165 val width = 24.dp in iconToggleButton_size_withoutMinimumTouchTarget() constant
221 val width = 36.dp in iconToggleButton_customIconSize_iconPositioning() constant
DSwipeToDismissTest.kt81 val width = rule.rootWidth() in swipeToDismiss_testOffset_whenDismissedToEnd() constant
95 val width = rule.rootWidth() in swipeToDismiss_testOffset_whenDismissedToStart() constant
125 val width = rule.rootWidth() in <lambda>() constant
/compose/ui/ui-text/src/androidInstrumentedTest/kotlin/androidx/compose/ui/text/
DParagraphPlaceholderIntegrationTest.kt41 val width = 1.em in placeHolder_alignAboveBaseLine_lessThanOriginalHeight() constant
69 val width = 1.em in placeHolder_alignAboveBaseLine_greaterThanOriginalHeight() constant
100 val width = 1.em in placeHolder_alignBottom_lessThanOriginalHeight() constant
128 val width = 1.em in placeHolder_alignBottom_greaterThanOriginalHeight() constant
156 val width = 1.em in placeHolder_alignTop_lessThanOriginalHeight() constant
185 val width = 1.em in placeHolder_alignTop_greaterThanOriginalHeight() constant
214 val width = 1.em in placeHolder_alignCenter_lessThanOriginalHeight() constant
246 val width = 1.em in placeHolder_alignCenter_greaterThanOriginalHeight() constant
280 val width = 1.em in placeHolder_alignTextTop() constant
312 val width = 1.em in placeHolder_alignTextBottom() constant
[all …]
DMultiParagraphIntegrationTest.kt92 val width = fontSize.toPx() in <lambda>() constant
215 val width = 2 * fontSizeInPx in <lambda>() constant
246 val width = lineLength * fontSizeInPx in <lambda>() constant
272 val width = lineLength * fontSizeInPx in <lambda>() constant
299 val width = lineLength * fontSizeInPx in <lambda>() constant
330 val width = lineLength * fontSizeInPx in <lambda>() constant
352 val width = lineLength * fontSizeInPx in <lambda>() constant
618 val width = 2 * fontSizeInPx in <lambda>() constant
710 val width = simpleMultiParagraphIntrinsics(text, fontSize).maxIntrinsicWidth * 2 in <lambda>() constant
758 val width = simpleMultiParagraphIntrinsics(text, fontSize).maxIntrinsicWidth * 2 in <lambda>() constant
[all …]
DMultiParagraphIntegrationTextDirectionTest.kt116 val width = multiParagraphIntrinsics(text, fontSize).maxIntrinsicWidth in textDirection_content_withLtrLocale() constant
150 val width = multiParagraphIntrinsics(text, fontSize).maxIntrinsicWidth in textDirection_content_withRtlLocale() constant
184 val width = multiParagraphIntrinsics(text, fontSize).maxIntrinsicWidth in textDirection_forceLtr() constant
217 val width = multiParagraphIntrinsics(text, fontSize).maxIntrinsicWidth in textDirection_forceRtl() constant
DMultiParagraphFillBoundingBoxesTest.kt56 val width = fontSizeInPx * 3 in singleParagraphRtl() constant
85 val width = fontSizeInPx * 3 in rtl() constant
116 val width = fontSizeInPx * 3 in multiLineRtl() constant
132 val width = fontSizeInPx * 3 in ltrAndRtlParagraphs() constant
/compose/material3/material3-common/src/androidInstrumentedTest/kotlin/androidx/compose/material3/
DIconTest.kt67 val width = 24.dp in vector_materialIconSize_dimensions() constant
78 val width = 35.dp in vector_customIconSize_dimensions() constant
96 val width = 24.dp in image_noIntrinsicSize_dimensions() constant
113 val width = 35.dp in image_withIntrinsicSize_dimensions() constant
131 val width = 24.dp in painter_noIntrinsicSize_dimensions() constant
142 val width = 35.dp in painter_withColorProducerTint_withIntrinsicSize_dimensions() constant
161 val width = 24.dp in painter_withColorProducerTint_noIntrinsicSize_dimensions() constant
172 val width = 35.dp in painter_withIntrinsicSize_dimensions() constant
193 val width = 24.dp in iconScalesToFitSize() constant
226 val width = 35.dp in iconUnspecifiedTintColorIgnored() constant
[all …]
/compose/ui/ui-graphics/src/androidInstrumentedTest/kotlin/androidx/compose/ui/graphics/
DAndroidCanvasTest.kt93 val width = 200 in testScaleWithDefaultPivot() constant
125 val width = 200 in testScaleWithCenterPivot() constant
171 val width = 200 in testScaleWithBottomRightPivot() constant
209 val width = 200 in testRotationCenterPivot() constant
241 val width = 200 in testRotationDefaultPivot() constant
268 val width = 80 in testCornerPathEffect() constant
314 val width = 80 in testDashPathEffect() constant
359 val width = 80 in testChainPathEffect() constant
412 val width = 80 in testPathDashPathEffect() constant
477 val width = 80 in testColorFilterTint() constant
[all …]
/compose/ui/ui-text/src/androidInstrumentedTest/kotlin/androidx/compose/ui/text/android/
DStaticLayoutFactoryTest.kt101 val width = 200 in create_withWidth_returnsGiven() constant
163 val width = floor(charWidth * text.length).toInt() + 10 in create_with_ellipsizeEnd_maxLinesOne_shortText_isNotEllipsized() constant
184 val width = floor(charWidth * text.length).toInt() in create_with_ellipsizeEnd_maxLinesOne_longText_isEllipsized() constant
251 val width = floor("a b".length * charWidth + extra).toInt() in create_withJustificationModeNone_isNotJustified() constant
275 val width = floor("a b".length * charWidth + extra).toInt() in create_withJustificationModeInterWord_isJustified() constant
304 val width = floor("a b".length * charWidth + extra).toInt() in create_defaultJustificationMode_isNone() constant
401 val width = ("writ".length + 2) * charWidth in create_withHyphenationFrequencyNone_isNotHyphenated() constant
424 val width = ("writ".length + 2) * charWidth in create_withHyphenationFrequencyNormal_isHyphenated() constant
447 val width = ("writ".length + 2) * charWidth in create_withHyphenationFrequencyFull_isHyphenated() constant
470 val width = ("writ".length + 2) * charWidth in create_defaultHyphenationFrequency_isNone() constant
DBoringLayoutFactoryTest.kt73 val width = 100 in create_returnsGivenValues_includePadding_false() constant
98 val width = 100 in create_returnsGivenValues_includePadding_true() constant
190 val width = metrics.width in create_setEllipsize_withShortText_isNotEllipsized() constant
209 val width = metrics.width in create_setEllipsize_withLongText_isEllipsized() constant
230 val width = metrics.width / 2 in create_defaultEllipsize_isNull() constant
DTextLayoutFillBoundingBoxesTest.kt124 val width = text.length * 2 * fontSize // a width wider than text in <lambda>() constant
143 val width = text.length * 2 * fontSize // a width wider than text in <lambda>() constant
164 val width = text.length * 2 * fontSize // a width wider than text in <lambda>() constant
193 val width = fontSize * 3 in <lambda>() constant
213 val width = 2 * fontSize in <lambda>() constant
232 val width = 3 * fontSize in <lambda>() constant
/compose/ui/ui-lint/src/test/java/androidx/compose/ui/lint/
DConfigurationScreenWidthHeightDetectorTest.kt127 val width = configuration.screenWidthDp.dp in getDetector() constant
140 val width = configuration.screenWidthDp.dp in getDetector() constant
161 val width = configuration.screenWidthDp.dp in getDetector() constant
173 val width = configuration.screenWidthDp.dp in getDetector() constant
205 val width = configuration.screenWidthDp.dp in ignoresErrorsWithWearImports() constant
218 val width = configuration.screenWidthDp.dp in ignoresErrorsWithWearImports() constant
/compose/material3/material3/src/androidInstrumentedTest/kotlin/androidx/compose/material3/
DIconTest.kt66 val width = 24.dp in vector_materialIconSize_dimensions() constant
77 val width = 35.dp in vector_customIconSize_dimensions() constant
95 val width = 24.dp in image_noIntrinsicSize_dimensions() constant
112 val width = 35.dp in image_withIntrinsicSize_dimensions() constant
130 val width = 24.dp in painter_noIntrinsicSize_dimensions() constant
141 val width = 35.dp in painter_withIntrinsicSize_dimensions() constant
162 val width = 24.dp in iconScalesToFitSize() constant
195 val width = 35.dp in iconUnspecifiedTintColorIgnored() constant
214 val width = 35.dp in iconSpecifiedTintColorApplied() constant
DSwipeToDismissTest.kt90 val width = rule.rootWidth() in <lambda>() constant
107 val width = rule.rootWidth() in <lambda>() constant
122 val width = rule.rootWidth() in <lambda>() constant
139 val width = rule.rootWidth() in <lambda>() constant
DButtonGroupTest.kt149 val width = 75.dp in <lambda>() constant
220 val width = 75.dp in <lambda>() constant
291 val width = 75.dp in <lambda>() constant
362 val width = 75.dp in <lambda>() constant
433 val width = 75.dp in <lambda>() constant
504 val width = 75.dp in <lambda>() constant
575 val width = 75.dp in <lambda>() constant
646 val width = 75.dp in <lambda>() constant
/compose/foundation/foundation-layout/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/layout/
DSpacerTest.kt42 val width = 40.dp in <lambda>() constant
68 val width = 40.dp in <lambda>() constant
101 val width = 71.dp in <lambda>() constant
125 val width = 40.dp in <lambda>() constant
/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/internal/
DAccessibilityUtil.kt49 val width = placeable.width - paddingPx * 2 in <lambda>() constant
73 val width = placeable.width in constraints() constant
/compose/ui/ui-graphics/src/androidInstrumentedTest/kotlin/androidx/compose/ui/graphics/drawscope/
DDrawScopeTest.kt62 private val width: Int = 100 in <lambda>() constant in androidx.compose.ui.graphics.drawscope.DrawScopeTest
110 val width = 200 in <lambda>() constant
145 val width = 200 in <lambda>() constant
461 val width = 200 in <lambda>() constant
488 val width = 200 in <lambda>() constant
529 val width = 200 in <lambda>() constant
548 val width = 200 in <lambda>() constant
572 val width = 200 in <lambda>() constant
595 val width = 200 in <lambda>() constant
613 val width = 200 in <lambda>() constant
[all …]
/compose/material/material-ripple/src/androidUnitTest/kotlin/androidx/compose/material/ripple/
DRippleAnimationTest.kt42 val width = 100f in testEndRadiusBounded() constant
57 val width = 140f in testEndRadiusUnbounded() constant
/compose/foundation/foundation-layout/benchmark/src/androidTest/java/androidx/compose/foundation/layout/benchmark/
DBoxWithConstraintsTestCases.kt67 val width = screenWidth.value in <lambda>() constant
74 val width = maxWidth in <lambda>() constant
98 val width = screenWidth.value in MeasuredContent() constant
106 val width = LocalScreenWidth.current in App() constant
/compose/ui/ui-test/src/androidInstrumentedTest/kotlin/androidx/compose/ui/test/deviceconfigurationoverride/
DWindowInsetsOverrideTest.kt107 val (width, height) = rule.runOnIdle { coordinates.boundsInRoot().bottomRight.round() } in <lambda>() constant
146 width, in <lambda>() method
263 expected = { width, height -> Rect(10f, 0f, width.toFloat(), height.toFloat()) } in <lambda>() method
273 expected = { width, height -> Rect(0f, 0f, width - 10f, height.toFloat()) } in <lambda>() method
283 expected = { width, height -> Rect(0f, 0f, width.toFloat(), height - 10f) } in <lambda>() method
312 val (width, height) = rule.runOnIdle { coordinates.boundsInRoot().bottomRight.round() } in <lambda>() constant
352 val width = size.width in <lambda>() constant
389 val width = size.width in <lambda>() constant
424 val width = size.width in <lambda>() constant
474 expected: (Int, Int) -> Rect = { width, height -> in <lambda>() method
[all …]
/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/
DHorizontalCenterOptically.kt49 val width = placeable.width in <lambda>() constant
77 val width = placeable.width in horizontalCenterOptically() constant
/compose/material/material/src/commonMain/kotlin/androidx/compose/material/
DInteractiveComponentSize.kt90 val width = in measure() constant
155 val width = maxOf(placeable.width, size.width.roundToPx()) in measure() constant
/compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/layout/
DLayout.kt307 val width = in measure() constant
324 val width = if (constraints.hasBoundedWidth) constraints.maxWidth else LargeDimension in measure() constant
364 override val width: Int in <lambda>() constant
398 override val width: Int in <lambda>() constant

12345678910>>...12