Searched refs:windowLayoutInfo (Results 1 – 9 of 9) sorted by relevance
197 WindowLayoutInfo windowLayoutInfo = getExtensionWindowLayoutInfo(activity); in getExtensionDisplayFeatureTypes() local198 if (windowLayoutInfo == null) { in getExtensionDisplayFeatureTypes()201 List<DisplayFeature> displayFeatureList = windowLayoutInfo.getDisplayFeatures(); in getExtensionDisplayFeatureTypes()213 public static void assumeHasDisplayFeatures(WindowLayoutInfo windowLayoutInfo) { in assumeHasDisplayFeatures() argument217 assertNotNull(windowLayoutInfo); in assumeHasDisplayFeatures()218 assertNotNull(windowLayoutInfo.getDisplayFeatures()); in assumeHasDisplayFeatures()219 assumeFalse(windowLayoutInfo.getDisplayFeatures().isEmpty()); in assumeHasDisplayFeatures()225 public static void assertHasDisplayFeatures(WindowLayoutInfo windowLayoutInfo) { in assertHasDisplayFeatures() argument229 assertNotNull(windowLayoutInfo); in assertHasDisplayFeatures()230 assertNotNull(windowLayoutInfo.getDisplayFeatures()); in assertHasDisplayFeatures()[all …]
122 SidecarWindowLayoutInfo windowLayoutInfo = sidecarInterface.getWindowLayoutInfo( in getSidecarDisplayFeatureTypes() local124 if (windowLayoutInfo == null) { in getSidecarDisplayFeatureTypes()127 return windowLayoutInfo.displayFeatures in getSidecarDisplayFeatureTypes()142 SidecarWindowLayoutInfo windowLayoutInfo = sidecarInterface.getWindowLayoutInfo( in assumeHasDisplayFeatures() local144 assertNotNull(windowLayoutInfo); // window layout info cannot be null in assumeHasDisplayFeatures()145 List<SidecarDisplayFeature> displayFeatures = windowLayoutInfo.displayFeatures; in assumeHasDisplayFeatures()232 @NonNull SidecarWindowLayoutInfo windowLayoutInfo, in getMutualDisplayFeatures()234 return windowLayoutInfo.displayFeatures in getMutualDisplayFeatures()
88 WindowLayoutInfo windowLayoutInfo = getExtensionWindowLayoutInfo(primaryActivity); in testDisplayFeaturesWithEmbedding() local89 assumeHasDisplayFeatures(windowLayoutInfo); in testDisplayFeaturesWithEmbedding()108 assertEquals(windowLayoutInfo.getDisplayFeatures().size(), in testDisplayFeaturesWithEmbedding()117 assertEquals(windowLayoutInfo.getDisplayFeatures().size(), in testDisplayFeaturesWithEmbedding()160 WindowLayoutInfo windowLayoutInfo = getExtensionWindowLayoutInfo(initialActivity); in testDisplayFeaturesWithEmbedding_differentPackage() local161 assumeHasDisplayFeatures(windowLayoutInfo); in testDisplayFeaturesWithEmbedding_differentPackage()178 assertEquals(windowLayoutInfo.getDisplayFeatures().size(), in testDisplayFeaturesWithEmbedding_differentPackage()
85 SidecarWindowLayoutInfo windowLayoutInfo = null; in assertCorrectWindowLayoutInfoOrException() local87 windowLayoutInfo = mSidecarInterface.getWindowLayoutInfo(windowToken); in assertCorrectWindowLayoutInfoOrException()93 mPrevWindowLayoutInfo = windowLayoutInfo; in assertCorrectWindowLayoutInfoOrException()95 assertEqualWindowLayoutInfo(mPrevWindowLayoutInfo, windowLayoutInfo); in assertCorrectWindowLayoutInfoOrException()
654 private static FoldingFeature getFoldingFeature(@Nullable WindowLayoutInfo windowLayoutInfo) { in getFoldingFeature() argument655 if (windowLayoutInfo == null) { in getFoldingFeature()659 List<FoldingFeature> foldingFeatures = windowLayoutInfo.getDisplayFeatures() in getFoldingFeature()
138 SidecarWindowLayoutInfo windowLayoutInfo = mSidecarInterface.getWindowLayoutInfo( in testSidecarInterface_getWindowLayoutInfo() local140 assertThat(windowLayoutInfo).isNotNull(); in testSidecarInterface_getWindowLayoutInfo()142 for (SidecarDisplayFeature displayFeature : windowLayoutInfo.displayFeatures) { in testSidecarInterface_getWindowLayoutInfo()
725 WindowLayoutInfo windowLayoutInfo = new WindowLayoutInfo(displayFeatures); in testWindowLayoutInfo_publicApi() local728 assertEquals(displayFeatures, windowLayoutInfo.getDisplayFeatures()); in testWindowLayoutInfo_publicApi()784 private List<FoldingFeature> extractFoldingFeatures(WindowLayoutInfo windowLayoutInfo) { in extractFoldingFeatures() argument786 for (DisplayFeature feature : windowLayoutInfo.getDisplayFeatures()) { in extractFoldingFeatures()
516 public WindowLayoutInfoParcelable(WindowLayoutInfo windowLayoutInfo) {517 this.mDisplayFeatures = windowLayoutInfo.getDisplayFeatures();
848 mWindowLayoutInfoConsumer = (windowLayoutInfo) -> getTracer().getWindowLayoutInfo( in onCreate()849 windowLayoutInfo, () -> {}); in onCreate()1748 void getWindowLayoutInfo(@NonNull WindowLayoutInfo windowLayoutInfo,1752 new ImeEventStreamTestUtils.WindowLayoutInfoParcelable(windowLayoutInfo);