Searched refs:posture (Results 1 – 4 of 4) sorted by relevance
66 int posture; in DeviceStateManagerPostureProducer() local69 posture = Integer.parseInt(deviceStatePostureMapping[1]); in DeviceStateManagerPostureProducer()78 mDeviceStateToPostureMap.put(deviceState, posture); in DeviceStateManagerPostureProducer()90 final int posture = mDeviceStateToPostureMap.get(mCurrentDeviceState, -1); in getData() local91 return posture != -1 ? Optional.of(posture) : Optional.empty(); in getData()
55 int posture = Settings.Global.getInt(mResolver, DEVICE_POSTURE, -1); in getData() local56 return posture == -1 ? Optional.empty() : Optional.of(posture); in getData()
88 Optional<Integer> posture = mDevicePostureProducer.getData(); in getDeviceState() local91 deviceState.posture = posture.orElse(SidecarDeviceState.POSTURE_UNKNOWN); in getDeviceState()
78 Optional<Integer> posture = mDevicePostureProducer.getData(); in getFeatureState() local79 int fallbackPosture = posture.orElse(ExtensionFoldingFeature.STATE_FLAT); in getFeatureState()