WindowLayoutInfoTesting

public final class WindowLayoutInfoTesting


Summary

Public constructors

Public methods

static final @NonNull WindowLayoutInfo

Returns a WindowLayoutInfo with default values for testing.

Public constructors

WindowLayoutInfoTesting

public final WindowLayoutInfoTesting()

Public methods

createWindowLayoutInfo

public static final @NonNull WindowLayoutInfo createWindowLayoutInfo(List<DisplayFeature> displayFeatures)

Returns a WindowLayoutInfo with default values for testing.

Parameters
List<DisplayFeature> displayFeatures

a List of DisplayFeature, the default value is an empty List.