Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/fold/ui/helper/
DFoldPosture.kt43 .let { foldingFeature -> in foldPostureInternal() method
44 when (foldingFeature?.state) { in foldPostureInternal()
46 FoldingFeature.State.HALF_OPENED -> foldingFeature.orientation.toHalfwayPosture() in foldPostureInternal()
48 if (foldingFeature.isSeparating) { in foldPostureInternal()
50 foldingFeature.orientation.toHalfwayPosture() in foldPostureInternal()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DSplitPresenter.java824 final FoldingFeature foldingFeature = getFoldingFeatureForHingeType( in sanitizeSplitAttributes() local
828 foldingFeature); in sanitizeSplitAttributes()
830 foldingFeature); in sanitizeSplitAttributes()
904 final FoldingFeature foldingFeature = getFoldingFeatureForHingeType( in getRelBoundsForPosition() local
912 bounds = getPrimaryBounds(taskConfiguration, splitAttributes, foldingFeature); in getRelBoundsForPosition()
915 bounds = getSecondaryBounds(taskConfiguration, splitAttributes, foldingFeature); in getRelBoundsForPosition()
929 @NonNull SplitAttributes splitAttributes, @Nullable FoldingFeature foldingFeature) { in getPrimaryBounds() argument
931 computeSplitType(splitAttributes, taskConfiguration, foldingFeature)); in getPrimaryBounds()
938 foldingFeature); in getPrimaryBounds()
942 foldingFeature); in getPrimaryBounds()
[all …]
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/layout/
DDisplayFoldFeatureUtil.java32 private static DisplayFoldFeature create(CommonFoldingFeature foldingFeature, in create() argument
35 if (foldingFeature.getType() == CommonFoldingFeature.COMMON_TYPE_HINGE) { in create()
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
DEmbeddingTestUtils.java216 final FoldingFeature foldingFeature = new FoldingFeature( in createWindowLayoutInfo() local
226 displayFeatures.add(foldingFeature); in createWindowLayoutInfo()