Home
last modified time | relevance | path

Searched refs:mDevicePostureProducer (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/sidecar/
H A DSampleSidecarImpl.java54 private final DataProducer<Integer> mDevicePostureProducer; field in SampleSidecarImpl
61 mDevicePostureProducer = new PriorityDataProducer<>(List.of( in SampleSidecarImpl()
72 mDevicePostureProducer.addDataChangedCallback(this::onDevicePostureChanged); in SampleSidecarImpl()
90 Optional<Integer> posture = mDevicePostureProducer.getData(); in getDeviceState()
/aosp12/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/layout/
H A DWindowLayoutComponentImpl.java65 private final DataProducer<Integer> mDevicePostureProducer; field in WindowLayoutComponentImpl
72 mDevicePostureProducer = new PriorityDataProducer<>(List.of( in WindowLayoutComponentImpl()
83 mDevicePostureProducer.addDataChangedCallback(this::onDisplayFeaturesChanged); in WindowLayoutComponentImpl()
138 Optional<Integer> posture = mDevicePostureProducer.getData(); in getFeatureState()