Home
last modified time | relevance | path

Searched refs:focusChanges (Results 1 – 3 of 3) sorted by relevance

/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/events/
DEventLogSubjectTest.kt83 subject.focusChanges("WinA", "WinB", "WinC") in canDetectFocusChanges()
84 subject.focusChanges("WinA", "WinB") in canDetectFocusChanges()
85 subject.focusChanges("WinB", "WinC") in canDetectFocusChanges()
86 subject.focusChanges("WinA") in canDetectFocusChanges()
87 subject.focusChanges("WinB") in canDetectFocusChanges()
88 subject.focusChanges("WinC") in canDetectFocusChanges()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/events/
DEventLogSubject.kt41 fun focusChanges(vararg windows: String) = apply { in <lambda>() method
43 val focusChanges = in <lambda>() constant
49 .setActual(focusChanges) in <lambda>()
51 if (focusChanges.isEmpty()) { in <lambda>()
56 val actual = focusChanges.map { Fact("Focus change", it) } in <lambda>()
60 windows.size <= focusChanges.size && in <lambda>()
61 focusChanges.zip(windows).all { (focus, search) -> in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/
DFocusChanges.kt60 flicker.assertEventLog { focusChanges(fromPackage, toPackage) } in doEvaluate()