Searched refs:displayAreaBounds (Results 1 – 2 of 2) sorted by relevance
94 public static void assertMetricsValidity(Context context, Rect displayAreaBounds) { in assertMetricsValidity() argument106 if (maxWindowBoundsSandboxed(displayAreaBounds, maxBounds)) { in assertMetricsValidity()117 displayAreaBounds, maxBounds); in assertMetricsValidity()180 public static boolean maxWindowBoundsSandboxed(Rect displayAreaBounds, Rect maxBounds) { in maxWindowBoundsSandboxed() argument181 return maxBounds.width() < displayAreaBounds.width() in maxWindowBoundsSandboxed()182 || maxBounds.height() < displayAreaBounds.height(); in maxWindowBoundsSandboxed()
316 final Rect displayAreaBounds = getTaskDisplayAreaBounds(activityName); in assertMetricsValidityForNonresizableActivity() local319 if (maxWindowBoundsSandboxed(displayAreaBounds, maxBounds)) { in assertMetricsValidityForNonresizableActivity()326 assertEquals("Display area bounds must match max window size", displayAreaBounds, in assertMetricsValidityForNonresizableActivity()