@SdkSuppress(minSdkVersion = 26) @Test public void flattenEmptyPath() { for (PathSegment segment : PathUtils.flatten(new Path())) { fail("An empty path should not have segments: " + segment); } }
@RequiresApi(26) @NonNull public static Collection<PathSegment> flatten(@NonNull Path path) { return flatten(path, 0.5f); }
PathUtils { @RequiresApi(26) @NonNull public static Collection<PathSegment> flatten(@NonNull Path path) { return flatten(path, 0.5f); } }
PathUtils { @RequiresApi(26) @NonNull public static Collection<PathSegment> flatten(@NonNull Path path) { return flatten(path, 0.5f); } private  PathUtils(); }
PathUtils { @RequiresApi(26) @NonNull public static Collection<PathSegment> flatten(@NonNull Path path) { return flatten(path, 0.5f); } private  PathUtils(); @RequiresApi(26) @NonNull static Collection<PathSegment> flatten(@NonNull Path path); @RequiresApi(26) @NonNull static Collection<PathSegment> flatten(@NonNull final Path path,
            @FloatRange(from = 0) final float error); }
PathUtils { @RequiresApi(26) @NonNull public static Collection<PathSegment> flatten(@NonNull Path path) { return flatten(path, 0.5f); } private  PathUtils(); @RequiresApi(26) @NonNull static Collection<PathSegment> flatten(@NonNull Path path); @RequiresApi(26) @NonNull static Collection<PathSegment> flatten(@NonNull final Path path,
            @FloatRange(from = 0) final float error);  }