/frameworks/base/services/core/java/com/android/server/wm/ |
D | LaunchParamsUtil.java | 208 @NonNull ActivityInfo.WindowLayout windowLayout, @NonNull Rect inOutBounds, in calculateLayoutBounds() argument 222 if (windowLayout.width > 0 && windowLayout.width < defaultWidth) { in calculateLayoutBounds() 223 width = windowLayout.width; in calculateLayoutBounds() 224 } else if (windowLayout.widthFraction > 0 && windowLayout.widthFraction < 1.0f) { in calculateLayoutBounds() 225 width = (int) (defaultWidth * windowLayout.widthFraction); in calculateLayoutBounds() 229 if (windowLayout.height > 0 && windowLayout.height < defaultHeight) { in calculateLayoutBounds() 230 height = windowLayout.height; in calculateLayoutBounds() 231 } else if (windowLayout.heightFraction > 0 && windowLayout.heightFraction < 1.0f) { in calculateLayoutBounds() 232 height = (int) (defaultHeight * windowLayout.heightFraction); in calculateLayoutBounds()
|
D | TaskLaunchParamsModifier.java | 631 @NonNull ActivityInfo.WindowLayout windowLayout, @NonNull Rect inOutBounds) { in getLayoutBounds() argument 632 final int verticalGravity = windowLayout.gravity & Gravity.VERTICAL_GRAVITY_MASK; in getLayoutBounds() 633 final int horizontalGravity = windowLayout.gravity & Gravity.HORIZONTAL_GRAVITY_MASK; in getLayoutBounds() 634 if (!windowLayout.hasSpecifiedSize() && verticalGravity == 0 && horizontalGravity == 0) { in getLayoutBounds() 644 if (windowLayout.hasSpecifiedSize()) { in getLayoutBounds() 645 LaunchParamsUtil.calculateLayoutBounds(stableBounds, windowLayout, inOutBounds, in getLayoutBounds() 648 getTaskBounds(root, displayArea, windowLayout, WINDOWING_MODE_FREEFORM, in getLayoutBounds()
|
D | ActivityRecord.java | 2256 if (info.windowLayout != null && info.windowLayout.windowLayoutAffinity != null in ActivityRecord() 2257 && !info.windowLayout.windowLayoutAffinity.startsWith(uid)) { in ActivityRecord() 2258 info.windowLayout.windowLayoutAffinity = in ActivityRecord() 2259 uid + ":" + info.windowLayout.windowLayoutAffinity; in ActivityRecord() 3390 final ActivityInfo.WindowLayout windowLayout = info.windowLayout; in supportsMultiWindowInDisplayArea() local 3391 return windowLayout == null in supportsMultiWindowInDisplayArea() 3392 || tda.supportsActivityMinWidthHeightMultiWindow(windowLayout.minWidth, in supportsMultiWindowInDisplayArea() 3393 windowLayout.minHeight, info); in supportsMultiWindowInDisplayArea() 11068 final ActivityInfo.WindowLayout windowLayout = info.windowLayout; 11069 if (windowLayout == null) { [all …]
|
D | LaunchParamsPersister.java | 304 ActivityInfo.WindowLayout layout = activity.info.windowLayout; in getLaunchParams()
|
D | Task.java | 1005 info.windowLayout == null ? null : info.windowLayout.windowLayoutAffinity; in setIntent() 1048 if (info != null && info.windowLayout != null) { in setMinDimensions() 1049 mMinWidth = info.windowLayout.minWidth; in setMinDimensions() 1050 mMinHeight = info.windowLayout.minHeight; in setMinDimensions() 6052 .layoutTask(task, info.windowLayout, activity, source, options)
|
D | ActivityStarter.java | 2004 mSupervisor.getLaunchParamsController().calculate(targetTask, r.info.windowLayout, r, in computeLaunchParams() 2474 mSupervisor.getLaunchParamsController().calculate(inTask, r.info.windowLayout, r, in setInitialState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | SystemUIBottomSheetDialog.kt | 55 private val windowLayout: WindowLayout, constant 89 windowLayout in onStart() 122 windowLayout: WindowLayout = defaultWindowLayout.get(), in create() 130 windowLayout = windowLayout, in create()
|
/frameworks/base/core/java/com/android/internal/pm/pkg/component/ |
D | ParsedActivityImpl.java | 95 private ActivityInfo.WindowLayout windowLayout; field in ParsedActivityImpl 126 this.windowLayout = other.windowLayout; in ParsedActivityImpl() 189 alias.windowLayout = target.getWindowLayout(); in makeAlias() 320 if (windowLayout != null) { in writeToParcel() 322 windowLayout.writeToParcel(dest); in writeToParcel() 360 windowLayout = new ActivityInfo.WindowLayout(in); in ParsedActivityImpl() 421 @Nullable ActivityInfo.WindowLayout windowLayout, in ParsedActivityImpl() 447 this.windowLayout = windowLayout; in ParsedActivityImpl() 566 return windowLayout; in getWindowLayout() 701 windowLayout = value; in setWindowLayout()
|
D | ParsedActivityUtils.java | 605 final ActivityInfo.WindowLayout windowLayout = new ActivityInfo.WindowLayout(width, in parseActivityWindowLayout() local 608 return input.success(windowLayout); in parseActivityWindowLayout()
|
/frameworks/base/media/java/android/media/ |
D | Cea708CaptionRenderer.java | 1345 final CCWindowLayout windowLayout = in setCaptionStyle() local 1347 windowLayout.setCaptionStyle(style); in setCaptionStyle() 1354 final CCWindowLayout windowLayout = in setFontScale() local 1356 windowLayout.setFontScale(fontScale); in setFontScale() 1481 CCWindowLayout windowLayout = mCaptionWindowLayouts[windowId]; in setCurrentWindowLayout() local 1482 if (windowLayout == null) { in setCurrentWindowLayout() 1488 mCurrentWindowLayout = windowLayout; in setCurrentWindowLayout() 1498 CCWindowLayout windowLayout = mCaptionWindowLayouts[i]; in getWindowsFromBitmap() local 1499 if (windowLayout != null) { in getWindowsFromBitmap() 1500 windows.add(windowLayout); in getWindowsFromBitmap() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | PipBoundsAlgorithm.java | 159 if (activityInfo == null || activityInfo.windowLayout == null) { in getMinimalSize() 162 final ActivityInfo.WindowLayout windowLayout = activityInfo.windowLayout; in getMinimalSize() local 165 if (windowLayout.minWidth > 0 && windowLayout.minHeight > 0) { in getMinimalSize() 169 Math.max(windowLayout.minWidth, getOverrideMinEdgeSize()), in getMinimalSize() 170 Math.max(windowLayout.minHeight, getOverrideMinEdgeSize())); in getMinimalSize()
|
/frameworks/base/core/java/android/content/pm/ |
D | ActivityInfo.java | 1725 public WindowLayout windowLayout; 1748 windowLayout = orig.windowLayout; 2089 if (windowLayout != null) { 2090 pw.println(prefix + "windowLayout=" + windowLayout.width + "|" 2091 + windowLayout.widthFraction + ", " + windowLayout.height + "|" 2092 + windowLayout.heightFraction + ", " + windowLayout.gravity); 2151 if (windowLayout != null) { 2153 windowLayout.writeToParcel(dest); 2279 windowLayout = new WindowLayout(source);
|
D | PackageParser.java | 4831 a.info.windowLayout = new ActivityInfo.WindowLayout(width, widthFraction, 4850 if (aInfo.windowLayout != null && aInfo.windowLayout.windowLayoutAffinity != null) { 4856 if (aInfo.windowLayout == null) { 4857 aInfo.windowLayout = new ActivityInfo.WindowLayout(-1 /* width */, 4861 aInfo.windowLayout.windowLayoutAffinity = windowLayoutAffinity; 4946 info.windowLayout = target.info.windowLayout;
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
D | SplitPresenter.java | 855 final ActivityInfo.WindowLayout windowLayout = activity.getActivityInfo().windowLayout; in getMinDimensions() local 856 if (windowLayout == null) { in getMinDimensions() 859 return new Size(windowLayout.minWidth, windowLayout.minHeight); in getMinDimensions() 879 final ActivityInfo.WindowLayout windowLayout = activityInfo.windowLayout; in getMinDimensions() local 880 if (windowLayout == null) { in getMinDimensions() 883 return new Size(windowLayout.minWidth, windowLayout.minHeight); in getMinDimensions()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityTaskManagerServiceTests.java | 555 final ActivityInfo.WindowLayout windowLayout = in testSupportsMultiWindow_activityMinWidthHeight_largerThanSupport() local 565 .setWindowLayout(windowLayout) in testSupportsMultiWindow_activityMinWidthHeight_largerThanSupport() 613 final ActivityInfo.WindowLayout windowLayout = in testSupportsMultiWindow_landscape_checkActivityMinWidth() local 619 .setWindowLayout(windowLayout) in testSupportsMultiWindow_landscape_checkActivityMinWidth() 648 final ActivityInfo.WindowLayout windowLayout = in testSupportsMultiWindow_portrait_checkActivityMinHeight() local 654 .setWindowLayout(windowLayout) in testSupportsMultiWindow_portrait_checkActivityMinHeight()
|
D | ActivityStarterTests.java | 454 final WindowLayout windowLayout = in testCreateTaskLayout() local 457 info.windowLayout = windowLayout; in testCreateTaskLayout() 476 verify(modifier, times(3)).onCalculate(any(), eq(windowLayout), any(), any(), eq(options), in testCreateTaskLayout() 1451 final WindowLayout windowLayout = new WindowLayout(0, 0, 0, 0, 0, in testCanEmbedActivity() local 1455 .setWindowLayout(windowLayout) in testCanEmbedActivity()
|
D | WindowTestsBase.java | 1392 ActivityBuilder setWindowLayout(ActivityInfo.WindowLayout windowLayout) { in setWindowLayout() argument 1393 mWindowLayout = windowLayout; in setWindowLayout() 1458 aInfo.windowLayout = mWindowLayout; in buildInner()
|
D | ContentRecorderTests.java | 355 info.windowLayout = new ActivityInfo.WindowLayout(-1 /* width */, in testOnTaskBoundsConfigurationChanged_notifiesCallback()
|
D | TaskFragmentOrganizerControllerTest.java | 1599 activity.info.windowLayout = new ActivityInfo.WindowLayout( in testMinDimensionViolation_ReparentActivityToTaskFragment() 1633 activity.info.windowLayout = new ActivityInfo.WindowLayout( in testMinDimensionViolation_setRelativeBounds()
|
D | TaskTests.java | 922 aInfo.windowLayout = new ActivityInfo.WindowLayout(0 /* width */, 0 /* widthFraction */, in testFullScreenTaskNotAdjustedByMinimalSize()
|
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/ |
D | EmbeddingTestUtils.java | 191 aInfo.windowLayout = new ActivityInfo.WindowLayout(0, 0, 0, 0, 0, in createActivityInfoWithMinDimensions()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/ |
D | PipTaskOrganizerTest.java | 314 activityInfo.windowLayout = new ActivityInfo.WindowLayout( in createActivityInfo()
|
/frameworks/base/core/java/com/android/internal/pm/parsing/ |
D | PackageInfoCommonUtils.java | 377 ai.windowLayout = a.getWindowLayout(); in generateActivityInfo()
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
D | PackageInfoUtils.java | 586 ai.windowLayout = a.getWindowLayout(); in generateActivityInfo()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 1236 WindowLayout windowLayout) { in ViewRootImpl() argument 1239 mWindowLayout = windowLayout; in ViewRootImpl()
|