Home
last modified time | relevance | path

Searched refs:isVisible (Results 1 – 25 of 46) sorted by relevance

12

/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/
DAppLayerBecomesVisible.kt37 .isVisible(ComponentNameMatcher.SNAPSHOT, isOptional = true) in doEvaluate()
39 .isVisible(ComponentNameMatcher.SPLASH_SCREEN, isOptional = true) in doEvaluate()
41 .isVisible(component.build(scenarioInstance), isOptional = true) in doEvaluate()
45 isVisible( in doEvaluate()
DRotationLayerAppearsAndVanishes.kt33 isVisible(component.build(scenarioInstance)) in doEvaluate()
35 .isVisible(ComponentNameMatcher.ROTATION) in doEvaluate()
37 .isVisible(component.build(scenarioInstance)) in doEvaluate()
DAppLayerReplacesLauncher.kt38 isVisible(ComponentNameMatcher.LAUNCHER) in doEvaluate()
40 .isVisible(component.build(scenarioInstance)) in doEvaluate()
DLauncherReplacesAppLayer.kt37 isVisible(component.build(scenarioInstance)) in doEvaluate()
39 .isVisible(ComponentNameMatcher.LAUNCHER) in doEvaluate()
DAppLayerIsVisibleAlways.kt28 flicker.assertLayers { isVisible(component.build(scenarioInstance)) } in doEvaluate()
DLayerIsVisibleAtEnd.kt28 flicker.assertLayersEnd { isVisible(component.build(scenarioInstance)) } in doEvaluate()
DLayerIsVisibleAtStart.kt28 flicker.assertLayersStart { isVisible(component.build(scenarioInstance)) } in doEvaluate()
DLayerIsInvisibleAlways.kt28 flicker.assertLayers { isVisible(component.build(scenarioInstance)) } in doEvaluate()
DLayerIsVisibleAlways.kt28 flicker.assertLayers { isVisible(component.build(scenarioInstance)) } in doEvaluate()
DAppLayerIsVisibleAtStart.kt28 flicker.assertLayersStart { isVisible(component.build(scenarioInstance)) } in doEvaluate()
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DMockLayerBuilder.kt40 private var isVisible = true in <lambda>() variable
50 this.isVisible = false in <lambda>()
53 fun setVisible(): MockLayerBuilder = apply { this.isVisible = true } in <lambda>()
55 fun setInvisible(): MockLayerBuilder = apply { this.isVisible = false } in <lambda>()
75 visibleRegion = if (isVisible) Region(absoluteBounds) else Region(), in <lambda>()
78 flags = if (isVisible) 0 else Flag.HIDDEN.value, in <lambda>()
81 isOpaque = isVisible && isOpaque, in <lambda>()
DMockLayerTraceBuilderTest.kt37 Truth.assertThat(mockLayer.isVisible).isFalse() in containerLayerIsInvisible()
72 Truth.assertThat(mockLayer.isVisible).isFalse() in canSetLayerVisibility()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/surfaceflinger/
DLayersTraceSubjectTest.kt82 .isVisible(ComponentNameMatcher.NAV_BAR) in <lambda>()
84 .isVisible(TestComponents.LAUNCHER) in <lambda>()
93 .isVisible(ComponentNameMatcher.NAV_BAR) in <lambda>()
94 .isVisible(TestComponents.DOCKER_STACK_DIVIDER) in <lambda>()
103 .isVisible(ComponentNameMatcher.NAV_BAR) in <lambda>()
108 .isVisible(ComponentNameMatcher.NAV_BAR) in <lambda>()
109 .isVisible(TestComponents.DOCKER_STACK_DIVIDER) in <lambda>()
118 .isVisible(ComponentNameMatcher.NAV_BAR) in <lambda>()
121 .isVisible(ComponentNameMatcher.NAV_BAR) in <lambda>()
124 .isVisible(ComponentNameMatcher.NAV_BAR) in <lambda>()
[all …]
DLayerTraceEntrySubjectTest.kt69 .isVisible(ComponentNameMatcher.NAV_BAR) in testCanInspectBeginning()
71 .isVisible(TestComponents.LAUNCHER) in testCanInspectBeginning()
79 .isVisible(ComponentNameMatcher.NAV_BAR) in testCanInspectEnd()
80 .isVisible(TestComponents.DOCKER_STACK_DIVIDER) in testCanInspectEnd()
169 .isVisible(TestComponents.SIMPLE_APP) in canTestLayerVisibleRegion_layerIsNotVisible()
199 subject.isVisible(ComponentNameMatcher(app1Name)) in orComponentMatcher_visibility_oneVisibleOtherInvisible()
203 subject.isVisible(component) in orComponentMatcher_visibility_oneVisibleOtherInvisible()
229 subject.isVisible(ComponentNameMatcher(app1Name)) in orComponentMatcher_visibility_oneVisibleOtherMissing()
233 subject.isVisible(component) in orComponentMatcher_visibility_oneVisibleOtherMissing()
264 subject.isVisible(ComponentNameMatcher(app1Name)) in canUseOrComponentMatcher_visibility_allVisible()
[all …]
/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/surfaceflinger/
DLayerTest.kt71 .isVisible in useVisibleRegionIfCompositionStateIsAvailableForVisibility()
80 .isVisible in useVisibleRegionIfCompositionStateIsAvailableForVisibility()
93 .isVisible in fallbackOnLayerBoundsIfCompositionStateIsNotAvailableForVisibility()
102 .isVisible in fallbackOnLayerBoundsIfCompositionStateIsNotAvailableForVisibility()
112 .isVisible in fallbackOnLayerBoundsIfCompositionStateIsNotAvailableForVisibility()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/wm/
DWindowStateSubject.kt49 val isVisible: Boolean = windowState.isVisible constant in android.tools.flicker.subject.wm.WindowStateSubject
50 val isInvisible: Boolean = !windowState.isVisible
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/
DWindowContainerImpl.kt49 override val isVisible: Boolean = _isVisible constant
93 if (isVisible != other.isVisible) return false in equals()
106 result = 31 * result + isVisible.hashCode() in hashCode()
DDisplayArea.kt59 if (isVisible != other.isVisible) return false in <lambda>()
DWindowToken.kt27 override val isVisible: Boolean in <lambda>() constant
DWindowManagerState.kt52 val isVisible: Boolean = true in <lambda>() constant in android.tools.traces.wm.WindowManagerState
101 val windowIsVisible = it.isVisible in <lambda>()
102 val activityIsVisible = activities.any { activity -> activity.isVisible } in <lambda>()
162 return activity != null && activity.isVisible in <lambda>()
172 activity != null && activity.isVisible in <lambda>()
280 getActivity(componentMatcher)?.isVisible ?: false in <lambda>()
374 fun isVisible(componentMatcher: IComponentMatcher): Boolean = in <lambda>() method in android.tools.traces.wm.WindowManagerState
489 result = 31 * result + isVisible.hashCode() in <lambda>()
DWindowContainer.kt36 val isVisible: Boolean constant
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/
DLayerTraceEntry.kt50 val isVisible: Boolean = true in <lambda>() constant
53 get() = flattenedLayers.filter { it.isVisible } in <lambda>()
102 val pipAnimating = isVisible(ComponentNameMatcher.PIP_CONTENT_OVERLAY) in <lambda>()
111 fun isVisible(componentMatcher: IComponentMatcher): Boolean = in <lambda>() method
128 result = 31 * result + isVisible.hashCode() in <lambda>()
165 val visible = layer.isVisible in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/layers/
DLayerSubject.kt50 val isVisible: Boolean constant in android.tools.flicker.subject.layers.LayerSubject
51 get() = layer.isVisible
53 get() = !layer.isVisible
DLayerTraceEntrySubject.kt125 val visibleLayers = selectedLayers.filter { it.isVisible } in <lambda>()
168 override fun isVisible(componentMatcher: IComponentMatcher): LayerTraceEntrySubject = apply { in <lambda>() method in android.tools.flicker.subject.layers.LayerTraceEntrySubject
172 val visibleLayers = matchedLayers.filter { it.isVisible } in <lambda>()
177 .filterNot { it.isVisible } in <lambda>()
208 .filter { it.isVisible } in <lambda>()
227 val hasVisibleMatchingSubject = matchingSubjects.any { it.isVisible } in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/
DWindowManagerStateHelperTest.kt207 .that(helper.wmState.isVisible(ComponentNameMatcher.IME)) in <lambda>()
211 .that(helper.wmState.isVisible(ComponentNameMatcher.IME)) in <lambda>()
228 .that(helper.wmState.isVisible(ComponentNameMatcher.IME)) in <lambda>()
232 .that(helper.wmState.isVisible(ComponentNameMatcher.IME)) in <lambda>()
249 .that(helper.wmState.isVisible(simpleAppComponentName)) in <lambda>()
253 .that(helper.wmState.isVisible(simpleAppComponentName)) in <lambda>()
273 .that(helper.wmState.isVisible(simpleAppComponentName)) in <lambda>()
277 .that(helper.wmState.isVisible(simpleAppComponentName)) in <lambda>()
322 .that(helper.wmState.isVisible(chromeComponent)) in <lambda>()
326 .that(helper.wmState.isVisible(chromeComponent)) in <lambda>()

12