Searched refs:fromSpec (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/view/ |
D | DisplayCutoutTest.java | 21 import static android.view.DisplayCutout.fromSpec; 301 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f, waterfallInsets); in fromSpec_caches() 303 fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f, waterfallInsets), in fromSpec_caches() 309 DisplayCutout cached = fromSpec("L1,0 L1000,1000 L0,1 z", 200, 400, 1f, Insets.NONE); in fromSpec_wontCacheIfSpecChanges() 311 fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f, Insets.NONE), in fromSpec_wontCacheIfSpecChanges() 317 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 2000, 400, 1f, Insets.NONE); in fromSpec_wontCacheIfScreenWidthChanges() 319 fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f, Insets.NONE), in fromSpec_wontCacheIfScreenWidthChanges() 325 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 4000, 1f, Insets.NONE); in fromSpec_wontCacheIfScreenHeightChanges() 327 fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f, Insets.NONE), in fromSpec_wontCacheIfScreenHeightChanges() 333 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 2f, Insets.NONE); in fromSpec_wontCacheIfDensityChanges() [all …]
|
/frameworks/base/core/java/android/view/ |
D | DisplayCutout.java | 684 return fromSpec(res.getString(R.string.config_mainBuiltInDisplayCutoutRectApproximation), in fromResourcesRectApproximation() 707 public static DisplayCutout fromSpec(String spec, int displayWidth, int displayHeight, in fromSpec() method in DisplayCutout
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 21199 HSPLandroid/view/DisplayCutout;->fromSpec(Ljava/lang/String;IIFLandroid/graphics/Insets;)Landroid/v…
|