Home
last modified time | relevance | path

Searched refs:Modifier (Results 1 – 11 of 11) sorted by relevance

/platform_testing/libraries/motion/compose/tests/src/platform/test/motion/compose/
DMotionTestValuesTest.kt21 import androidx.compose.ui.Modifier
57 EnableMotionTestValueCollection { Box(Modifier.motionTestValues { 0.5f exportAs foo }) } in motionTestValueOfNode_readsValueOfAnnotatedNode()
67 Box(Modifier.motionTestValues { 0.5f exportAs foo }) in motionTestValueOfNode_multipleMatchingNodes_throws()
68 Box(Modifier.motionTestValues { 0.6f exportAs foo }) in motionTestValueOfNode_multipleMatchingNodes_throws()
76 composeRule.setContent { EnableMotionTestValueCollection { Box(Modifier.testTag("foo")) } } in motionTestValueOfNode_valueNotExported_throws()
86 Box(Modifier.motionTestValues { 0.5f exportAs foo }.testTag("foo")) in motionTestValueOfNode_specifySelector()
87 Box(Modifier.motionTestValues { 0.6f exportAs foo }.testTag("bar")) in motionTestValueOfNode_specifySelector()
100 content = { Box(Modifier.size(10.dp).motionTestValues { .5f exportAs foo }) }, in featureWithDataPointType_defaultMatcherAndName()
114 Modifier.size(10.dp).testTag("foo").motionTestValues { in featureWithDataPointType_matchingViaTestTag()
130 content = { Box(Modifier.size(10.dp).motionTestValues { .5f exportAs foo }) }, in featureWithDataPointType_unknownNode()
[all …]
DComposeFeatureCapturesTest.kt22 import androidx.compose.ui.Modifier
56 composeRule.setContent { Box(Modifier.testTag("box").size(width = 10.dp, height = 20.dp)) } in dpSize_capturesDataPoint()
65 composeRule.setContent { Box(Modifier.testTag("box").size(width = 10.dp, height = 20.dp)) } in size_capturesDataPoint()
75 Box(Modifier.offset(x = 10.dp, y = 20.dp)) { in positionInRoot_capturesDataPoint()
76 Box(Modifier.offset(x = 1.dp, y = 2.dp).testTag("box")) in positionInRoot_capturesDataPoint()
91 Modifier.graphicsLayer { alpha = opacity } in alpha_capturesDataPoint()
106 Box(Modifier.graphicsLayer { alpha = opacity }.testTag("box")) in alpha_withoutExport_throws()
DComposeToolkitTest.kt40 import androidx.compose.ui.Modifier in <lambda>()
88 Modifier.offset(x = offset) in <lambda>()
112 Modifier.testTag("foo") in <lambda>()
139 Modifier.graphicsLayer { alpha = opacity } in <lambda>()
168 Modifier.graphicsLayer { alpha = opacity } in <lambda>()
177 Modifier.graphicsLayer { alpha = 1 - opacity } in <lambda>()
206 Modifier.clickable { clickCount++ } in <lambda>()
241 Modifier.pointerInput(Unit) { in <lambda>()
625 Modifier.motionTestValues { exportedFrameCount exportAs frameCountKey } in <lambda>()
/platform_testing/libraries/motion/compose/tests/src/platform/test/motion/compose/values/
DMotionTestValueTest.kt22 import androidx.compose.ui.Modifier
39 composeRule.setContent { Text("foo", Modifier.motionTestValues { fail() }) } in modifier_isIgnored()
49 Text("foo", Modifier.motionTestValues { 1f exportAs foo }) in modifier_withEnableMotionTesting_isAttached()
/platform_testing/libraries/motion/compose/values/src/platform/test/motion/compose/values/
DMotionTestValue.kt20 import androidx.compose.ui.Modifier
60 fun Modifier.motionTestValues(values: MotionTestValueScope.() -> Unit) = in exportAs() method
80 Modifier.Node(), SemanticsModifierNode, CompositionLocalConsumerModifierNode {
/platform_testing/libraries/flicker/src/android/tools/flicker/junit/
DLegacyFlickerDecorator.kt23 import java.lang.reflect.Modifier
86 if (Modifier.isStatic(method.method.modifiers)) { in doValidateInstanceMethods()
89 if (!Modifier.isPublic(method.method.modifiers)) { in doValidateInstanceMethods()
/platform_testing/libraries/junit-rules/src/
DConditionalIgnoreRule.java23 import java.lang.reflect.Modifier;
36 || Modifier.isStatic(conditionType.getModifiers()); in apply()
/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/wm/
DWindowManagerTraceTest.kt25 import java.lang.reflect.Modifier in <lambda>()
61 .filter { Modifier.isPublic(it.modifiers) } in <lambda>()
74 Modifier.isPublic(it.modifiers) && in <lambda>()
/platform_testing/libraries/runner/src/main/java/platform/test/runner/parameterized/
DParameterizedRunnerDelegate.java29 import java.lang.reflect.Modifier;
203 if (Modifier.isStatic(modifiers) && Modifier.isPublic(modifiers)) { in getParametersMethod()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/setup/
DLayoutLibTestCallback.java43 import java.lang.reflect.Modifier;
75 if (Modifier.isStatic(modifiers)) { // May not be final in library projects in initResources()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DHelperManager.java19 import static java.lang.reflect.Modifier.isAbstract;
20 import static java.lang.reflect.Modifier.isInterface;