Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
H A DParsedActivityTest.kt64 ActivityInfo.WindowLayout(1, 1f, 2, 1f, 3, 4, 5),
68 ActivityInfo.WindowLayout::width,
69 ActivityInfo.WindowLayout::widthFraction,
70 ActivityInfo.WindowLayout::height,
71 ActivityInfo.WindowLayout::heightFraction,
72 ActivityInfo.WindowLayout::gravity,
73 ActivityInfo.WindowLayout::minWidth,
74 ActivityInfo.WindowLayout::minHeight
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DLaunchParamsController.java31 import android.content.pm.ActivityInfo.WindowLayout;
84 void calculate(Task task, WindowLayout layout, ActivityRecord activity, ActivityRecord source, in calculate()
132 boolean layoutTask(Task task, WindowLayout layout) { in layoutTask()
136 boolean layoutTask(Task task, WindowLayout layout, ActivityRecord activity, in layoutTask()
315 int onCalculate(@Nullable Task task, @Nullable WindowLayout layout, in onCalculate()
H A DDesktopModeLaunchParamsModifier.java57 public int onCalculate(@Nullable Task task, @Nullable ActivityInfo.WindowLayout layout, in onCalculate()
70 private int calculate(@Nullable Task task, @Nullable ActivityInfo.WindowLayout layout, in calculate()
H A DLaunchParamsUtil.java73 @NonNull ActivityInfo.WindowLayout layout, int orientation, in getDefaultFreeformSize()
137 @NonNull ActivityInfo.WindowLayout layout, in adjustBoundsToFitInDisplayArea()
H A 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()
596 @NonNull ActivityInfo.WindowLayout windowLayout, @NonNull Rect inOutBounds) { in getLayoutBounds()
746 @NonNull ActivityInfo.WindowLayout layout, int resolvedMode, boolean hasInitialBounds, in getTaskBounds()
840 @NonNull ActivityInfo.WindowLayout layout, in adjustBoundsToFitInDisplayArea()
H A DDisplayPolicy.java35 import static android.view.WindowLayout.UNSPECIFIED_LENGTH;
118 import android.view.WindowLayout;
334 private final WindowLayout mWindowLayout = new WindowLayout();
1159 WindowLayout.extendFrameByCutout(safe, displayFrame, inOutFrame, sTmpRect); in getFrameProvider()
1166 WindowLayout.extendFrameByCutout(safe, displayFrame, sTmpRect2, sTmpRect); in getFrameProvider()
H A DLaunchParamsPersister.java304 ActivityInfo.WindowLayout layout = activity.info.windowLayout; in getLaunchParams()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DTaskLaunchParamsModifierTests.java567 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testRecalculateFreeformInitialBoundsWithOverrideDisplayArea()
771 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutInfersFreeformOnFreeformDisplay()
791 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testLayoutWithGravityAndEmptySizeInfersFreeformAndRespectsCurrentSize()
806 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutUsesFullscreenWithResizeableActivity()
1102 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_LeftGravity()
1118 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_TopGravity()
1134 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_TopLeftGravity()
1151 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_RightGravity()
1167 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_BottomGravity()
2010 private ActivityInfo.WindowLayout mLayout;
[all …]
H A 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()
H A DActivityTaskManagerServiceTests.java480 final ActivityInfo.WindowLayout windowLayout = in testSupportsMultiWindow_activityMinWidthHeight_largerThanSupport()
481 new ActivityInfo.WindowLayout(0, 0, 0, 0, 0, in testSupportsMultiWindow_activityMinWidthHeight_largerThanSupport()
533 final ActivityInfo.WindowLayout windowLayout = in testSupportsMultiWindow_landscape_checkActivityMinWidth()
534 new ActivityInfo.WindowLayout(0, 0, 0, 0, 0, in testSupportsMultiWindow_landscape_checkActivityMinWidth()
568 final ActivityInfo.WindowLayout windowLayout = in testSupportsMultiWindow_portrait_checkActivityMinHeight()
569 new ActivityInfo.WindowLayout(0, 0, 0, 0, 0, in testSupportsMultiWindow_portrait_checkActivityMinHeight()
H A DActivityStarterTests.java95 import android.content.pm.ActivityInfo.WindowLayout;
457 final WindowLayout windowLayout = in testCreateTaskLayout()
458 new WindowLayout(10, .5f, 20, 1.0f, Gravity.NO_GRAVITY, 1, 1); in testCreateTaskLayout()
1700 final WindowLayout windowLayout = new WindowLayout(0, 0, 0, 0, 0, in testCanEmbedActivity()
H A DContentRecorderTests.java362 info.windowLayout = new ActivityInfo.WindowLayout(-1 /* width */, in testOnTaskBoundsConfigurationChanged_notifiesCallback()
H A DWindowTestsBase.java1108 private ActivityInfo.WindowLayout mWindowLayout;
1237 ActivityBuilder setWindowLayout(ActivityInfo.WindowLayout windowLayout) { in setWindowLayout()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/pkg/component/
H A DParsedActivityUtils.java439 ParseResult<ActivityInfo.WindowLayout> layoutResult = in parseActivityOrAlias()
479 ParseResult<ActivityInfo.WindowLayout> layoutResult = in parseActivityOrAlias()
567 private static ParseResult<ActivityInfo.WindowLayout> parseActivityWindowLayout(Resources res, in parseActivityWindowLayout()
598 final ActivityInfo.WindowLayout windowLayout = new ActivityInfo.WindowLayout(width, in parseActivityWindowLayout()
613 private static ParseResult<ActivityInfo.WindowLayout> resolveActivityWindowLayout( in resolveActivityWindowLayout()
628 ActivityInfo.WindowLayout layout = activity.getWindowLayout(); in resolveActivityWindowLayout()
630 layout = new ActivityInfo.WindowLayout(-1 /* width */, -1 /* widthFraction */, in resolveActivityWindowLayout()
H A DParsedActivityImpl.java97 private ActivityInfo.WindowLayout windowLayout;
356 windowLayout = new ActivityInfo.WindowLayout(in); in ParsedActivityImpl()
416 @Nullable ActivityInfo.WindowLayout windowLayout, in ParsedActivityImpl()
558 public @Nullable ActivityInfo.WindowLayout getWindowLayout() { in getWindowLayout()
688 public @NonNull ParsedActivityImpl setWindowLayout(@NonNull ActivityInfo.WindowLayout value) { in setWindowLayout()
H A DParsedActivity.java96 ActivityInfo.WindowLayout getWindowLayout(); in getWindowLayout()
/aosp14/frameworks/base/core/java/android/content/pm/
H A DActivityInfo.java1543 public WindowLayout windowLayout;
2091 windowLayout = new WindowLayout(source); in ActivityInfo()
2120 public static final class WindowLayout { class in ActivityInfo
2121 public WindowLayout(int width, float widthFraction, int height, float heightFraction, in WindowLayout() method in ActivityInfo.WindowLayout
2128 public WindowLayout(int width, float widthFraction, int height, float heightFraction, in WindowLayout() method in ActivityInfo.WindowLayout
2141 public WindowLayout(Parcel source) { in WindowLayout() method in ActivityInfo.WindowLayout
/aosp14/frameworks/base/core/java/android/view/
H A DWindowlessWindowLayout.java36 public class WindowlessWindowLayout extends WindowLayout {
H A DWindowLayout.java50 public class WindowLayout { class
51 private static final String TAG = WindowLayout.class.getSimpleName();
H A DInsetsState.java505 WindowLayout.MIN_X, WindowLayout.MIN_Y, WindowLayout.MAX_X, WindowLayout.MAX_Y); in getDisplayCutoutSafe()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DWindowLayoutTests.java24 import static android.view.WindowLayout.UNSPECIFIED_LENGTH;
71 private final WindowLayout mWindowLayout = new WindowLayout();
/aosp14/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
H A DEmbeddingTestUtils.java191 aInfo.windowLayout = new ActivityInfo.WindowLayout(0, 0, 0, 0, 0, in createActivityInfoWithMinDimensions()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
H A DPipBoundsAlgorithm.java153 final ActivityInfo.WindowLayout windowLayout = activityInfo.windowLayout; in getMinimalSize()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
H A DPipTaskOrganizerTest.java311 activityInfo.windowLayout = new ActivityInfo.WindowLayout( in createActivityInfo()
/aosp14/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
H A DSplitPresenter.java685 final ActivityInfo.WindowLayout windowLayout = activity.getActivityInfo().windowLayout; in getMinDimensions()
709 final ActivityInfo.WindowLayout windowLayout = activityInfo.windowLayout; in getMinDimensions()

12