Home
last modified time | relevance | path

Searched refs:window (Results 1 – 21 of 21) sorted by relevance

/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/
DWindowDescriptor.kt3 class WindowDescriptor(window: WindowContainer) {
4 val id = window.id
5 val name = window.name
7 (window is Task) || (window.parent?.let { WindowDescriptor(it).isAppWindow } ?: false) in <lambda>()
DWindowManagerTrace.kt73 for (window in entry.windowContainers) { in getWindowDescriptorById() method
74 if (window.id == id) { in getWindowDescriptorById()
75 return WindowDescriptor(window) in getWindowDescriptorById()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DDialogScreenshotTest.kt38 val window = checkNotNull(window) in activity() constant
42 window.setDecorFitsSystemWindows(false) in activity()
46 window.setWindowAnimations(0) in activity()
50 window.decorView.removeElevationRecursively() in activity()
73 val window = checkNotNull(window) in toBitmap() constant
74 return window.decorView.captureToBitmapAsync().get(10, TimeUnit.SECONDS) in toBitmap()
DExternalViewScreenshotTestRule.kt62 fun screenshotTest(goldenIdentifier: String, view: View, window: Window? = null) { in <lambda>()
81 val rootView = activity.window.decorView in <lambda>()
86 val window = activity.window in <lambda>() constant
87 window.setDecorFitsSystemWindows(false) in <lambda>()
88 WindowInsetsControllerCompat(window, rootView).apply { in <lambda>()
93 window.statusBarColor = Color.TRANSPARENT in <lambda>()
94 window.navigationBarColor = Color.TRANSPARENT in <lambda>()
95 window.attributes = in <lambda>()
96 window.attributes.apply { in <lambda>()
105 screenshotTest(goldenIdentifier, rootView, activity.window) in <lambda>()
DFragmentScreenshotTestRule.kt80 val window = activity.window in <lambda>() constant
81 window.setDecorFitsSystemWindows(decorFitsSystemWindows) in <lambda>()
85 window.decorView.removeElevationRecursively() in <lambda>()
DViewScreenshotTestRule.kt79 val window = activity.window in <lambda>() constant
80 window.setDecorFitsSystemWindows(decorFitsSystemWindows) in <lambda>()
88 window.decorView.removeElevationRecursively() in <lambda>()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DUiWatchers.java49 UiObject2 window = device.findObject( in registerAnrAndCrashWatchers()
51 if (window != null) { in registerAnrAndCrashWatchers()
52 String errorText = window.getText(); in registerAnrAndCrashWatchers()
64 UiObject2 window = device.findObject( in registerAnrAndCrashWatchers()
66 if (window != null) { in registerAnrAndCrashWatchers()
67 String errorText = window.getText(); in registerAnrAndCrashWatchers()
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/
DHasAtMostOneWindowMatching.kt35 it.wmState.windowStates.count { window -> matcher.windowMatchesAnyOf(window) } in <lambda>() method
/platform_testing/libraries/flicker/utils/src/android/tools/traces/events/
DFocusEvent.kt36 val window: String, constant
50 return "$timestamp: Focus ${type.name} $window Reason=$reason" in toString()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/component/
DIComponentMatcher.kt32 fun windowMatchesAnyOf(window: WindowContainer): Boolean = windowMatchesAnyOf(listOf(window)) in windowMatchesAnyOf()
DOrComponentMatcher.kt27 override fun windowMatchesAnyOf(window: WindowContainer): Boolean { in <lambda>()
28 return componentMatchers.any { it.windowMatchesAnyOf(window) } in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/events/
DEventLogSubject.kt44 _focusChanges.dropWhile { !it.window.contains(windows.first()) }.take(windows.size) in <lambda>()
62 focus.window.contains(search) in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/events/
DEventLogMonitorTest.kt104 eventLog.focusEvents.first().window in canCaptureFocusEventLogs()
109 eventLog.focusEvents.drop(1).first().window in canCaptureFocusEventLogs()
160 eventLog.focusEvents.first().window in onlyCapturesLastTransition()
165 eventLog.focusEvents.drop(1).first().window in onlyCapturesLastTransition()
206 eventLog.focusEvents.first().window in ignoreFocusRequestLogs()
211 eventLog.focusEvents.drop(1).first().window in ignoreFocusRequestLogs()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/wm/
DWindowManagerTraceSubject.kt110 return subjects.mapNotNull { it.windowState { window -> predicate(window) } } in <lambda>() method
577 .filter { window -> in <lambda>() method
578 ignoreWindows.none { matcher -> matcher.windowMatchesAnyOf(window) } in <lambda>()
/platform_testing/libraries/flicker/test/assets/testdata/scenarios/DebugScenario/
Deventlog.winscope48 …851053 1000 1220 1301 I input_focus: [Requesting to set focus to null window,reason=UpdateInput…
57 …ndowOrganizerController.startTransition(int, android.os.IBinder, android.window.WindowContainerTra…
/platform_testing/libraries/screenshot/utils/compose/src/platform/test/screenshot/utils/compose/
DComposeScreenshotTestRule.kt100 activity.mainExecutor.execute { activity.window.setDecorFitsSystemWindows(false) } in <lambda>()
/platform_testing/libraries/flicker/
DREADME.md80 // check a change in assertions, e.g. wallpaper window is visible,
81 // then wallpaper window becomes and stays invisible
/platform_testing/libraries/flicker/utils/test/assets/testdata/
Deventlog.winscope39 …ogle.android.apps.messaging.home.HomeActivity (server),reason=Waiting for window because NO_WINDOW]
46 …413234 1000 24626 24683 I input_focus: [Requesting to set focus to null window,reason=UpdateInput…
120 …gle.android.apps.messaging.home.HomeActivity (server),reason=Waiting for window because NOT_VISIBL…
125 …681342 1000 24626 24683 I input_focus: [Requesting to set focus to null window,reason=UpdateInput…
/platform_testing/libraries/flicker/test/assets/testdata/
Deventlog.winscope39 …ogle.android.apps.messaging.home.HomeActivity (server),reason=Waiting for window because NO_WINDOW]
46 …413234 1000 24626 24683 I input_focus: [Requesting to set focus to null window,reason=UpdateInput…
120 …gle.android.apps.messaging.home.HomeActivity (server),reason=Waiting for window because NOT_VISIBL…
125 …681342 1000 24626 24683 I input_focus: [Requesting to set focus to null window,reason=UpdateInput…
/platform_testing/libraries/flicker/test/assets/testdata/scenarios/AppLaunch/
Deventlog.winscope161 …roller.finishTransition(android.os.IBinder, android.window.WindowContainerTransaction, android.win…
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/wm/
DWindowManagerStateBuilder.kt165 ?: createWindowState(proto.window, isActivityInTree) in <lambda>()