Searched refs:foldingFeature (Results 1 – 2 of 2) sorted by relevance
544 FoldingFeature foldingFeature; in getExpectedBoundsPair() local546 foldingFeature = getFoldingFeature(getExtensionWindowLayoutInfo(activity)); in getExpectedBoundsPair()548 foldingFeature = null; in getExpectedBoundsPair()551 if (shouldSplitByHinge(foldingFeature, splitAttributes)) { in getExpectedBoundsPair()554 final Rect hingeArea = foldingFeature.getBounds(); in getExpectedBoundsPair()671 private static boolean shouldSplitByHinge(@Nullable FoldingFeature foldingFeature, in shouldSplitByHinge() argument679 if (foldingFeature == null) { in shouldSplitByHinge()683 final Rect hingeArea = foldingFeature.getBounds(); in shouldSplitByHinge()
300 final FoldingFeature foldingFeature = (FoldingFeature) displayFeature; in testWindowLayoutComponent_providesWindowLayoutFromActivity() local301 final int featureType = foldingFeature.getType(); in testWindowLayoutComponent_providesWindowLayoutFromActivity()305 final int featureState = foldingFeature.getState(); in testWindowLayoutComponent_providesWindowLayoutFromActivity()720 FoldingFeature foldingFeature = new FoldingFeature(foldBoundaries, TYPE_FOLD, STATE_FLAT); in testWindowLayoutInfo_publicApi() local723 displayFeatures.add(foldingFeature); in testWindowLayoutInfo_publicApi()