Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/common/
DDeviceStateManagerFoldingFeatureProducer.java141 String displayFeaturesString) { in runCallbackWhenValidState() argument
143 callback.accept(calculateFoldingFeature(displayFeaturesString)); in runCallbackWhenValidState()
179 Optional<String> displayFeaturesString = mRawFoldSupplier.getCurrentData(); in getCurrentData() local
183 return displayFeaturesString.map(this::calculateFoldingFeature); in getCurrentData()
218 mRawFoldSupplier.getData((String displayFeaturesString) -> { in getData() argument
219 if (TextUtils.isEmpty(displayFeaturesString)) { in getData()
222 runCallbackWhenValidState(storeFeaturesConsumer, displayFeaturesString); in getData()
227 private void notifyFoldingFeatureChange(String displayFeaturesString) { in notifyFoldingFeatureChange() argument
231 if (TextUtils.isEmpty(displayFeaturesString)) { in notifyFoldingFeatureChange()
234 notifyDataChanged(calculateFoldingFeature(displayFeaturesString)); in notifyFoldingFeatureChange()
[all …]
DRawFoldingFeatureProducer.java67 String displayFeaturesString = getFeatureString(); in getData() local
68 if (displayFeaturesString == null) { in getData()
71 dataConsumer.accept(displayFeaturesString); in getData()