Home
last modified time | relevance | path

Searched refs:expectedVisibleRegion (Results 1 – 2 of 2) sorted by relevance

/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/
DLayersTraceTest.java158 final Rect expectedVisibleRegion = new Rect(0, 0, 1, 1); in canTestLayerVisibleRegion_layerDoesNotExist() local
159 Assertions.Result result = entry.hasVisibleRegion("ImaginaryLayer", expectedVisibleRegion); in canTestLayerVisibleRegion_layerDoesNotExist()
170 final Rect expectedVisibleRegion = new Rect(0, 0, 1, 1); in canTestLayerVisibleRegion_layerDoesNotHaveExpectedVisibleRegion() local
172 entry.hasVisibleRegion("NexusLauncherActivity#2", expectedVisibleRegion); in canTestLayerVisibleRegion_layerDoesNotHaveExpectedVisibleRegion()
187 final Rect expectedVisibleRegion = new Rect(0, 0, 1, 1); in canTestLayerVisibleRegion_layerIsHiddenByParent() local
191 expectedVisibleRegion); in canTestLayerVisibleRegion_layerIsHiddenByParent()
206 final Rect expectedVisibleRegion = new Rect(0, 0, 1440, 99); in canTestLayerVisibleRegion_incorrectRegionSize() local
207 Assertions.Result result = entry.hasVisibleRegion("StatusBar", expectedVisibleRegion); in canTestLayerVisibleRegion_incorrectRegionSize()
221 final Rect expectedVisibleRegion = new Rect(0, 0, 1440, 98); in canTestLayerVisibleRegion() local
222 Assertions.Result result = entry.hasVisibleRegion("StatusBar", expectedVisibleRegion); in canTestLayerVisibleRegion()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/
DLayersTrace.java310 public Result hasVisibleRegion(String layerName, Rect expectedVisibleRegion) { in hasVisibleRegion() argument
324 if (visibleRegion.equals(expectedVisibleRegion)) { in hasVisibleRegion()
329 layer.mProto.name + "has visible region " + expectedVisibleRegion); in hasVisibleRegion()
337 + expectedVisibleRegion; in hasVisibleRegion()