# FoldingFeatureTestingConstants

Artifact: [androidx.window:window-testing](https://developer.android.com/jetpack/androidx/releases/window) [View Source](https://cs.android.com/search?q=file:androidx/window/testing/layout/DisplayFeatureTesting.kt+class:androidx.window.testing.layout.FoldingFeatureTestingConstants) Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/window#1.2.0)

*** ** * ** ***


```
public static class FoldingFeatureTestingConstants
```

<br />

*** ** * ** ***

A class to contain all the constants related to testing `https://developer.android.com/reference/androidx/window/layout/DisplayFeature`s.

## Summary

| ### Constants |
|---|---|
| `static final int` | `https://developer.android.com/reference/androidx/window/testing/layout/FoldingFeatureTestingConstants#FOLDING_FEATURE_CENTER_DEFAULT()` A constant that denotes the center of a `https://developer.android.com/reference/androidx/window/layout/FoldingFeature` should be calculated the aligned with either the vertical or horizontal center of the given window. |

| ### Public fields |
|---|---|
| `static @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/window/testing/layout/FoldingFeatureTestingConstants` | `https://developer.android.com/reference/androidx/window/testing/layout/FoldingFeatureTestingConstants#INSTANCE()` |

## Constants

### FOLDING_FEATURE_CENTER_DEFAULT

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/window#1.2.0)

```
public static final int FOLDING_FEATURE_CENTER_DEFAULT
```

A constant that denotes the center of a `https://developer.android.com/reference/androidx/window/layout/FoldingFeature` should be calculated the aligned with either the vertical or horizontal center of the given window.

## Public fields

### INSTANCE

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/window#1.2.0)

```
public static @NonNull FoldingFeatureTestingConstants INSTANCE
```