Home
last modified time | relevance | path

Searched refs:transitions (Results 1 – 20 of 20) sorted by relevance

/platform_testing/libraries/flicker/test/src/android/tools/flicker/extractor/
DShellTransitionScenarioExtractorTest.kt32 val transitions = in <lambda>() constant
41 transitions: Collection<Transition> in <lambda>()
44 return transitions in <lambda>()
51 transitions.forEachIndexed { index, transition -> in <lambda>()
59 val transitions = in <lambda>() constant
66 transitions: Collection<Transition> in <lambda>()
68 return transitions.filter { it.type == TransitionType.OPEN } in <lambda>()
91 .isEqualTo(transitions.first { it.type == TransitionType.OPEN }) in <lambda>()
102 transitions: Collection<Transition> in <lambda>()
104 return transitions.filter { it.type == TransitionType.TO_BACK } in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/extractors/
DTaggedCujTransitionMatcher.kt29 (transitions: List<Transition>, cujEntry: Cuj, reader: Reader) -> List<Transition> in <lambda>()
51 val formattedTransitions = { transitions: Collection<Transition> -> in <lambda>() method
69 transforms.fold(completeTransitions) { transitions, transform -> in <lambda>() method
72 transform(transitions, cujEntry, reader) in <lambda>()
78 formattedTransitions(transitions), in <lambda>()
107 val inCujRangeFilter: TransitionsTransform = { transitions, cujEntry, reader -> in cujEntry() method
108 transitions.filter { transition -> in cujEntry()
136 val permissionDialogFilter: TransitionsTransform = { transitions, _, reader -> in reader() method
137 transitions.filter { !isPermissionDialogOpenTransition(it, reader) } in reader()
140 val mergeTrampolineTransitions: TransitionsTransform = { transitions, _, reader -> in reader() method
[all …]
DShellTransitionScenarioExtractor.kt28 val transitions = transitionMatcher.findAll(completeTransitions) in extract() constant
30 return transitions.map { in extract()
DITransitionMatcher.kt22 fun findAll(transitions: Collection<Transition>): Collection<Transition>
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DDisableAnimationsRule.kt49 data class AnimationState(val transitions: Float, val windows: Float, val animators: Float) constant in android.platform.test.rule.DisableAnimationsRule.AnimationState
52 val disabledAnimationState = AnimationState(transitions = 0f, windows = 0f, animators = 0f)
53 val defaultAnimationState = AnimationState(transitions = 1f, windows = 1f, animators = 1f)
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/
DTransitionsTraceParser.kt45 val transitions = ArrayList<Transition>() in <lambda>() constant
63 transitions.add(buildTransition(transitionRows, handlerMapping)) in <lambda>()
67 return transitions in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/config/
DTransitionFilters.kt140 val QUICK_SWITCH_TRANSITION_POST_PROCESSING: TransitionsTransform = { transitions, _, reader -> in <lambda>() method
141 require(transitions.size == 1) { "Expected 1 transition but got ${transitions.size}" } in <lambda>()
143 val transition = transitions.first() in <lambda>()
230 override fun findAll(transitions: Collection<Transition>): Collection<Transition> { in <lambda>()
231 return transitions.filter { isSplitscreenEnterTransition(it) } in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/
DFlickerTestDataImpl.kt45 override val transitions: List<FlickerTestData.() -> Any>, constant in android.tools.flicker.legacy.FlickerTestDataImpl
DFlickerTestData.kt37 val transitions: List<FlickerTestData.() -> Any> constant
DFlickerBuilder.kt70 fun transitions(command: FlickerTestData.() -> Unit): FlickerBuilder = apply { in <lambda>() method in android.tools.flicker.legacy.FlickerBuilder
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/runner/
DTransitionRunnerTest.kt79 transitions = listOf(runTransition), in runsTransition()
121 transitions = listOf(throwError), in failsWithTransitionError()
142 transitions = listOf(runTransition), in failsWithSetupErrorAndHasTraces()
163 transitions = listOf(runTransition), in failsWithTeardownErrorAndHasTraces()
/platform_testing/libraries/flicker/test/src/android/tools/
DUtils.kt111 transitions: List<FlickerTestData.() -> Unit> = emptyList(), in createMockedFlicker()
129 Mockito.`when`(mockedFlicker.transitions).thenReturn(transitions) in createMockedFlicker()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/junit/
DTestUtils.kt35 FlickerBuilder(instrumentation).apply { transitions { executionCount++ } } in myMethod()
DLegacyFlickerJUnit4ClassRunnerTest.kt353 transitions { error(TRANSITION_FAILURE_MESSAGE) } in <lambda>()
392 return FlickerBuilder(instrumentation).apply { transitions { transitionRunCount++ } } in <lambda>()
/platform_testing/libraries/flicker/test/src/android/tools/integration/
DUtils.kt46 transitions { in createFlicker()
DFullLegacyTestRun.kt70 transitions { testApp.launchViaIntent(wmHelper) } in buildFlicker()
/platform_testing/libraries/flicker/
DREADME.md4 Detect *flicker* &mdash; any discontinuous, or unpredictable behavior seen during UI transitions th…
16 …ary builds and runs UI transitions, captures Winscope [traces](https://source.android.com/devices/…
20 Start by defining common or error prone transitions using `TransitionRunner`.
114 …frameworks/base/tests/FlickerTests` uses the library to test common UI transitions. Run `atest Fli…
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/runner/
DTransitionExecutionRule.kt53 private val commands: List<FlickerTestData.() -> Any> = flicker.transitions,
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/wm/
DShellTransitionTraceParser.kt52 ): Collection<com.android.wm.shell.nano.Transition> = input.transitions.toList() in getEntries()
DWmTransitionTraceParser.kt51 ): Collection<com.android.server.wm.shell.nano.Transition> = input.transitions.toList() in getEntries()