Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/layout/
DExtensionWindowLayoutComponentTest.java226 final TestValueCountConsumer<WindowLayoutInfo> windowLayoutInfoConsumer = in testWindowLayoutComponent_windowLayoutInfoListener() local
229 mWindowLayoutComponent.addWindowLayoutInfoListener(activity, windowLayoutInfoConsumer); in testWindowLayoutComponent_windowLayoutInfoListener()
230 mWindowLayoutComponent.removeWindowLayoutInfoListener(windowLayoutInfoConsumer); in testWindowLayoutComponent_windowLayoutInfoListener()
246 TestValueCountConsumer<WindowLayoutInfo> windowLayoutInfoConsumer = in testWindowLayoutComponent_windowLayoutInfoListener_deviceStateChanged() local
248 windowLayoutInfoConsumer.setCount(1); in testWindowLayoutComponent_windowLayoutInfoListener_deviceStateChanged()
249 mWindowLayoutComponent.addWindowLayoutInfoListener(testActivity, windowLayoutInfoConsumer); in testWindowLayoutComponent_windowLayoutInfoListener_deviceStateChanged()
277 mWindowLayoutComponent.removeWindowLayoutInfoListener(windowLayoutInfoConsumer); in testWindowLayoutComponent_windowLayoutInfoListener_deviceStateChanged()
399 TestValueCountConsumer<WindowLayoutInfo> windowLayoutInfoConsumer = in testGetWindowLayoutInfo_displayMetricsChanged_windowLayoutUpdates() local
401 windowLayoutInfoConsumer.setCount(1); in testGetWindowLayoutInfo_displayMetricsChanged_windowLayoutUpdates()
405 testActivity, windowLayoutInfoConsumer); in testGetWindowLayoutInfo_displayMetricsChanged_windowLayoutUpdates()
[all …]
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/extensions/util/
DExtensionsUtil.java174 TestValueCountConsumer<WindowLayoutInfo> windowLayoutInfoConsumer = in getExtensionWindowLayoutInfo() local
176 windowLayoutComponent.addWindowLayoutInfoListener(context, windowLayoutInfoConsumer); in getExtensionWindowLayoutInfo()
177 WindowLayoutInfo info = windowLayoutInfoConsumer.waitAndGet(); in getExtensionWindowLayoutInfo()
183 windowLayoutComponent.removeWindowLayoutInfoListener(windowLayoutInfoConsumer); in getExtensionWindowLayoutInfo()