Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/tests/coretests/src/android/view/
H A DDisplayCutoutTest.java21 import static android.view.DisplayCutout.fromSpec;
189 final Path first = fromSpec(cutoutSpecString, displayWidth, displayHeight, in testGetCutoutPath_caches()
361 fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f, waterfallInsets), in fromSpec_caches()
369 fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f, Insets.NONE), in fromSpec_wontCacheIfSpecChanges()
377 fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f, Insets.NONE), in fromSpec_wontCacheIfScreenWidthChanges()
385 fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f, Insets.NONE), in fromSpec_wontCacheIfScreenHeightChanges()
393 fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f, Insets.NONE), in fromSpec_wontCacheIfDensityChanges()
402 fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 2f, waterfallInsets), in fromSpec_wontCacheIfWaterfallInsetsChange()
414 DisplayCutout cutout = fromSpec("M -50,0 v 20 h 100 v -20 z" in fromSpec_setsSafeInsets_top_and_bottom()
443 DisplayCutout cutout = fromSpec("M -50,0 v 20 h 100 v -20 z" in fromSpec_setsSafeInsets_cutoutTopBottom_waterfallTopBottom()
[all …]
/aosp12/frameworks/base/core/java/android/view/
H A DDisplayCutout.java1014 public static DisplayCutout fromSpec(String pathSpec, int displayWidth, in fromSpec() method in DisplayCutout
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt63093 Landroid/view/DisplayCutout;->fromSpec(Ljava/lang/String;IIF)Landroid/view/DisplayCutout;