Searched refs:windowLayoutInfoConsumer (Results 1 – 2 of 2) sorted by relevance
226 final TestValueCountConsumer<WindowLayoutInfo> windowLayoutInfoConsumer = in testWindowLayoutComponent_windowLayoutInfoListener() local229 mWindowLayoutComponent.addWindowLayoutInfoListener(activity, windowLayoutInfoConsumer); in testWindowLayoutComponent_windowLayoutInfoListener()230 mWindowLayoutComponent.removeWindowLayoutInfoListener(windowLayoutInfoConsumer); in testWindowLayoutComponent_windowLayoutInfoListener()246 TestValueCountConsumer<WindowLayoutInfo> windowLayoutInfoConsumer = in testWindowLayoutComponent_windowLayoutInfoListener_deviceStateChanged() local248 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() local401 windowLayoutInfoConsumer.setCount(1); in testGetWindowLayoutInfo_displayMetricsChanged_windowLayoutUpdates()405 testActivity, windowLayoutInfoConsumer); in testGetWindowLayoutInfo_displayMetricsChanged_windowLayoutUpdates()[all …]
174 TestValueCountConsumer<WindowLayoutInfo> windowLayoutInfoConsumer = in getExtensionWindowLayoutInfo() local176 windowLayoutComponent.addWindowLayoutInfoListener(context, windowLayoutInfoConsumer); in getExtensionWindowLayoutInfo()177 WindowLayoutInfo info = windowLayoutInfoConsumer.waitAndGet(); in getExtensionWindowLayoutInfo()183 windowLayoutComponent.removeWindowLayoutInfoListener(windowLayoutInfoConsumer); in getExtensionWindowLayoutInfo()