Searched refs:displayAreaBounds (Results 1 – 2 of 2) sorted by relevance
81 public static void assertMetricsValidity(Context context, Rect displayAreaBounds) { in assertMetricsValidity() argument96 if (maxWindowBoundsSandboxed(displayAreaBounds, maxBounds)) { in assertMetricsValidity()105 displayAreaBounds, maxBounds); in assertMetricsValidity()152 static boolean maxWindowBoundsSandboxed(Rect displayAreaBounds, Rect maxBounds) { in maxWindowBoundsSandboxed() argument153 return maxBounds.width() < displayAreaBounds.width() in maxWindowBoundsSandboxed()154 || maxBounds.height() < displayAreaBounds.height(); in maxWindowBoundsSandboxed()
328 final Rect displayAreaBounds = getTaskDisplayAreaBounds(activityName); in assertMetricsValidityForNonresizableActivity() local331 if (maxWindowBoundsSandboxed(displayAreaBounds, maxBounds)) { in assertMetricsValidityForNonresizableActivity()338 assertEquals("Display area bounds must match max window size", displayAreaBounds, in assertMetricsValidityForNonresizableActivity()