Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/layout/
DWindowLayoutComponentImpl.java66 private final Map<Context, DeduplicateConsumer<WindowLayoutInfo>> mWindowLayoutChangeListeners = field in WindowLayoutComponentImpl
131 if (mWindowLayoutChangeListeners.containsKey(context) in addWindowLayoutInfoListener()
145 mWindowLayoutChangeListeners.put(context, new DeduplicateConsumer<>(consumer)); in addWindowLayoutInfoListener()
181 for (Context context : mWindowLayoutChangeListeners.keySet()) { in removeWindowLayoutInfoListener()
183 mWindowLayoutChangeListeners.get(context); in removeWindowLayoutInfoListener()
196 mWindowLayoutChangeListeners.values().remove(consumerToRemove); in removeWindowLayoutInfoListener()
203 for (DeduplicateConsumer<WindowLayoutInfo> c : mWindowLayoutChangeListeners.values()) { in containsConsumer()
225 return mWindowLayoutChangeListeners.keySet(); in getContextsListeningForLayoutChanges()
267 Consumer<WindowLayoutInfo> layoutConsumer = mWindowLayoutChangeListeners.get( in onDisplayFeaturesChanged()