Searched refs:CutoutSpecification (Results 1 – 8 of 8) sorted by relevance
128 private CutoutSpecification.Parser mParser;135 mParser = new CutoutSpecification.Parser(3.5f, 1080, 1920); in setUp()145 CutoutSpecification cutoutSpecification = mParser.parse(""); in parse_emptyString_pathShouldBeNull()151 CutoutSpecification cutoutSpecification = mParser.parse(WITHOUT_BIND_CUTOUT_SPECIFICATION); in parse_withoutBindMarker_shouldHaveNoLeftBound()157 CutoutSpecification cutoutSpecification = mParser.parse(WITHOUT_BIND_CUTOUT_SPECIFICATION); in parse_withoutBindMarker_shouldHaveNoRightBound()163 CutoutSpecification cutoutSpecification = mParser.parse(WITH_BIND_CUTOUT_SPECIFICATION); in parse_withBindMarker_shouldHaveLeftBound()169 CutoutSpecification cutoutSpecification = mParser.parse(WITH_BIND_CUTOUT_SPECIFICATION); in parse_withBindMarker_shouldHaveTopBound()175 CutoutSpecification cutoutSpecification = mParser.parse(WITH_BIND_CUTOUT_SPECIFICATION); in parse_withBindMarker_shouldHaveRightBound()181 CutoutSpecification cutoutSpecification = mParser.parse(WITH_BIND_CUTOUT_SPECIFICATION); in parse_withBindMarker_shouldHaveBottomBound()187 CutoutSpecification cutoutSpecification = mParser.parse(WITH_BIND_CUTOUT_SPECIFICATION); in parse_withBindMarker_shouldMatchExpectedSafeInset()[all …]
167 new CutoutSpecification.Parser(DISPLAY_DENSITY, DISPLAY_WIDTH, DISPLAY_HEIGHT) in parseByNewMethodForDoubleCutout()198 new CutoutSpecification.Parser(DISPLAY_DENSITY, DISPLAY_WIDTH, DISPLAY_HEIGHT) in parseLongEdgeCutout()220 new CutoutSpecification.Parser(DISPLAY_DENSITY, DISPLAY_WIDTH, DISPLAY_HEIGHT) in parseShortEdgeCutout()
73 public class CutoutSpecification { class99 private CutoutSpecification(@NonNull Parser parser) { in CutoutSpecification() method in CutoutSpecification508 public CutoutSpecification parse(@NonNull String originalSpec) {523 return new CutoutSpecification(this);
752 final CutoutSpecification cutoutSpec = new CutoutSpecification.Parser( in getCutoutPath()1116 CutoutSpecification cutoutSpec = new CutoutSpecification.Parser(density, in pathAndDisplayCutoutFromSpec()
7899 android.view.CutoutSpecification$Parser7900 android.view.CutoutSpecification
30438 Landroid/view/CutoutSpecification$Parser;30439 Landroid/view/CutoutSpecification;
7930 android.view.CutoutSpecification$Parser7931 android.view.CutoutSpecification
40433 Landroid/view/CutoutSpecification$Parser;40434 Landroid/view/CutoutSpecification;