Home
last modified time | relevance | path

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

/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/
DLayersTraceSubject.java168 public LayersTraceSubject hasVisibleRegion(String layerName, Rect size) { in hasVisibleRegion() argument
170 entry -> entry.hasVisibleRegion(layerName, size), in hasVisibleRegion()
171 "hasVisibleRegion(" + layerName + size + ")"); in hasVisibleRegion()
175 public LayersTraceSubject hasNotLayer(String layerName) { in hasNotLayer() argument
176 addAssertion(entry -> entry.exists(layerName).negate(), "hasNotLayer(" + layerName + ")"); in hasNotLayer()
180 public LayersTraceSubject hasLayer(String layerName) { in hasLayer() argument
181 addAssertion(entry -> entry.exists(layerName), "hasLayer(" + layerName + ")"); in hasLayer()
185 public LayersTraceSubject showsLayer(String layerName) { in showsLayer() argument
186 addAssertion(entry -> entry.isVisible(layerName), "showsLayer(" + layerName + ")"); in showsLayer()
195 public LayersTraceSubject hidesLayer(String layerName) { in hidesLayer() argument
[all …]
DLayersTrace.java310 public Result hasVisibleRegion(String layerName, Rect expectedVisibleRegion) { in hasVisibleRegion() argument
312 String reason = "Could not find " + layerName; in hasVisibleRegion()
314 if (layer.mProto.name.contains(layerName)) { in hasVisibleRegion()
344 public Result exists(String layerName) { in exists() argument
346 String reason = "Could not find " + layerName; in exists()
348 if (layer.mProto.name.contains(layerName)) { in exists()
360 public Result isVisible(String layerName) { in isVisible() argument
362 String reason = "Could not find " + layerName; in isVisible()
364 if (layer.mProto.name.contains(layerName)) { in isVisible()
406 public Rect getVisibleBounds(String layerName) { in getVisibleBounds() argument
[all …]
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/
DSfStatsCollectionHelper.java116 String layerName = layerPairs.get("layerName"); in getMetrics() local
121 constructKey(SFSTATS_METRICS_PREFIX, layerName, "TOTAL_FRAMES"), in getMetrics()
124 constructKey(SFSTATS_METRICS_PREFIX, layerName, "DROPPED_FRAMES"), in getMetrics()
127 constructKey(SFSTATS_METRICS_PREFIX, layerName, "AVERAGE_FPS"), in getMetrics()