Home
last modified time | relevance | path

Searched defs:rect (Results 1 – 25 of 51) sorted by relevance

123

/compose/ui/ui-unit/src/androidUnitTest/kotlin/androidx/compose/ui/unit/
DIntRectTest.kt122 val rect = IntRect(0, 5, 100, 25) in rect minDimension() constant
128 val rect = IntRect(0, 5, 100, 25) in rect maxDimension() constant
134 val rect = IntRect(27, 38, 100, 200) in rect topLeft() constant
140 val rect = IntRect(100, 15, 200, 300) in rect topCenter() constant
146 val rect = IntRect(100, 15, 200, 300) in rect topRight() constant
152 val rect = IntRect(100, 10, 200, 300) in rect centerLeft() constant
158 val rect = IntRect(100, 10, 200, 300) in rect center() constant
164 val rect = IntRect(100, 10, 200, 300) in rect centerRight() constant
170 val rect = IntRect(100, 10, 200, 300) in rect bottomLeft() constant
176 val rect = IntRect(100, 10, 200, 300) in rect bottomCenter() constant
[all …]
DDensityTest.kt53 val rect = DpRect(1.dp, 2.dp, 3.dp, 4.dp).toRect() in testDpRectToRect() constant
/compose/ui/ui-geometry/src/androidUnitTest/kotlin/androidx/compose/ui/geometry/
DMutableRectTest.kt149 val rect = MutableRect(0f, 5f, 100f, 25f) in rect minDimension() constant
155 val rect = MutableRect(0f, 5f, 100f, 25f) in rect maxDimension() constant
161 val rect = MutableRect(27f, 38f, 100f, 200f) in rect topLeft() constant
167 val rect = MutableRect(100f, 15f, 200f, 300f) in rect topCenter() constant
173 val rect = MutableRect(100f, 15f, 200f, 300f) in rect topRight() constant
179 val rect = MutableRect(100f, 10f, 200f, 300f) in rect centerLeft() constant
185 val rect = MutableRect(100f, 10f, 200f, 300f) in rect center() constant
191 val rect = MutableRect(100f, 10f, 200f, 300f) in rect centerRight() constant
197 val rect = MutableRect(100f, 10f, 200f, 300f) in rect bottomLeft() constant
203 val rect = MutableRect(100f, 10f, 200f, 300f) in rect bottomCenter() constant
[all …]
DRectTest.kt153 val rect = Rect(0f, 5f, 100f, 25f) in rect minDimension() constant
159 val rect = Rect(0f, 5f, 100f, 25f) in rect maxDimension() constant
165 val rect = Rect(27f, 38f, 100f, 200f) in rect topLeft() constant
171 val rect = Rect(100f, 15f, 200f, 300f) in rect topCenter() constant
177 val rect = Rect(100f, 15f, 200f, 300f) in rect topRight() constant
183 val rect = Rect(100f, 10f, 200f, 300f) in rect centerLeft() constant
189 val rect = Rect(100f, 10f, 200f, 300f) in rect center() constant
195 val rect = Rect(100f, 10f, 200f, 300f) in rect centerRight() constant
201 val rect = Rect(100f, 10f, 200f, 300f) in rect bottomLeft() constant
207 val rect = Rect(100f, 10f, 200f, 300f) in rect bottomCenter() constant
[all …]
/compose/ui/ui-text/src/androidInstrumentedTest/kotlin/androidx/compose/ui/text/platform/
DAndroidParagraphGetRangeForRectTest.kt76 val rect = boundingBoxOf(startBoundingBox.center, endBoundingBox.center) in getRangeForRect_characterGranularity_containsCenter_singleLine() constant
105 val rect = boundingBoxOf(startBoundingBox, endBoundingBox) in getRangeForRect_characterGranularity_containsAll_singleLine() constant
137 val rect = in getRangeForRect_characterGranularity_anyOverlap_singleLine() constant
167 val rect = paragraph.boundingBoxOf(text.indexOf('b'), text.indexOf('e')) in getRangeForRect_characterGranularity_multiLine() constant
193 val rect = paragraph.boundingBoxOf(text.indexOf('b'), text.indexOf('\uDE03')) in getRangeForRect_characterGranularity_singleLine_compoundCharacter() constant
221 val rect = paragraph.boundingBoxOf(text.indexOf('c'), text.indexOf('\u05D3')) in getRangeForRect_characterGranularity_BiDi() constant
254 val rect = Rect(left, top, right, bottom) in getRangeForRect_characterGranularity_singleLine_empty() constant
283 val rect = boundingBoxOf(bBoundingBox.center) in getRangeForRect_wordLevel_singleLine_containsCenter() constant
310 val rect = paragraph.boundingBoxOf(text.indexOf('d'), text.indexOf('i')) in getRangeForRect_wordLevel_singleLine_containsAll() constant
335 val rect = boundingBoxOf(dBoundingBox.topLeft) in getRangeForRect_wordLevel_singleLine_anyOverlap() constant
[all …]
/compose/ui/ui-text/src/androidInstrumentedTest/kotlin/androidx/compose/ui/text/
DMultiParagraphGetRangeForRectTest.kt65 val rect = Rect(left, top, right, bottom) in getRangeForRect_characterGranularity_rectCoversAllParagraphs() constant
94 val rect = Rect(left, top, right, bottom) in getRangeForRect_characterGranularity_rectCoversNothing() constant
132 val rect = Rect(left, top, right, bottom) in getRangeForRect_characterGranularity_rectCoversSingleParagraph() constant
162 val rect = Rect(left, top, right, bottom) in getRangeForRect_wordLevel_rectCoversAllParagraphs() constant
192 val rect = Rect(left, top, right, bottom) in getRangeForRect_wordLevel_excludeSpaces() constant
/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/
DTextInclusionStrategy.kt43 val AnyOverlap = TextInclusionStrategy { textBounds, rect -> textBounds.overlaps(rect) } in <lambda>() method
49 val ContainsAll = TextInclusionStrategy { textBounds, rect -> in <lambda>() method
61 val ContainsCenter = TextInclusionStrategy { textBounds, rect -> in <lambda>() method
/compose/foundation/foundation/src/androidUnitTest/kotlin/androidx/compose/foundation/text/
DTextFieldBringIntoViewTest.kt72 val rect = Rect(0f, 1f, 2f, 3f) in notify_focused_rect() constant
106 val rect = Rect(0f, 1f, 2f, 3f) in notify_rect_tail() constant
139 val rect = Rect(0f, 1f, 2f, 3f) in check_notify_rect_uses_offset_map() constant
174 val rect = Rect(0f, 1f, 2f, 3f) in notify_transformed_text() constant
/compose/ui/ui/src/androidUnitTest/kotlin/androidx/compose/ui/spatial/
DRectListTest.kt106 val rect = testData[i] in <lambda>() constant
291 val rect = exampleLayoutRects[itemId] in <lambda>() constant
309 val rect = testData[i] in <lambda>() constant
381 val rect = testData[i] in <lambda>() constant
465 val rect = testData[i] in <lambda>() constant
494 val rect = packXY(1, 2) in <lambda>() constant
503 val rect = packXY(maxValue, 0) in <lambda>() constant
520 val rect = packXY(minValue, 0) in <lambda>() constant
/compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/actionmodecallback/
DFloatingTextActionModeCallback.android.kt46 val rect = callback.rect in onGetContentRect() constant
/compose/ui/ui-text/src/androidInstrumentedTest/kotlin/androidx/compose/ui/text/android/
DTextAndroidCanvasTest.kt36 val rect = Rect() in getClipBounds_useOverrideValue() constant
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/relocation/
DBringIntoViewModifierNodeTest.kt67 Modifier.fakeBringIntoViewResponder { coordinates, rect -> in <lambda>() method
88 Modifier.fakeBringIntoViewResponder { coordinates, rect -> in <lambda>() method
110 Modifier.fakeBringIntoViewResponder { coordinates, rect -> in <lambda>() method
135 .fakeBringIntoViewResponder { coordinates, rect -> in <lambda>() method
159 Modifier.fakeBringIntoViewResponder { coordinates, rect -> in <lambda>() method
163 .fakeBringIntoViewResponder { coordinates, rect -> in <lambda>() method
187 Modifier.fakeBringIntoViewResponder { coordinates, rect -> in <lambda>() method
190 .fakeBringIntoViewResponder { coordinates, rect -> in <lambda>() method
214 Modifier.fakeBringIntoViewResponder { coordinates, rect -> in <lambda>() method
361 Modifier.fakeBringIntoViewResponder { coordinates, rect -> in <lambda>() method
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/
DPreferKeepClearTest.kt213 val rect = composeView.preferKeepClearRects[0] in <lambda>() constant
233 val rect = composeView.preferKeepClearRects[0] in <lambda>() constant
253 val rect = composeView.preferKeepClearRects[0] in <lambda>() constant
DSystemGestureExclusionTest.kt176 val rect = composeView.systemGestureExclusionRects[0] in <lambda>() constant
196 val rect = composeView.systemGestureExclusionRects[0] in <lambda>() constant
/compose/material3/adaptive/adaptive-layout/src/commonMain/kotlin/androidx/compose/material3/adaptive/layout/
DAnimateModifierUtils.kt64 val rect constant
/compose/ui/ui-graphics/src/androidInstrumentedTest/kotlin/androidx/compose/ui/graphics/
DAndroidCanvasTest.kt98 val rect = Rect(Offset.Zero, Size(width.toFloat(), height.toFloat())) in testScaleWithDefaultPivot() constant
130 val rect = Rect(Offset(0.0f, 0.0f), Size(width.toFloat(), height.toFloat())) in testScaleWithCenterPivot() constant
176 val rect = Rect(Offset(0.0f, 0.0f), Size(width.toFloat(), height.toFloat())) in testScaleWithBottomRightPivot() constant
214 val rect = Rect(Offset(0.0f, 0.0f), Size(width.toFloat(), height.toFloat())) in testRotationCenterPivot() constant
246 val rect = Rect(Offset(0.0f, 0.0f), Size(width.toFloat(), height.toFloat())) in testRotationDefaultPivot() constant
/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/carousel/
DCarouselItemScope.kt93 val rect = carouselItemDrawInfo.maskRect.intersect(size.toRect()) in maskClip() constant
/compose/ui/ui-graphics/src/commonMain/kotlin/androidx/compose/ui/graphics/
DOutline.kt41 class Rectangle(val rect: Rect) : Outline() { in <lambda>() constant in androidx.compose.ui.graphics.Outline.Rectangle
145 { rect -> in DrawScope() method
185 { rect -> in DrawScope() method
/compose/foundation/foundation/src/androidMain/kotlin/androidx/compose/foundation/text/input/internal/
DCursorAnchorInfoBuilder.android.kt129 val rect = in CursorAnchorInfo() constant
/compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/android/
DPaintExtensions.android.kt87 val rect = Rect() in getStringBounds() constant
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/platform/
DAndroidUiDispatcherTest.kt135 val rect = Rect() in <lambda>() constant
151 val rect = layoutRect.await() in <lambda>() constant
/compose/animation/animation/integration-tests/animation-demos/src/main/java/androidx/compose/animation/demos/statetransition/
DMultiDimensionalAnimationDemo.kt58 val rect by in MultiDimensionalAnimationDemo() constant
/compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/platform/
DShapeContainingUtil.kt148 val rect = Rect(x - 0.005f, y - 0.005f, x + 0.005f, y + 0.005f) in isInPath() constant
/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/relocation/
DBringIntoViewResponder.kt169 val rect = boundsProvider() ?: return null in bringIntoView() constant
/compose/ui/ui-text/src/androidUnitTest/kotlin/androidx/compose/ui/text/
DTextInputServiceTest.kt299 val rect = Rect(Offset.Zero, Size(100f, 100f)) in notifyFocusedRect_with_valid_token() constant
327 val rect = Rect(Offset.Zero, Size(100f, 100f)) in notifyFocusedRect_with_expired_token() constant

123