Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DActivityEmbeddingUtil.java544 FoldingFeature foldingFeature; in getExpectedBoundsPair() local
546 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() argument
679 if (foldingFeature == null) { in shouldSplitByHinge()
683 final Rect hingeArea = foldingFeature.getBounds(); in shouldSplitByHinge()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/layout/
DExtensionWindowLayoutComponentTest.java300 final FoldingFeature foldingFeature = (FoldingFeature) displayFeature; in testWindowLayoutComponent_providesWindowLayoutFromActivity() local
301 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() local
723 displayFeatures.add(foldingFeature); in testWindowLayoutInfo_publicApi()