Searched refs:getSafeInset (Results 1 – 3 of 3) sorted by relevance
188 assertThat(cutoutSpecification.getSafeInset()).isEqualTo(new Rect(168, 168, 168, 168)); in parse_withBindMarker_shouldMatchExpectedSafeInset()223 assertThat(cutoutSpecification.getSafeInset()).isEqualTo(new Rect(168, 0, 168, 168)); in parse_withBindMarker_tabletLikeDevice_shouldMatchExpectedSafeInset()317 assertThat(cutoutSpecification.getSafeInset()).isEqualTo(new Rect(0, 156, 0, 0)); in parse_holeCutout_shouldMatchExpectedInset()326 assertThat(cutoutSpecification.getSafeInset()) in getSafeInset_shortEdgeIsTopBottom_shouldMatchExpectedInset()336 assertThat(cutoutSpecification.getSafeInset()) in getSafeInset_shortEdgeIsLeftRight_shouldMatchExpectedInset()
188 public Rect getSafeInset() { in getSafeInset() method in CutoutSpecification333 private int getSafeInset(int gravity) {362 int oldSafeInset = getSafeInset(gravity);
1255 Rect safeInset = cutoutSpec.getSafeInset();