Home
last modified time | relevance | path

Searched refs:WindowLayout (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DParsedActivityTest.kt65 ActivityInfo.WindowLayout(1, 1f, 2, 1f, 3, 4, 5), in <lambda>()
69 ActivityInfo.WindowLayout::width, in <lambda>()
70 ActivityInfo.WindowLayout::widthFraction, in <lambda>()
71 ActivityInfo.WindowLayout::height, in <lambda>()
72 ActivityInfo.WindowLayout::heightFraction, in <lambda>()
73 ActivityInfo.WindowLayout::gravity, in <lambda>()
74 ActivityInfo.WindowLayout::minWidth, in <lambda>()
75 ActivityInfo.WindowLayout::minHeight in <lambda>()
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/
DWindowLayoutWrapper.java30 private final ActivityInfo.WindowLayout mLayout;
32 private WindowLayoutWrapper(ActivityInfo.WindowLayout layout) { in WindowLayoutWrapper()
37 public static WindowLayoutWrapper create(@Nullable ActivityInfo.WindowLayout layout) { in create()
DCalculateParams.java44 public static CalculateParams create(Task task, ActivityInfo.WindowLayout layout, in create()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDesktopModeLaunchParamsModifierTests.java201 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder().setWidth(120) in testNonEmptyLayoutBounds_CenterToDisplay()
216 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder().setWidth(120) in testNonEmptyLayoutBounds_LeftGravity()
231 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder().setWidth(120) in testNonEmptyLayoutBounds_TopGravity()
246 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder().setWidth(120) in testNonEmptyLayoutBounds_TopLeftGravity()
261 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder().setWidth(120) in testNonEmptyLayoutBounds_RightGravity()
276 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBounds_BottomGravity()
291 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBounds_RightBottomGravity()
306 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutFractionBounds()
321 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_LeftGravity()
336 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder().setGravity(Gravity.TOP) in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_TopGravity()
[all …]
DLaunchParamsModifierTestsBase.java107 private ActivityInfo.WindowLayout mLayout;
121 CalculateRequestBuilder setLayout(ActivityInfo.WindowLayout layout) { in setLayout()
201 ActivityInfo.WindowLayout build() { in build()
202 return new ActivityInfo.WindowLayout(mWidth, mWidthFraction, mHeight, mHeightFraction, in build()
DTaskLaunchParamsModifierTests.java549 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testRecalculateFreeformInitialBoundsWithOverrideDisplayArea()
774 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutInfersFreeformOnFreeformDisplay()
794 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testLayoutWithGravityAndEmptySizeInfersFreeformAndRespectsCurrentSize()
809 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutUsesFullscreenWithResizeableActivity()
1105 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_LeftGravity()
1121 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_TopGravity()
1137 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_TopLeftGravity()
1154 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_RightGravity()
1170 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_BottomGravity()
1186 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_BottomRightGravity()
[all …]
DLaunchParamsControllerTests.java44 import android.content.pm.ActivityInfo.WindowLayout;
91 final WindowLayout layout = new WindowLayout(0, 0, 0, 0, 0, 0, 0); in testArgumentPropagation()
270 final WindowLayout layout = new WindowLayout(0, 0, 0, 0, 0, 0, 0); in testCalculatePhase()
385 public int onCalculate(Task task, WindowLayout layout, ActivityRecord activity, in onCalculate()
DActivityTaskManagerServiceTests.java555 final ActivityInfo.WindowLayout windowLayout = in testSupportsMultiWindow_activityMinWidthHeight_largerThanSupport()
556 new ActivityInfo.WindowLayout(0, 0, 0, 0, 0, in testSupportsMultiWindow_activityMinWidthHeight_largerThanSupport()
613 final ActivityInfo.WindowLayout windowLayout = in testSupportsMultiWindow_landscape_checkActivityMinWidth()
614 new ActivityInfo.WindowLayout(0, 0, 0, 0, 0, in testSupportsMultiWindow_landscape_checkActivityMinWidth()
648 final ActivityInfo.WindowLayout windowLayout = in testSupportsMultiWindow_portrait_checkActivityMinHeight()
649 new ActivityInfo.WindowLayout(0, 0, 0, 0, 0, in testSupportsMultiWindow_portrait_checkActivityMinHeight()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIBottomSheetDialog.kt55 private val windowLayout: WindowLayout,
116 private val defaultWindowLayout: Lazy<WindowLayout.LimitedEdgeToEdge>,
122 windowLayout: WindowLayout = defaultWindowLayout.get(), in create()
136 interface WindowLayout { in create() interface
147 ) : WindowLayout { in create()
/frameworks/base/services/core/java/com/android/server/wm/
DLaunchParamsController.java31 import android.content.pm.ActivityInfo.WindowLayout;
81 void calculate(Task task, WindowLayout layout, ActivityRecord activity, ActivityRecord source, in calculate()
129 boolean layoutTask(Task task, WindowLayout layout) { in layoutTask()
133 boolean layoutTask(Task task, WindowLayout layout, ActivityRecord activity, in layoutTask()
312 int onCalculate(@Nullable Task task, @Nullable WindowLayout layout, in onCalculate()
DLaunchParamsUtil.java75 @NonNull ActivityInfo.WindowLayout layout, int orientation, in getDefaultFreeformSize()
139 @NonNull ActivityInfo.WindowLayout layout, in adjustBoundsToFitInDisplayArea()
208 @NonNull ActivityInfo.WindowLayout windowLayout, @NonNull Rect inOutBounds, in calculateLayoutBounds()
DDesktopModeLaunchParamsModifier.java67 public int onCalculate(@Nullable Task task, @Nullable ActivityInfo.WindowLayout layout, in onCalculate()
80 private int calculate(@Nullable Task task, @Nullable ActivityInfo.WindowLayout layout, in calculate()
DTaskLaunchParamsModifier.java99 public int onCalculate(@Nullable Task task, @Nullable ActivityInfo.WindowLayout layout, in onCalculate()
110 private int calculate(@Nullable Task task, @Nullable ActivityInfo.WindowLayout layout, in calculate()
631 @NonNull ActivityInfo.WindowLayout windowLayout, @NonNull Rect inOutBounds) { in getLayoutBounds()
729 @NonNull ActivityInfo.WindowLayout layout, int resolvedMode, boolean hasInitialBounds, in getTaskBounds()
823 @NonNull ActivityInfo.WindowLayout layout, in adjustBoundsToFitInDisplayArea()
/frameworks/opt/car/services/builtInServices/tests/src/com/android/server/wm/
DWindowLayoutWrapperTest.java32 ActivityInfo.WindowLayout layout = new ActivityInfo.WindowLayout( in create_returnsActivityOptionWrapper()
DCalculateParamsTest.java42 private ActivityInfo.WindowLayout mLayout = new ActivityInfo.WindowLayout(
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DSystemUIBottomSheetDialogTest.kt105 private class TestLayout : SystemUIBottomSheetDialog.WindowLayout {
106 override fun calculate(): Flow<SystemUIBottomSheetDialog.WindowLayout.Layout> { in calculate()
108 SystemUIBottomSheetDialog.WindowLayout.Layout( in calculate()
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedActivityUtils.java446 ParseResult<ActivityInfo.WindowLayout> layoutResult = in parseActivityOrAlias()
486 ParseResult<ActivityInfo.WindowLayout> layoutResult = in parseActivityOrAlias()
574 private static ParseResult<ActivityInfo.WindowLayout> parseActivityWindowLayout(Resources res, in parseActivityWindowLayout()
605 final ActivityInfo.WindowLayout windowLayout = new ActivityInfo.WindowLayout(width, in parseActivityWindowLayout()
620 private static ParseResult<ActivityInfo.WindowLayout> resolveActivityWindowLayout( in resolveActivityWindowLayout()
635 ActivityInfo.WindowLayout layout = activity.getWindowLayout(); in resolveActivityWindowLayout()
637 layout = new ActivityInfo.WindowLayout(-1 /* width */, -1 /* widthFraction */, in resolveActivityWindowLayout()
DParsedActivity.java83 ActivityInfo.WindowLayout getWindowLayout(); in getWindowLayout()
DParsedActivityImpl.java95 private ActivityInfo.WindowLayout windowLayout;
360 windowLayout = new ActivityInfo.WindowLayout(in); in ParsedActivityImpl()
421 @Nullable ActivityInfo.WindowLayout windowLayout, in ParsedActivityImpl()
565 public @Nullable ActivityInfo.WindowLayout getWindowLayout() { in getWindowLayout()
700 public @NonNull ParsedActivityImpl setWindowLayout(@NonNull ActivityInfo.WindowLayout value) { in setWindowLayout()
/frameworks/base/core/java/android/content/pm/
DActivityInfo.java1725 public WindowLayout windowLayout;
2279 windowLayout = new WindowLayout(source);
2309 public static final class WindowLayout {
2310 public WindowLayout(int width, float widthFraction, int height, float heightFraction,
2317 public WindowLayout(int width, float widthFraction, int height, float heightFraction,
2330 public WindowLayout(Parcel source) {
/frameworks/layoutlib/bridge/src/android/view/
DAttachInfo_Accessor.java33 new WindowLayout()); in setAttachInfo()
/frameworks/base/core/java/android/view/
DWindowlessWindowLayout.java36 public class WindowlessWindowLayout extends WindowLayout {
DWindowLayout.java50 public class WindowLayout { class
51 private static final String TAG = WindowLayout.class.getSimpleName();
DInsetsState.java484 WindowLayout.MIN_X, WindowLayout.MIN_Y, WindowLayout.MAX_X, WindowLayout.MAX_Y); in getDisplayCutoutSafe()
/frameworks/base/core/tests/coretests/src/android/view/
DWindowLayoutTests.java24 import static android.view.WindowLayout.UNSPECIFIED_LENGTH;
71 private final WindowLayout mWindowLayout = new WindowLayout();

123