/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/ |
D | AppLayerBecomesVisible.kt | 37 .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()
|
D | RotationLayerAppearsAndVanishes.kt | 33 isVisible(component.build(scenarioInstance)) in doEvaluate() 35 .isVisible(ComponentNameMatcher.ROTATION) in doEvaluate() 37 .isVisible(component.build(scenarioInstance)) in doEvaluate()
|
D | AppLayerReplacesLauncher.kt | 38 isVisible(ComponentNameMatcher.LAUNCHER) in doEvaluate() 40 .isVisible(component.build(scenarioInstance)) in doEvaluate()
|
D | LauncherReplacesAppLayer.kt | 37 isVisible(component.build(scenarioInstance)) in doEvaluate() 39 .isVisible(ComponentNameMatcher.LAUNCHER) in doEvaluate()
|
D | AppLayerIsVisibleAlways.kt | 28 flicker.assertLayers { isVisible(component.build(scenarioInstance)) } in doEvaluate()
|
D | LayerIsVisibleAtEnd.kt | 28 flicker.assertLayersEnd { isVisible(component.build(scenarioInstance)) } in doEvaluate()
|
D | LayerIsVisibleAtStart.kt | 28 flicker.assertLayersStart { isVisible(component.build(scenarioInstance)) } in doEvaluate()
|
D | LayerIsInvisibleAlways.kt | 28 flicker.assertLayers { isVisible(component.build(scenarioInstance)) } in doEvaluate()
|
D | LayerIsVisibleAlways.kt | 28 flicker.assertLayers { isVisible(component.build(scenarioInstance)) } in doEvaluate()
|
D | AppLayerIsVisibleAtStart.kt | 28 flicker.assertLayersStart { isVisible(component.build(scenarioInstance)) } in doEvaluate()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/ |
D | MockLayerBuilder.kt | 40 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>()
|
D | MockLayerTraceBuilderTest.kt | 37 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/ |
D | LayersTraceSubjectTest.kt | 82 .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 …]
|
D | LayerTraceEntrySubjectTest.kt | 69 .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/ |
D | LayerTest.kt | 71 .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/ |
D | WindowStateSubject.kt | 49 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/ |
D | WindowContainerImpl.kt | 49 override val isVisible: Boolean = _isVisible constant 93 if (isVisible != other.isVisible) return false in equals() 106 result = 31 * result + isVisible.hashCode() in hashCode()
|
D | DisplayArea.kt | 59 if (isVisible != other.isVisible) return false in <lambda>()
|
D | WindowToken.kt | 27 override val isVisible: Boolean in <lambda>() constant
|
D | WindowManagerState.kt | 52 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>()
|
D | WindowContainer.kt | 36 val isVisible: Boolean constant
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/ |
D | LayerTraceEntry.kt | 50 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/ |
D | LayerSubject.kt | 50 val isVisible: Boolean constant in android.tools.flicker.subject.layers.LayerSubject 51 get() = layer.isVisible 53 get() = !layer.isVisible
|
D | LayerTraceEntrySubject.kt | 125 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/ |
D | WindowManagerStateHelperTest.kt | 207 .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>()
|