# FoldingFeatureTestingConstants

# 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)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/window/testing/layout/FoldingFeatureTestingConstants "View this page in Java")

<br />

```
object FoldingFeatureTestingConstants
```

<br />

*** ** * ** ***

A class to contain all the constants related to testing[androidx.window.layout.DisplayFeature](https://developer.android.com/reference/kotlin/androidx/window/layout/DisplayFeature)s.

## Summary

|                                    ### Constants                                    |
|-------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [FOLDING_FEATURE_CENTER_DEFAULT](https://developer.android.com/reference/kotlin/androidx/window/testing/layout/FoldingFeatureTestingConstants#FOLDING_FEATURE_CENTER_DEFAULT()) A constant that denotes the center of a[FoldingFeature](https://developer.android.com/reference/kotlin/androidx/window/layout/FoldingFeature)should be calculated the aligned with either the vertical or horizontal center of the given window. |

## Constants

### FOLDING_FEATURE_CENTER_DEFAULT

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

```
const val FOLDING_FEATURE_CENTER_DEFAULT: Int
```

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