Home
last modified time | relevance | path

Searched refs:foldedDeviceStates (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/util/
DFoldableTestUtils.kt28 val foldedDeviceStates: IntArray = context.resources.getIntArray( in findDeviceStates() constant
31 foldedDeviceStates.isNotEmpty()) in findDeviceStates()
34 identifier = foldedDeviceStates.maxOrNull()!! in findDeviceStates()
/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/
DPosturesHelper.kt31 private val foldedDeviceStates = constant
43 in foldedDeviceStates -> DEVICE_STATE_ROTATION_KEY_FOLDED in deviceStateToPosture()
53 DEVICE_STATE_ROTATION_KEY_FOLDED -> foldedDeviceStates.firstOrNull() in postureToDeviceState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DFoldStateListener.kt42 private val foldedDeviceStates: IntArray = in onFoldStateChanged() constant
50 val isFolded = foldedDeviceStates.contains(state.identifier) in onFoldStateChanged()